summaryrefslogtreecommitdiff
path: root/package.json
blob: 0d9796bb36d1abab2be53bab7356f407fc26f04a (plain)
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
{
    "name": "yomitan",
    "version": "0.0.0",
    "description": "Japanese pop-up dictionary extension for Chrome and Firefox.",
    "directories": {
        "test": "test"
    },
    "type": "module",
    "scripts": {
        "build": "node ./dev/bin/build.js",
        "build-libs": "node ./dev/bin/build-libs.js",
        "test": "npm run test-lint && npm run test-ts && npm run test-ts-dev && npm run test-ts-test && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-manifest && 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": "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-build": "node ./dev/bin/build.js --dry-run --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.4.1",
        "@types/assert": "^1.5.10",
        "@types/browserify": "^12.0.40",
        "@types/chrome": "^0.0.253",
        "@types/css": "^0.0.37",
        "@types/events": "^3.0.3",
        "@types/firefox-webext-browser": "^120.0.0",
        "@types/handlebars": "^4.1.0",
        "@types/jsdom": "^21.1.6",
        "@types/node": "^20.10.0",
        "@types/wanakana": "^4.0.6",
        "@types/zip.js": "^2.0.32",
        "@typescript-eslint/eslint-plugin": "^6.12.0",
        "@typescript-eslint/parser": "^6.12.0",
        "@vitest/coverage-v8": "^0.34.6",
        "ajv": "^8.12.0",
        "css": "^3.0.0",
        "dotenv": "^16.3.1",
        "esbuild": "^0.19.5",
        "eslint": "^8.54.0",
        "eslint-plugin-header": "^3.1.1",
        "eslint-plugin-jsdoc": "^46.9.0",
        "eslint-plugin-jsonc": "^2.10.0",
        "eslint-plugin-no-unsanitized": "^4.0.2",
        "eslint-plugin-unused-imports": "^3.0.0",
        "eslint-plugin-vitest": "^0.3.9",
        "fake-indexeddb": "^5.0.1",
        "html-validate": "^8.7.0",
        "jsdom": "^22.1.0",
        "jszip": "^3.10.1",
        "license-report": "^6.5.0",
        "stylelint": "^15.11.0",
        "stylelint-config-recommended": "^13.0.0",
        "typescript": "5.2.2",
        "vitest": "^0.34.6"
    },
    "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"
    }
}