Skip to content

Commit

Permalink
chore: add publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed May 31, 2019
1 parent 0cff58b commit 5311b14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"build": "umi-tools build",
"test": "umi-test --coverage",
"debug": "umi-test",
"coveralls": "cat ./coverage/lcov.info | coveralls"
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish"
},
"dependencies": {
"@babel/core": "7.2.2",
Expand Down Expand Up @@ -63,6 +64,7 @@
},
"devDependencies": {
"coveralls": "^3.0.3",
"np": "^5.0.2",
"puppeteer": "^1.17.0",
"test-build-result": "^1.1.2",
"umi-test": "^1.5.8",
Expand Down

0 comments on commit 5311b14

Please sign in to comment.