-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
70 lines (70 loc) · 2.35 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
{
"name": "tongwentang-extension",
"version": "2.2.0",
"description": "",
"keywords": [],
"author": "t7yang",
"license": "MIT",
"scripts": {
"dev:firefox": "webpack --mode=development --env vendor=firefox",
"dev:chromium": "webpack --mode=development --env vendor=chromium",
"we:firefox": "web-ext run --config=web-ext-config-firefox.js --no-config-discovery",
"we:chromium": "web-ext run --config=web-ext-config-chrome.js --no-config-discovery --target=chromium",
"test:tsc": "tsc --noEmit",
"build:firefox": "webpack --mode=production --env vendor=firefox",
"build:chromium": "webpack --mode=production --env vendor=chromium",
"build:all": "yarn build:firefox && yarn build:chromium",
"format": "prettier . --write --ignore-unknown",
"lint": "eslint --fix --ext=ts,tsx src/",
"release": "standard-version -t '' --packageFiles package.json",
"update": "ncu -i --format group",
"we:build": "web-ext build -s dist/firefox",
"we:sign": "web-ext sign --config=web-ext-config-firefox.js --no-config-discovery",
"prepare": "husky install"
},
"nano-staged": {
"*.{js,jsx,ts,tsx,json,md}": [
"prettier --write --ignore-unknown"
],
"*.{ts,tsx}": [
"eslint --fix"
]
},
"dependencies": {
"data-fixer": "^5.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"spectre.css": "^0.5.1",
"tongwen-core": "^4.1.1",
"webextension-polyfill": "^0.10.0",
"zod": "^3.20.2"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/webextension-polyfill": "^0.10.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"clean-webpack-plugin": "^2.0.1",
"copy-webpack-plugin": "^9.0.0",
"dotenv": "^16.0.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.30.1",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"nano-staged": "^0.8.0",
"prettier": "^3.3.3",
"standard-version": "^9.5.0",
"tongwen-dict": "^1.0.1",
"ts-loader": "^9.5.1",
"typescript": "~5.5.4",
"web-ext": "^7.1.1",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-shell-plugin-next": "^2.2.2",
"webpack-webextension-plugin": "^1.0.0"
}
}