Skip to content

Commit

Permalink
build: use prepublish instead of prepack
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Jun 21, 2020
1 parent bbcde76 commit 226ba8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -14,7 +14,6 @@ before_script:
- export PATH=$PATH:$PWD/wrk/bin/
script:
- npm run lint
- npm run prepack
- npm run test-cov
- npm run bench
after_script:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -17,7 +17,7 @@
"bench": "make -C benchmarks",
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
"build": "gen-esm-wrapper . ./dist/koa.mjs",
"prepack": "npm run build"
"prepublish": "npm run build"
},
"repository": "koajs/koa",
"keywords": [
Expand Down

0 comments on commit 226ba8c

Please sign in to comment.