Skip to content

Commit

Permalink
chore: publish with np
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Aug 28, 2019
1 parent 0bec7e9 commit 2306f14
Show file tree
Hide file tree
Showing 2 changed files with 1,400 additions and 27 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"debug": "umi-tools test",
"lint": "eslint --ext .js src",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prepack": "npm run build"
"prepack": "npm run build",
"prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish"
},
"pre-commit": [
"lint"
Expand All @@ -35,7 +36,8 @@
"material-ui": "^0.15.4",
"pre-commit": "~1.1.2",
"react-toolbox": "^1.2.5",
"umi-tools": "^0.1.4"
"umi-tools": "^0.1.4",
"np": "^5.0.3"
},
"babel": {
"presets": [
Expand Down
Loading

0 comments on commit 2306f14

Please sign in to comment.