mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-10-31 16:07:45 +03:00 
			
		
		
		
	Add prepare and prepublishOnly scripts
This commit is contained in:
		
							parent
							
								
									9f7f326b94
								
							
						
					
					
						commit
						c9b21a578b
					
				|  | @ -9,7 +9,8 @@ | ||||||
|     "build:umd:min": "webpack -p --progress --config webpack.config.umd.js", |     "build:umd:min": "webpack -p --progress --config webpack.config.umd.js", | ||||||
|     "clean": "rimraf ./build", |     "clean": "rimraf ./build", | ||||||
|     "build": "rimraf ./lib && babel ./src/app --out-dir lib", |     "build": "rimraf ./lib && babel ./src/app --out-dir lib", | ||||||
|     "prepublish": "eslint ./src/app && npm run test && npm run build && npm run build:umd && npm run build:umd:min", |     "prepare": "npm run build", | ||||||
|  |     "prepublishOnly": "eslint ./src/app && npm run test && npm run clean && npm run build && npm run build:umd && npm run build:umd:min", | ||||||
|     "lint": "eslint src", |     "lint": "eslint src", | ||||||
|     "lint:fix": "eslint src --fix", |     "lint:fix": "eslint src --fix", | ||||||
|     "test": "NODE_ENV=test jest --no-cache" |     "test": "NODE_ENV=test jest --no-cache" | ||||||
|  |  | ||||||
|  | @ -7,7 +7,8 @@ | ||||||
|     "clean": "rimraf lib", |     "clean": "rimraf lib", | ||||||
|     "build": "babel src --out-dir lib", |     "build": "babel src --out-dir lib", | ||||||
|     "lint": "eslint src examples", |     "lint": "eslint src examples", | ||||||
|     "prepublish": "npm run lint && npm run clean && npm run build" |     "prepare": "npm run build", | ||||||
|  |     "prepublishOnly": "npm run lint && npm run clean && npm run build" | ||||||
|   }, |   }, | ||||||
|   "repository": { |   "repository": { | ||||||
|     "url": "https://github.com/reduxjs/redux-devtools" |     "url": "https://github.com/reduxjs/redux-devtools" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user