Skip to content

Commit

Permalink
chore: use np for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed May 22, 2019
1 parent 26a8af3 commit 4059b69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dist
coverage
.nyc_output
npm-debug.log
/yarn.lock
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "NODE_ENV=test nyc mocha --no-timeouts",
"debug": "mocha --require babel-register --no-timeouts",
"lint": "eslint --ext .js src",
"prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
"nyc": {
Expand Down Expand Up @@ -44,6 +45,7 @@
"eslint-config-airbnb": "^6.2.0",
"expect": "^1.20.2",
"mocha": "^2.5.3",
"np": "^5.0.2",
"nyc": "^8.3.1",
"pre-commit": "~1.1.2"
},
Expand Down

0 comments on commit 4059b69

Please sign in to comment.