-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
122 lines (122 loc) · 3.27 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
{
"name": "rikaichamp",
"version": "0.3.4",
"description": "Translate Japanese by hovering over words.",
"scripts": {
"build": "webpack",
"build:chrome": "webpack --env target=chrome",
"check-keys": "ts-node utils/check-keys",
"lint": "web-ext lint",
"package": "yarn build && web-ext build --overwrite-dest -a dist-firefox-package",
"package:chrome": "yarn build:chrome && web-ext build --overwrite-dest -s dist-chrome -a dist-chrome-package",
"postinstall": "husky install",
"test": "yarn lint && yarn test:unit && yarn test:browser",
"test:unit": "jest",
"test:browser": "karma start --single-run",
"sort-i18n-keys": "ts-node utils/sort-keys",
"start": "webpack -w",
"start:chrome": "webpack -w --env target=chrome",
"update-db": "node utils/update-db",
"update-snapshot": "ts-node utils/update-snapshot",
"version": "node utils/sync-manifest-version && git add manifest.json.src",
"zip-src": "node utils/zip-src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/birtles/rikaichamp.git"
},
"keywords": [
"rikaichan",
"rikaikun",
"japanese",
"dictionary",
"translation"
],
"author": "Brian Birtles",
"bugs": {
"url": "https://github.com/birtles/rikaichamp/issues"
},
"homepage": "https://github.com/birtles/rikaichamp#readme",
"devDependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@types/chai": "^4.2.15",
"@types/jest": "^26.0.20",
"@types/karma": "^6.1.0",
"@types/karma-webpack": "^2.0.8",
"@types/mocha": "^8.2.1",
"@types/split2": "^2.1.6",
"@types/yargs": "^16.0.0",
"archiver": "^5.2.0",
"byline": "^5.0.0",
"chai": "^4.3.0",
"combined-stream2": "^1.1.2",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^5.0.2",
"fast-glob": "^3.2.5",
"file-loader": "^6.2.0",
"iconv-lite": "^0.6.2",
"jest": "^25.5.4",
"karma": "^6.1.1",
"karma-chai": "^0.1.0",
"karma-firefox-launcher": "^2.1.0",
"karma-mocha": "^2.0.1",
"karma-webpack": "^5.0.0",
"mocha": "^8.3.0",
"prettier": "^2.2.1",
"semver-parser": "^3.1.0",
"source-map-loader": "^2.0.1",
"split2": "^3.2.2",
"ts-jest": "^25.5.1",
"ts-loader": "^8.0.17",
"ts-node": "^9.1.1",
"web-ext-plugin": "^1.0.0",
"web-ext-types": "github:michael-zapata/web-ext-types",
"webpack": "^5.23.0",
"webpack-bugsnag-plugins": "^1.6.0",
"webpack-cli": "^4.5.0",
"webpack-preprocessor": "^0.1.12",
"yargs": "^16.2.0"
},
"dependencies": {
"@birchill/hikibiki-data": "^7.0.3",
"@birchill/normal-jp": "^1.2.1",
"@bugsnag/js": "^7.8.0",
"husky": "^5.1.3",
"lint-staged": "^10.5.4",
"typescript": "^4.1.5",
"web-ext": "^5.5.0"
},
"webExt": {
"sourceDir": "dist-firefox"
},
"jest": {
"roots": [
"src"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": ".test.ts$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json",
"jsx"
]
},
"lint-staged": {
"*.ts": [
"prettier --write"
],
"_locales/**/messages.json": [
"yarn sort-i18n-keys"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true
}
}