-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
145 lines (145 loc) · 4.96 KB
/
package.json
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "10ten-ja-reader",
"version": "1.22.0",
"description": "Translate Japanese by hovering over words.",
"keywords": [
"rikaichamp",
"rikaichan",
"rikaikun",
"japanese",
"dictionary",
"translation"
],
"homepage": "https://github.com/birchill/10ten-ja-reader#readme",
"bugs": {
"url": "https://github.com/birchill/10ten-ja-reader/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/birchill/10ten-ja-reader.git"
},
"license": "GPL-3.0-or-later",
"author": "Birchill, Inc.",
"type": "module",
"scripts": {
"build:chrome": "rspack --env target=chrome",
"build:chrome-electron": "rspack --env target=chrome-electron",
"build:edge": "rspack --env target=edge",
"build:firefox": "rspack",
"build:safari": "rspack --env target=safari",
"build:thunderbird": "rspack --env target=thunderbird",
"check-keys": "tsx scripts/check-keys",
"cosmos": "node --import=./cosmos-import.js node_modules/react-cosmos/bin/cosmos.js",
"cosmos-export": "node --import=./cosmos-import.js node_modules/react-cosmos/bin/cosmos-export.js",
"postinstall": "if-env RELEASE_BUILD=1 || husky",
"lint": "web-ext lint && eslint src/",
"package": "rspack --env package",
"package:chrome": "rspack --env target=chrome --env package",
"package:chrome-electron": "rspack --env target=chrome-electron --env package",
"package:edge": "rspack --env target=edge --env package",
"package:firefox": "rspack --env package",
"package:thunderbird": "rspack --env target=thunderbird --env package",
"release": "release-it --verbose",
"sort-i18n-keys": "tsx scripts/sort-keys",
"start:chrome": "rspack -w --env target=chrome",
"start:edge": "rspack -w --env target=chrome --env chromium=edge",
"start:firefox": "rspack -w",
"sync-manifest-version": "tsx scripts/sync-manifest-version",
"test": "pnpm test:unit && pnpm test:firefox && pnpm test:chromium",
"test:chromium": "playwright-test \"tests/**/*.test.ts\"",
"test:firefox": "playwright-test \"tests/**/*.test.ts\" --browser firefox",
"test:unit": "vitest run",
"update-snapshot": "tsx scripts/update-snapshot",
"version": "pnpm sync-manifest-version && git add manifest.json.src && tsx scripts/sync-xcode && git add xcode13/\"10ten Japanese Reader\".xcodeproj/project.pbxproj",
"zip-src": "tsx scripts/zip-src"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"_locales/**/messages.json": [
"pnpm sort-i18n-keys"
]
},
"dependencies": {
"@birchill/bugsnag-zero": "0.7.0",
"@birchill/discriminator": "0.3.1",
"@birchill/jpdict-idb": "2.6.1",
"@birchill/normal-jp": "1.5.2",
"classname-variants": "1.5.0",
"husky": "9.1.7",
"lint-staged": "15.2.11",
"lru_map": "0.4.1",
"preact": "10.25.3",
"superstruct": "2.0.2",
"typescript": "5.7.2",
"web-ext": "8.3.0",
"webextension-polyfill": "0.12.0"
},
"devDependencies": {
"@actions/core": "1.11.1",
"@actions/github": "6.0.0",
"@eslint/js": "9.17.0",
"@release-it/keep-a-changelog": "5.0.0",
"@rspack/cli": "1.1.8",
"@rspack/core": "1.1.8",
"@tailwindcss/typography": "0.5.15",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/archiver": "6.0.3",
"@types/chai": "5.0.1",
"@types/eslint__js": "8.42.3",
"@types/mocha": "10.0.10",
"@types/webextension-polyfill": "0.12.1",
"@types/yargs": "17.0.33",
"@typescript-eslint/parser": "8.18.2",
"@vitest/eslint-plugin": "1.1.20",
"archiver": "7.0.1",
"chai": "5.1.2",
"css-loader": "7.1.2",
"eslint": "9.17.0",
"eslint-plugin-react": "7.37.3",
"eslint-plugin-tailwindcss": "3.17.5",
"fake-indexeddb": "6.0.0",
"fast-glob": "3.3.2",
"fetch-mock": "12.2.0",
"file-loader": "6.2.0",
"fork-ts-checker-webpack-plugin": "9.0.2",
"globals": "15.14.0",
"if-env": "1.0.4",
"jsdom": "^25.0.1",
"knip": "5.41.1",
"mocha": "11.0.1",
"playwright": "1.49.1",
"playwright-test": "14.1.7",
"postcss": "8.4.49",
"postcss-import": "16.1.0",
"postcss-loader": "8.1.1",
"prettier": "3.4.2",
"prettier-plugin-organize-attributes": "1.0.0",
"prettier-plugin-packagejson": "2.5.6",
"prettier-plugin-tailwindcss": "0.6.9",
"react-cosmos": "6.2.3",
"react-cosmos-plugin-boolean-input": "6.2.3",
"react-cosmos-plugin-rspack": "1.0.0",
"release-it": "17.11.0",
"semver-parser": "4.1.7",
"source-map-loader": "5.0.0",
"tailwindcss": "3.4.17",
"terser-webpack-plugin": "5.3.11",
"tsx": "4.19.2",
"typescript-eslint": "8.18.2",
"vitest": "2.1.8",
"vitest-github-actions-reporter": "^0.11.1",
"web-ext-plugin": "2.11.0",
"webpack": "5.97.1",
"webpack-bugsnag-plugins": "1.8.0",
"webpack-preprocessor": "0.1.12",
"webpack-utf8-bom": "1.4.0",
"xmlbuilder2": "3.1.1",
"yargs": "17.7.2"
},
"webExt": {
"sourceDir": "dist-firefox"
}
}