File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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" ,
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" ,
You can’t perform that action at this time.
0 commit comments