1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
{
"name": "yomitan",
"version": "0.0.0",
"description": "Japanese pop-up dictionary extension for Chrome and Firefox.",
"directories": {
"test": "test"
},
"engines": {
"node": ">=20.0.0"
},
"type": "module",
"scripts": {
"build": "node ./dev/bin/build.js",
"build-libs": "node ./dev/bin/build-libs.js",
"test": "npm run test-lint-js && npm run test-ts && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-build",
"test-lint-js": "npx eslint .",
"test-lint-css": "npx stylelint \"ext/**/*.css\" \"test/**/*.css\" \"dev/**/*.css\"",
"test-lint-html": "npx html-validate \"ext/**/*.html\" \"test/**/*.html\" \"dev/**/*.html\"",
"test-ts": "npm run test-ts-main && npm run test-ts-dev && npm run test-ts-test",
"test-ts-main": "npx tsc --noEmit --project jsconfig.json",
"test-ts-dev": "npx tsc --noEmit --project dev/jsconfig.json",
"test-ts-test": "npx tsc --noEmit --project test/jsconfig.json",
"test-code": "vitest run",
"test-code-write": "vitest run --config test/data/vitest.write.config.json",
"test-build": "node ./dev/bin/build.js --dryRun --all",
"license-report": "license-report --output=html --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link --html.cssFile=dev/data/legal-npm.css > ext/legal-npm.html",
"license-report-markdown": "license-report --output=markdown --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link"
},
"repository": {
"type": "git",
"url": "git+https://github.com/themoeway/yomitan.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/themoeway/yomitan/issues"
},
"homepage": "https://github.com/themoeway/yomitan/",
"webExt": {
"sourceDir": "ext"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@stylistic/eslint-plugin-ts": "^1.5.1",
"@stylistic/stylelint-plugin": "^2.0.0",
"@types/assert": "^1.5.10",
"@types/browserify": "^12.0.40",
"@types/chrome": "^0.0.254",
"@types/css": "^0.0.37",
"@types/events": "^3.0.3",
"@types/firefox-webext-browser": "^120.0.0",
"@types/jsdom": "^21.1.6",
"@types/node": "^20.10.6",
"@types/wanakana": "^4.0.6",
"@types/zip.js": "^2.0.32",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@vitest/coverage-v8": "^1.1.1",
"ajv": "^8.12.0",
"css": "^3.0.0",
"dotenv": "^16.3.1",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-jsdoc": "^47.0.1",
"eslint-plugin-jsonc": "^2.11.2",
"eslint-plugin-no-unsanitized": "^4.0.2",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-vitest": "^0.3.20",
"fake-indexeddb": "^5.0.2",
"html-validate": "^8.8.0",
"jsdom": "^23.0.1",
"jszip": "^3.10.1",
"license-report": "^6.5.0",
"stylelint": "^16.1.0",
"stylelint-config-recommended": "^14.0.0",
"ts-json-schema-generator": "^1.5.0",
"typescript": "5.3.3",
"vitest": "^1.1.1"
},
"dependencies": {
"@zip.js/zip.js": "^2.7.31",
"dexie": "^3.2.4",
"dexie-export-import": "^4.0.7",
"handlebars": "^4.7.8",
"parse5": "^7.1.2",
"wanakana": "^5.3.1"
}
}
|