31e20c889e
* Install eslint-plugin-jsdoc * Initial rules setup * Update lists * Use @returns rather than @return * Remove error throwing code which is never executed * Fix issues relating to @throws * General error fixes * Update Display type documentation * Various doc fixes * Fix invalid tuple syntax * Doc updates * Remove unused * Doc updates * Enable jsdoc/require-returns * Update rules * Update remaining rules
55 lines
2.0 KiB
JSON
55 lines
2.0 KiB
JSON
{
|
|
"name": "yomichan",
|
|
"version": "0.0.0",
|
|
"description": "Japanese pop-up dictionary extension for Chrome and Firefox.",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "node ./dev/patch-dependencies.js",
|
|
"build": "node ./dev/build.js",
|
|
"test": "npm run test-lint && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-manifest && npm run test-build",
|
|
"test-lint": "npx eslint . && node ./dev/lint/global-declarations.js && node ./dev/lint/html-scripts.js",
|
|
"test-lint-css": "npx stylelint \"ext/**/*.css\" \"test/**/*.css\" \"dev/**/*.css\"",
|
|
"test-lint-html": "npx html-validate \"ext/**/*.html\" \"test/**/*.html\" \"dev/**/*.html\"",
|
|
"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-build": "node ./dev/build.js --dry-run --all"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/FooSoft/yomichan.git"
|
|
},
|
|
"license": "GPL-3.0-or-later",
|
|
"licenses": [
|
|
{
|
|
"type": "GPL-3.0-or-later",
|
|
"url": "https://www.gnu.org/licenses/gpl-3.0.html"
|
|
}
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/FooSoft/yomichan/issues"
|
|
},
|
|
"homepage": "https://foosoft.net/projects/yomichan/",
|
|
"webExt": {
|
|
"sourceDir": "ext"
|
|
},
|
|
"devDependencies": {
|
|
"ajv": "^8.11.0",
|
|
"browserify": "^17.0.0",
|
|
"css": "^3.0.0",
|
|
"eslint": "^8.15.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-jsdoc": "^39.2.9",
|
|
"eslint-plugin-no-unsanitized": "^4.0.1",
|
|
"fake-indexeddb": "^3.1.7",
|
|
"html-validate": "^7.1.0",
|
|
"jsdom": "^19.0.0",
|
|
"parse5": "^7.0.0",
|
|
"stylelint": "^14.8.2",
|
|
"stylelint-config-recommended": "^7.0.0",
|
|
"web-ext": "^6.8.0"
|
|
}
|
|
}
|