mirror of
				https://github.com/crypto-pro-web/crypto-pro-js.git
				synced 2025-10-31 06:13:22 +03:00 
			
		
		
		
	Привел npm скрипты к общепринятым конвенциям
This commit is contained in:
		
							parent
							
								
									759494898d
								
							
						
					
					
						commit
						f4ece3c0c9
					
				
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							| @ -20,13 +20,19 @@ | ||||
|     "build:definition-header:esm": "cross-env TS_CONFIG=tsconfig-esm.json node definition-header.js", | ||||
|     "build:esm": "npm run build:uncompressed:esm && npm run build:definition-header:esm", | ||||
|     "build": "npm run clean && npm run build:es5 && npm run build:esm", | ||||
|     "package:clean": "cross-env-shell rimraf $npm_package_name-$npm_package_version.tgz", | ||||
|     "package:uncompress": "cross-env-shell tar xopf $npm_package_name-$npm_package_version.tgz", | ||||
|     "package": "npm run build && npm pack && npm run package:uncompress && npm run package:clean", | ||||
|     "serve": "static -p 8080", | ||||
|     "pack:clean": "cross-env-shell rimraf $npm_package_name-$npm_package_version.tgz", | ||||
|     "pack:uncompress": "cross-env-shell tar xopf $npm_package_name-$npm_package_version.tgz", | ||||
|     "test": "jest --coverage && coveralls < coverage/lcov.info", | ||||
|     "lint": "eslint --config .eslintrc.js './src/**/*'", | ||||
|     "lint:fix": "eslint --fix --config .eslintrc.js './src/**/*'" | ||||
|     "lint:fix": "eslint --fix --config .eslintrc.js './src/**/*'", | ||||
|     "examples-update": "npm run examples-update:script-tag && npm run examples-update:angular && npm run examples-update:react", | ||||
|     "examples-update:script-tag": "npm --prefix ./examples/script-tag r crypto-pro && npm --prefix ./examples/script-tag i crypto-pro", | ||||
|     "examples-update:angular": "npm --prefix ./examples/angular r crypto-pro && npm --prefix ./examples/angular i crypto-pro", | ||||
|     "examples-update:react": "npm --prefix ./examples/react r crypto-pro && npm --prefix ./examples/react i crypto-pro", | ||||
|     "prepack": "npm run build", | ||||
|     "postpack": "npm run pack:uncompress && npm run pack:clean", | ||||
|     "prepublishOnly": "npm run lint && jest && npm run build", | ||||
|     "postpublish": "npm run examples-update" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 vgoma
						vgoma