File tree Expand file tree Collapse file tree
src/assets/css/code-copier Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ All the build files can be found in `/dist` folder.
2828 2 . Choose ` Load Temporary Add-on `
2929 3 . Select ` manifest.json ` inside ` /dist ` folder
3030
31-
3231### Pack Extension ###
3332* Chrome: Zip all content inside ` /dist ` folder after build, upload the zip file to webstore
3433* Firefox: TBC
3534
35+ ` npm run pack ` has been set to simplify the process.
36+
Original file line number Diff line number Diff line change 1818 "build:images" : " cpx './src/assets/images/**/*' ./dist/assets/images" ,
1919 "build:js" : " ./node_modules/.bin/gulp build-js" ,
2020 "build:css" : " node-sass ./src/assets/css --output ./dist/assets/css --quiet --include-path node_modules --output-style compressed" ,
21- "build" : " npm run clean && npm run build:js && npm run build:css && npm run build:files && npm run build:images"
21+ "build" : " npm run clean && npm run build:js && npm run build:css && npm run build:files && npm run build:images" ,
22+ "pack" : " npm run build && cd ./dist && zip -r -FS ../app/code-copier.zip *"
2223 },
2324 "devDependencies" : {
2425 "@babel/cli" : " ^7.6.4" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments