File tree Expand file tree Collapse file tree 3 files changed +368
-4
lines changed Expand file tree Collapse file tree 3 files changed +368
-4
lines changed Original file line number Diff line number Diff line change 2424
25251 . ` npm install `
26262 . ` npm run dev ` (dev) or ` npm run build ` (build)
27-
27+ 3 . pack chrome extension zip: ` npm run pack `
Original file line number Diff line number Diff line change 33 "start" : " npm run dev" ,
44 "precommit" : " lint-staged" ,
55 "dev" : " MODE=development webpack -w --mode=development" ,
6- "build" : " MODE=production webpack --mode=production" ,
7- "lint" : " eslint src --ext=js,jsx"
6+ "build" : " npm run clean && MODE=production webpack --mode=production" ,
7+ "lint" : " eslint src --ext=js,jsx" ,
8+ "clean" : " rimraf react-chrome-boilerplate.zip" ,
9+ "pack" : " cd chrome && bestzip ../react-chrome-boilerplate.zip *"
810 },
911 "lint-staged" : {
1012 "src/**/*.{js,jsx}" : " eslint"
1921 "babel-preset-react" : " ^6.24.1" ,
2022 "babel-preset-stage-0" : " ^6.24.1" ,
2123 "babel-runtime" : " ^6.26.0" ,
24+ "bestzip" : " ^2.2.0" ,
2225 "css-loader" : " ^1.0.0" ,
2326 "eslint" : " ^5.1.0" ,
2427 "eslint-config-airbnb" : " ^17.0.0" ,
2730 "eslint-plugin-react" : " ^7.10.0" ,
2831 "husky" : " ^0.14.3" ,
2932 "lint-staged" : " ^7.2.0" ,
33+ "rimraf" : " ^3.0.2" ,
3034 "style-loader" : " ^0.21.0" ,
3135 "webpack" : " ^4.15.1" ,
3236 "webpack-cli" : " ^3.0.8"
You can’t perform that action at this time.
0 commit comments