aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-12-18 20:51:22 -0500
committerGitHub <noreply@github.com>2020-12-18 20:51:22 -0500
commite54a2297e840a3b376818cd570d40fc8be87e527 (patch)
tree6e282f6e2b8dbca51ef72e9fe5ce3750dc68c95b /package.json
parent2fa9b915159d0bc43687e032d5f7f53197ef0611 (diff)
Build dry run test (#1129)
* Update testMain to support function args * Add support for dry run and basic validation * Don't log progress if not a TTY * Ignore errors from fs.unlinkSync * Add --dry-run-build-zip option to build zip in memory * Add test-build
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 0add0cc6..02320d0c 100644
--- a/package.json
+++ b/package.json
@@ -7,11 +7,12 @@
},
"scripts": {
"build": "node ./dev/build.js",
- "test": "npm run test-lint && npm run test-code && npm run test-manifest",
+ "test": "npm run test-lint && npm run test-code && npm run test-manifest && npm run test-build",
"test-lint": "eslint . && node ./dev/lint/global-declarations.js && node ./dev/lint/html-scripts.js",
"test-lint-web-ext": "npx web-ext lint",
"test-code": "node ./test/test-all.js ./test --skip ./test/test-manifest.js",
- "test-manifest": "node ./test/test-manifest.js"
+ "test-manifest": "node ./test/test-manifest.js",
+ "test-build": "node ./dev/build.js --dry-run --all"
},
"repository": {
"type": "git",