Skip to content

Commit

Permalink
doc: add explanations for each command
Browse files Browse the repository at this point in the history
  • Loading branch information
borsini committed Aug 6, 2023
1 parent 40b60e8 commit ef261b1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
"move_static": "cp -R static/ build/",
"test": "mocha -r ts-node/register test/**/*.spec.ts"
},
"scriptsComments": {
"archive": "Runs [test], [clean_build], [build], [move_static] and finally [zip_build]",
"zip_build": "Package all files in the build/ folder to a single zip file. Uses to publish the extension on the Chrome Web Store https://chrome.google.com/webstore/detail/otto-tabs/pjgajilkdijnbfmglfbpnenocpajmdlb",
"build": "Compile all typescript files according to the tsconfig.json configuration file",
"clean_build": "Remove all files in the build/ folder",
"move_static": "Copy all static files from static/ to build/ folder",
"test": "Runs all tests located in the test/ folder"
},
"devDependencies": {
"@types/chai": "^4.1.6",
"@types/chai-spies": "^1.0.0",
Expand Down

0 comments on commit ef261b1

Please sign in to comment.