Skip to content

Commit 226ba8c

Browse files
committed
build: use prepublish instead of prepack
1 parent bbcde76 commit 226ba8c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ before_script:
1414
- export PATH=$PATH:$PWD/wrk/bin/
1515
script:
1616
- npm run lint
17-
- npm run prepack
1817
- npm run test-cov
1918
- npm run bench
2019
after_script:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"bench": "make -C benchmarks",
1818
"authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS",
1919
"build": "gen-esm-wrapper . ./dist/koa.mjs",
20-
"prepack": "npm run build"
20+
"prepublish": "npm run build"
2121
},
2222
"repository": "koajs/koa",
2323
"keywords": [

0 commit comments

Comments
 (0)