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 1
1
sudo : false
2
2
language : node_js
3
3
node_js :
4
- - " 4 "
4
+ - " 8 "
5
5
- " 6"
6
- - " 7 "
6
+ - " 4 "
7
7
script :
8
- - npm run lint
9
- - npm test
8
+ - yarn lint
9
+ - yarn test
Original file line number Diff line number Diff line change 8
8
"build:commonjs" : " babel src/ --out-dir lib/ --ignore __tests__,__mocks__" ,
9
9
"build:umd" : " webpack --config webpack.build.js" ,
10
10
"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" ,
13
13
"format" : " prettier --write --single-quote --print-width 100 --trailing-comma all \" src/**/*.js\" " ,
14
14
"lint" : " eslint src" ,
15
15
"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" ,
18
18
"test" : " jest" ,
19
19
"start" : " webpack-dev-server --inline --content-base examples/"
20
20
},
You can’t perform that action at this time.
0 commit comments