Skip to content

Commit a2b032c

Browse files
author
David Frank
committed
switch from prepublish to prepare in package.json, also ignore npm 5 lock file
1 parent 0674a0b commit a2b032c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ node_modules
3333

3434
# Babel-compiled files
3535
lib
36+
37+
# Ignore package manager lock files
38+
package-lock.json
39+
yarn.lock

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"scripts": {
1616
"build": "cross-env BABEL_ENV=rollup rollup -c",
17-
"prepublish": "npm run build",
17+
"prepare": "npm run build",
1818
"test": "cross-env BABEL_ENV=test mocha --compilers js:babel-register test/test.js",
1919
"report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/test.js",
2020
"coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/test.js && codecov -f coverage/coverage-final.json"

0 commit comments

Comments
 (0)