Skip to content

Commit 9562b27

Browse files
committed
Script change
1 parent 04f1146 commit 9562b27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"scripts": {
2323
"clean": "rimraf coverage && rimraf dist",
24-
"build": "husky && chmod +x .husky/pre-commit && npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall",
24+
"build": "npm run clean && npm run build:es5 && npm run build:es-modules && npm run buildall",
2525
"build:es5": "BABEL_ENV=es5 babel lib -d dist/es5",
2626
"build:es-modules": "BABEL_ENV=es-modules babel lib -d dist/es-modules",
2727
"buildall": "npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript",
@@ -39,7 +39,7 @@
3939
"test:debug": "BABEL_ENV=test mocha debug --require @babel/register ./test",
4040
"lint": "eslint lib test",
4141
"format": "eslint --fix lib test",
42-
"prepare": "npm run build",
42+
"prepare": "npm run build && husky && chmod +x .husky/pre-commit",
4343
"pretest": "rimraf coverage && npm run lint",
4444
"precommit": "npm run lint",
4545
"prepush": "npm run test:unit",

0 commit comments

Comments
 (0)