mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-02-07 15:10: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",
|
||||
"clean": "rimraf ./build",
|
||||
"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:fix": "eslint src --fix",
|
||||
"test": "NODE_ENV=test jest --no-cache"
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
"clean": "rimraf lib",
|
||||
"build": "babel src --out-dir lib",
|
||||
"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": {
|
||||
"url": "https://github.com/reduxjs/redux-devtools"
|
||||
|
|
Loading…
Reference in New Issue
Block a user