-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 3.51 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 3.51 KB
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
{
"name": "easecation-open-user-center",
"private": true,
"workspaces": [
"shared",
"frontend-user",
"frontend-admin",
"mock-backend"
],
"type": "commonjs",
"scripts": {
"build:shared": "yarn workspace @ecuc/shared run build",
"build:frontend-user": "yarn build:shared && yarn workspace easecation-user-center-frontend-user run build",
"build:frontend-admin": "yarn build:shared && yarn workspace easecation-user-center-frontend-admin run build",
"build": "yarn build:frontend-user && yarn build:frontend-admin",
"dev:user": "yarn workspace easecation-user-center-frontend-user run dev",
"dev:admin": "yarn workspace easecation-user-center-frontend-admin run dev",
"mock:backend": "yarn workspace easecation-user-center-mock-backend run start",
"mock": "yarn build:shared && concurrently \"yarn mock:backend\" \"yarn dev:user\" \"yarn dev:admin\"",
"type-check:shared": "yarn build:shared && yarn workspace @ecuc/shared run type-check",
"type-check:frontend-user": "yarn build:shared && yarn workspace easecation-user-center-frontend-user run type-check",
"type-check:frontend-admin": "yarn build:shared && yarn workspace easecation-user-center-frontend-admin run type-check",
"type-check:mock-backend": "yarn workspace easecation-user-center-mock-backend run type-check",
"type-check": "yarn type-check:shared && yarn type-check:frontend-user && yarn type-check:frontend-admin && yarn type-check:mock-backend",
"test:frontend-user": "yarn workspace easecation-user-center-frontend-user run test",
"test:frontend-admin": "yarn workspace easecation-user-center-frontend-admin run test",
"test:mock-backend": "yarn workspace easecation-user-center-mock-backend run test",
"test": "yarn test:frontend-user && yarn test:frontend-admin && yarn test:mock-backend",
"lint": "oxlint frontend-user frontend-admin frontend-common shared mock-backend",
"format:check": "prettier --check frontend-user frontend-admin frontend-common shared mock-backend",
"check:encoding": "node scripts/check-source-encoding.mjs",
"check:frontend-api": "node scripts/check-frontend-api-usage.mjs",
"check:i18n": "node scripts/check-i18n-and-hardcoded-zh.mjs",
"check:dark-mode-api": "node scripts/check-dark-mode-api.mjs",
"check:design-language": "node scripts/check-design-language.mjs",
"quality:frontend": "yarn check:encoding && yarn check:frontend-api && yarn lint && yarn check:i18n && yarn check:dark-mode-api && yarn check:design-language"
},
"devDependencies": {
"@babel/core": "8.0.1",
"@babel/plugin-transform-dynamic-import": "8.0.1",
"@babel/plugin-transform-export-namespace-from": "8.0.1",
"@babel/plugin-transform-modules-commonjs": "8.0.1",
"@babel/preset-react": "8.0.1",
"@babel/preset-typescript": "8.0.1",
"@types/node": "26.1.2",
"babel-jest": "30.4.1",
"babel-plugin-transform-vite-meta-env": "1.0.3",
"concurrently": "^10.0.4",
"oxlint": "1.76.0",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"typescript": "7.0.2"
},
"packageManager": "yarn@4.17.1",
"engines": {
"node": ">=24.18.0 <25"
},
"resolutions": {
"minimatch@npm:^3.0.2": "npm:3.1.5",
"minimatch@npm:^3.0.4": "npm:3.1.5",
"minimatch@npm:^3.1.1": "npm:3.1.5",
"minimatch@npm:^3.1.2": "npm:3.1.5"
}
}