File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11sudo : false
22language : node_js
33node_js :
4- - " 4 "
4+ - " 8 "
55 - " 6"
6- - " 7 "
6+ - " 4 "
77script :
8- - npm run lint
9- - npm test
8+ - yarn lint
9+ - yarn test
Original file line number Diff line number Diff line change 88 "build:commonjs" : " babel src/ --out-dir lib/ --ignore __tests__,__mocks__" ,
99 "build:umd" : " webpack --config webpack.build.js" ,
1010 "build:umd:min" : " cross-env MINIFY=1 webpack --config webpack.build.js" ,
11- "build" : " npm run clean && npm run build:commonjs" ,
12- "bundle" : " mkdir -p dist && npm run build:umd && npm run build:umd:min" ,
11+ "build" : " yarn run clean && yarn run build:commonjs" ,
12+ "bundle" : " mkdir -p dist && yarn run build:umd && yarn run build:umd:min" ,
1313 "format" : " prettier --write --single-quote --print-width 100 --trailing-comma all \" src/**/*.js\" " ,
1414 "lint" : " eslint src" ,
1515 "precommit" : " lint-staged" ,
16- "preversion" : " npm run lint && npm test && npm run build && npm run bundle && git add dist/ && git diff --quiet --exit-code --cached || git commit -n -m 'publish: Distribution'" ,
17- "prepublish" : " npm run build" ,
16+ "preversion" : " yarn run lint && yarn test && yarn run build && yarn run bundle && git add dist/ && git diff --quiet --exit-code --cached || git commit -n -m 'publish: Distribution'" ,
17+ "prepublish" : " yarn run build" ,
1818 "test" : " jest" ,
1919 "start" : " webpack-dev-server --inline --content-base examples/"
2020 },
You can’t perform that action at this time.
0 commit comments