Skip to content

Commit

Permalink
Replace postinstall-build with prepare hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ristomatti committed Jul 13, 2019
1 parent 7c63c5a commit 56c780b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
},
"dependencies": {
"eventemitter3": "^2.0.3",
"lodash": "^4.17.11",
"postinstall-build": "^5.0.1"
"lodash": "^4.17.11"
},
"devDependencies": {
"babel-cli": "^6.26.0",
Expand Down Expand Up @@ -50,12 +49,11 @@
"url": "git+https://github.com/node-lifx/lifx-lan-client.git"
},
"scripts": {
"prepare": "npm run build",
"prebuild": "npm run clean && mkdirp lib/lifx && cp src/lifx/products.json lib/lifx",
"build": "npm run prebuild && babel src --out-dir lib",
"build:watch": "npm run build -- --watch",
"clean": "rimraf lib",
"prepublishOnly": "npm run build",
"postinstall": "postinstall-build lib",
"lint": "eslint src/ test/ example/ cli.js",
"lint:fix": "npm run lint -- --fix",
"pretest": "npm run lint && npm run build",
Expand Down

0 comments on commit 56c780b

Please sign in to comment.