File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
},
22
22
"scripts" : {
23
23
"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" ,
25
25
"build:es5" : " BABEL_ENV=es5 babel lib -d dist/es5" ,
26
26
"build:es-modules" : " BABEL_ENV=es-modules babel lib -d dist/es-modules" ,
27
27
"buildall" : " npm run buildnode && npm run buildweb && npm run buildreactnative && npm run buildnativescript" ,
39
39
"test:debug" : " BABEL_ENV=test mocha debug --require @babel/register ./test" ,
40
40
"lint" : " eslint lib test" ,
41
41
"format" : " eslint --fix lib test" ,
42
- "prepare" : " npm run build" ,
42
+ "prepare" : " npm run build && husky && chmod +x .husky/pre-commit " ,
43
43
"pretest" : " rimraf coverage && npm run lint" ,
44
44
"precommit" : " npm run lint" ,
45
45
"prepush" : " npm run test:unit" ,
You can’t perform that action at this time.
0 commit comments