File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1818 ],
1919 "main" : " index.js" ,
2020 "scripts" : {
21- "build" : " webpack -p; babel src --out-dir dist -s; cp ./types/* README.md LICENSE package.json dist; cd dist && npm install --only=production && cd -" ,
22- "pub" : " npm run build && npm publish dist"
21+ "clean" : " rm -rf ./dist" ,
22+ "build" : " webpack -p && babel src --out-dir dist -s && cp ./types/* README.md LICENSE package.json dist && cd dist && npm install --only=production && cd -" ,
23+ "pub" : " npm run clean && npm run build && npm publish dist"
2324 },
2425 "author" : " Google" ,
2526 "repository" : {
Original file line number Diff line number Diff line change 11{
22 "scripts" : {
3- "build" : " npm run createfirebaseconf; NODE_ENV=production webpack -p;" ,
3+ "clean" : " rm -rf ./public/bundle.* ./src/firebase-config.json ./node_modules" ,
4+ "build" : " npm run clean && npm run createfirebaseconf; NODE_ENV=production webpack -p;" ,
45 "createfirebaseconf" : " firebase setup:web --json > ./src/firebase-config.json" ,
56 "serve" : " firebase serve"
67 },
You can’t perform that action at this time.
0 commit comments