Add web-ext dev dependency (#861)

* Add web-ext dependency

* Specify extension directory

* Add command for testing web-ext lint
This commit is contained in:
toasted-nutbread 2020-09-26 13:44:47 -04:00 committed by GitHub
parent 5df78c6f3a
commit d27349207d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5262 additions and 1 deletions

5256
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}