diff options
author | Ajay Ramachandran <[email protected]> | 2020-02-03 23:10:04 -0500 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2020-02-03 23:10:04 -0500 |
commit | e3be54cbe73c3e7836828c95a2a240807c1ea30a (patch) | |
tree | e8688ff8ed81768f1523bd3abe1bc85ab3aced18 /package.json | |
parent | b0a23a5c4e8660b619d2d433e0e9fe17ba53b98a (diff) | |
download | SponsorBlock-e3be54cbe73c3e7836828c95a2a240807c1ea30a.tar.gz SponsorBlock-e3be54cbe73c3e7836828c95a2a240807c1ea30a.zip |
Updated build commands
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/package.json b/package.json index 5780b5b2..3d7bb426 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,9 @@ "version": "1.0.0", "description": "", "main": "background.js", - "dependencies": {}, + "dependencies": { + "concurrently": "^5.1.0" + }, "devDependencies": { "web-ext": "^4.0.0", "@types/chrome": "0.0.91", @@ -21,8 +23,12 @@ "webpack-merge": "~4.2.2" }, "scripts": { - "dev": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm", - "watch": "webpack --config webpack/webpack.dev.js --watch", + "web-run": "npm run web-run:chrome", + "web-run:firefox": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm", + "web-run:chrome": "cd dist && web-ext run --start-url https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm -t chromium", + "build:watch": "webpack --config webpack/webpack.dev.js --watch", + "dev": "concurrently \"npm run web-run\" \"npm run build:watch\"", + "dev:firefox": "concurrently \"npm run web-run:firefox\" \"npm run build:watch\"", "build": "webpack --config webpack/webpack.prod.js", "clean": "rimraf dist", "test": "npx jest" |