-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
114 lines (114 loc) · 3.58 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
{
"name": "bangumi-frontend",
"version": "0.0.0-alpha.5",
"private": true,
"scripts": {
"prepare": "husky install",
"preinstall": "npx only-allow pnpm",
"build": "pnpm website build",
"build:client": "pnpm client update-openapi && pnpm client build",
"design": "pnpm --filter=@bangumi/design",
"design:doc": "pnpm design dev",
"design:build-doc": "pnpm design build",
"dev": "pnpm dev:csr",
"dev:csr": "pnpm website dev",
"dev:ssr": "pnpm server dev",
"lint": "eslint ./ .github/scripts --ext cjs,mjs,js,jsx,ts,mts,cts,tsx",
"lint:fix": "pnpm lint --fix",
"lint:style": "stylelint \"./packages/**/*.{css,less}\"",
"lint:style-fix": "pnpm lint:style --fix",
"prettier": "prettier --write --list-different ./",
"format": "prettier --write --list-different ./",
"prettier:check": "prettier --list-different ./",
"server": "pnpm --filter=@bangumi/server",
"client": "pnpm --filter=@bangumi/client",
"test": "vitest",
"test:e2e": "pnpm --filter @bangumi/website run test:e2e",
"website": "pnpm --filter=@bangumi/website",
"utils": "pnpm --filter=@bangumi/utils",
"lint-staged": "lint-staged -q",
"type-check": "tsc --noEmit"
},
"packageManager": "pnpm@8.3.1",
"engines": {
"node": ">=v16",
"pnpm": "^8"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"jsxSingleQuote": true,
"semi": true,
"trailingComma": "all"
},
"lint-staged": {
"*.{js,ts,mts,cts,tsx,cjs,mjs}": [
"eslint --fix"
],
"*.{css,less}": [
"stylelint --fix"
],
"*.{md,html,js,ts,mts,cts,tsx,css,less,cjs,mjs,yaml,yml,json}": "prettier --write"
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@actions/exec": "^1.1.1",
"@actions/github": "^5.1.1",
"@octokit/openapi-types": "^17.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.12.12",
"@types/testing-library__jest-dom": "^5.14.9",
"@types/web": "^0.0.114",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vitejs/plugin-react": "^4.0.4",
"@vitest/coverage-v8": "^0.34.1",
"@vitest/ui": "^0.34.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-jsx": "^11.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"jsdom": "^21.1.1",
"lint-staged": "^13.2.2",
"postcss": "^8.4.31",
"postcss-less": "^6.0.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"stylelint": "^15.6.0",
"stylelint-config-css-modules": "^4.2.0",
"stylelint-config-standard": "^31.0.0",
"stylelint-scss": "^4.7.0",
"timezone-mock": "^1.3.6",
"tsx": "^3.12.7",
"typescript": "^5.0.4",
"vite": "^4.5.2",
"vite-plugin-svgr": "^2.4.0",
"vitest": "^0.34.1",
"vitest-github-actions-reporter": "^0.10.0",
"whatwg-fetch": "^3.6.2"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"webpack",
"@babel/*",
"require-from-string",
"vite"
]
}
}
}