-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.32 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
{
"private": true,
"author": "zhentao.zhong <[email protected]>",
"scripts": {
"dev": "max dev",
"build": "max build",
"postinstall": "max setup",
"setup": "max setup",
"start": "npm run dev",
"lint": "max lint --eslint-only --fix",
"extract:en": "formatjs extract 'src/**/*.ts*' --out-file src/locales/en-US.json --format src/locales/formatter.js",
"extract:th": "locale=th-TH formatjs extract 'src/**/*.ts*' --out-file src/locales/th-TH.json --format src/locales/compile.js",
"extract": "yarn extract:en && yarn extract:th",
"prepare": "husky install"
},
"dependencies": {
"@ant-design/icons": "^5.0.1",
"@formatjs/cli": "^6.0.4",
"antd": "^5.2.3",
"copy-to-clipboard": "^3.3.3",
"react": "^18.2.0",
"vanilla-jsoneditor": "^0.15.1"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/lint": "^4.0.56",
"@umijs/max": "^4.0.55",
"eslint": "^8.35.0",
"husky": "^8.0.0",
"lint-staged": "^13.1.2",
"prettier": "^2.6.2",
"typescript": "^4.9.5"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"max lint"
],
"src/**/*": "prettier --write --ignore-unknown"
}
}