Skip to content

Commit

Permalink
add extral dev command so that it can watch the changes and build aut…
Browse files Browse the repository at this point in the history
…omatically
  • Loading branch information
hankxdev committed May 5, 2024
1 parent 7c7cc2e commit e20d49e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"stage": "mkdir dist || echo Dist already exists.",
"bundle": "esbuild src/gmailJsLoader.js src/extension.js --outdir=dist/ --bundle --sourcemap --target=es6",
"devbuild": "cp ../gmail.js/src/gmail.js node_modules/gmail-js/src/ && npm run build",
"build": "npm run stage && npm run bundle"
"build": "npm run stage && npm run bundle",
"dev": "npm run bundle -- --watch"
},
"author": "Jostein kjønigsen",
"license": "ISC",
Expand Down

0 comments on commit e20d49e

Please sign in to comment.