Skip to content

Commit

Permalink
Adjust build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
icelam committed Oct 31, 2019
1 parent de892aa commit f78212b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DEVELOPMENT_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ All the build files can be found in `/dist` folder.
2. Choose `Load Temporary Add-on`
3. Select `manifest.json` inside `/dist` folder


### Pack Extension ###
* Chrome: Zip all content inside `/dist` folder after build, upload the zip file to webstore
* Firefox: TBC

`npm run pack` has been set to simplify the process.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"build:images": "cpx './src/assets/images/**/*' ./dist/assets/images",
"build:js": "./node_modules/.bin/gulp build-js",
"build:css": "node-sass ./src/assets/css --output ./dist/assets/css --quiet --include-path node_modules --output-style compressed",
"build": "npm run clean && npm run build:js && npm run build:css && npm run build:files && npm run build:images"
"build": "npm run clean && npm run build:js && npm run build:css && npm run build:files && npm run build:images",
"pack": "npm run build && cd ./dist && zip -r -FS ../app/code-copier.zip *"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
Expand Down
File renamed without changes.

0 comments on commit f78212b

Please sign in to comment.