forked from web-infra-dev/modern.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 4.4 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
123
124
125
126
127
128
129
130
131
132
{
"private": true,
"name": "modern-js-monorepo",
"description": "A Progressive React Framework for modern web development.",
"homepage": "https://modernjs.dev",
"bugs": "https://github.com/web-infra-dev/modern.js/issues",
"repository": "web-infra-dev/modern.js",
"license": "MIT",
"keywords": [
"react",
"framework",
"modern",
"modern.js"
],
"scripts": {
"new": "modern new",
"setup": "npm run reset && pnpm install",
"reset": "npx rimraf --glob ./**/node_modules",
"test": "npm run test:ut",
"test:rspack": "cd tests && pnpm run test:rspack",
"test:jest": "cd tests && pnpm run test:ut",
"test:vitest": "node scripts/vitest-config/vitestRunAll.js",
"test:ut": "pnpm run test:jest && pnpm run test:vitest",
"test:ut:update": "pnpm run test:jest -u && pnpm run test:vitest -u",
"test:e2e": "cd tests && npm run test",
"fast-lint": "sh -x ./scripts/fast-lint.sh",
"lint:package-json": "cd ./scripts/lint-package-json && pnpm start",
"prepare-build": "nx run-many -t build -p @modern-js/* --maxParallel=100",
"prepare": "npm run prepare-build && husky install",
"lint": "npm run fast-lint",
"change": "modern change",
"clear": "modern clear",
"deploy": "modern deploy",
"bump": "modern bump",
"pre": "modern pre",
"change-status": "modern change-status",
"gen-release-note": "modern gen-release-note",
"release": "modern release --ignore-scripts",
"fix:lockfile": "pnpm install --fix-lockfile",
"update:lockfile": "pnpm install --lockfile-only",
"check-changeset": "cd ./scripts/check-changeset && pnpm start",
"update-codesmith": "cd ./scripts/update-codesmith && pnpm start",
"update-rspress": "cd ./scripts/update-rspress && pnpm start",
"update-rsbuild": "cd ./scripts/update-rsbuild && pnpm start",
"update-nx-cache": "nx reset && npm run prepare-build"
},
"engines": {
"node": ">=14.17.6",
"pnpm": ">=8.7.0 <9"
},
"packageManager": "[email protected]",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
]
},
"eslintConfig": {
"root": true,
"extends": [
"@modern-js"
]
},
"devDependencies": {
"@babel/core": "^7.22.15",
"@babel/plugin-transform-modules-commonjs": "^7.22.15",
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@modern-js-app/eslint-config": "workspace:*",
"@modern-js/eslint-config": "workspace:*",
"@modern-js/monorepo-tools": "workspace:*",
"@modern-js/plugin-lint": "workspace:*",
"@modern-js/tsconfig": "workspace:*",
"@scripts/build": "workspace:*",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vitest/coverage-v8": "^0.33.0",
"@vitest/ui": "^0.33.0",
"esbuild": "0.17.19",
"eslint": "^8.28.0",
"husky": "^8.0.0",
"lint-staged": "~13.1.0",
"nx": "16.5.1",
"nx-cloud": "^16.5.2",
"vitest": "0.33.0"
},
"pnpm": {
"overrides": {
"@types/react": "^18",
"@types/react-dom": "^18"
},
"allowedDeprecatedVersions": {
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.12.1 || 7.20.7",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.0",
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
"core-js": "2.6.11",
"formidable": "1.2.6",
"hast": "1.0.0",
"sourcemap-codec": "1.4.8",
"uuid-browser": "3.1.0",
"stable": "0.1.8",
"js-polyfills": "0.1.43",
"picturefill": "3.0.3",
"string-similarity": "4.0.4",
"querystring": "0.2.0",
"source-map-resolve": "0.6.0 || 0.5.3",
"@formatjs/intl-utils": "3.8.4",
"debug": "4.1.1",
"sane": "4.1.0",
"mkdirp": "0.3.5",
"@npmcli/move-file": "1.1.2",
"uuid": "3.4.0",
"chokidar": "2.1.8",
"consolidate": "0.15.1",
"fsevents": "1.2.13",
"source-map-url": "0.4.1",
"urix": "0.1.0",
"resolve-url": "0.2.1",
"devcert": "1.0.0",
"superagent": "6.1.0",
"@types/sass": "1.45.0"
}
}
}