aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-26 13:44:47 -0400
committerGitHub <noreply@github.com>2020-09-26 13:44:47 -0400
commitd27349207dc493e6d1e035c2c5606943c990f02f (patch)
tree6ec61f95ddd44271f1f33a96b0398a450d1c79b6 /package.json
parent5df78c6f3a71fe805af6a6d9b3c1705c0ec04815 (diff)
Add web-ext dev dependency (#861)
* Add web-ext dependency * Specify extension directory * Add command for testing web-ext lint
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/package.json b/package.json
index 1b3fb5ad..3b97e44e 100644
--- a/package.json
+++ b/package.json
@@ -9,6 +9,7 @@
"build": "node ./dev/build.js",
"test": "npm run test-lint && npm run test-code && npm run test-manifest",
"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"
},
@@ -28,10 +29,14 @@
"url": "https://github.com/FooSoft/yomichan/issues"
},
"homepage": "https://foosoft.net/projects/yomichan/",
+ "webExt": {
+ "sourceDir": "ext"
+ },
"devDependencies": {
"eslint": "^7.5.0",
"eslint-plugin-no-unsanitized": "^3.1.2",
"fake-indexeddb": "^3.1.1",
- "jsdom": "^16.2.2"
+ "jsdom": "^16.2.2",
+ "web-ext": "^5.1.0"
}
}