forked from web-infra-dev/rspack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 3.87 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
{
"name": "monorepo",
"version": "0.7.0",
"license": "MIT",
"description": "A Fast Rust-based web bundler",
"private": true,
"main": "./packages/rspack/dist/index.js",
"scripts": {
"x": "zx x.mjs",
"dev": "pnpm --filter @rspack/cli run dev",
"clean": "pnpm --filter @rspack/cli run clean",
"build:js": "pnpm --filter \"@rspack/core\" build:force && pnpm --filter \"@rspack/*\" --filter \"!@rspack/core\" build",
"build:cli:debug": "npm run build:binding:debug && npm run build:js",
"build:cli:release": "npm run build:binding:release && npm run build:js",
"build:cli:release:all": "pnpm --filter @rspack/binding build:release:all && npm run build:js",
"build:cli:release:arm64": "pnpm --filter @rspack/binding build:release:arm64 && npm run build:js",
"build:cli:release:x64": "pnpm --filter @rspack/binding build:release:x64 && npm run build:js",
"build:cli:release:linux": "pnpm --filter @rspack/binding build:release:linux && npm run build:js",
"build:cli:release:win": "pnpm --filter @rspack/binding build:release:win && npm run build:js",
"build:viewer": "pnpm --filter \"@rspack/*\" build:viewer",
"test:js": "pnpm -r run test",
"format:rs": "pnpm --filter @rspack/core... build",
"format:js": "pnpm run format-ci:js --write",
"format-ci:js": "node ./node_modules/prettier/bin/prettier.cjs \"packages/**/src/**/*.{ts,js}\" \"crates/rspack_plugin_runtime/**/*.{ts,js}\" \"x.mjs\" --check",
"format-ci:toml": "npx @taplo/cli format --check '.cargo/*.toml' './crates/**/Cargo.toml' './Cargo.toml'",
"format:toml": "npx @taplo/cli format '.cargo/*.toml' './crates/**/Cargo.toml' './Cargo.toml'",
"lint:js": "oxlint --deny-warnings -c .eslintrc.json",
"eslint:js": "eslint --report-unused-disable-directives-severity off --cache",
"lint:rs": "node ./scripts/check_rust_dependency.cjs",
"build:binding:debug": "pnpm --filter @rspack/binding run build:debug",
"build:binding:release": "pnpm --filter @rspack/binding run build:release",
"prepare": "is-ci || husky",
"test:diff": "pnpm --filter \"@rspack/*\" test:diff",
"test:hot": "pnpm --filter \"@rspack/*\" test:hot",
"test:unit": "pnpm --filter \"@rspack/*\" test",
"test:e2e": "pnpm --filter \"@rspack-e2e/*\" test",
"test:ci": "cross-env NODE_OPTIONS=--max_old_space_size=8192 pnpm run build:js && pnpm run test:unit && npm run test:plugin && pnpm test:webpack",
"test:plugin": "pnpm --filter \"plugin-test\" test",
"test:webpack": "pnpm --filter \"webpack-test\" test:metric",
"doc-coverage": "pnpm --filter '@rspack/core' doc-coverage",
"api-extractor:local": "pnpm --filter '@rspack/*' api-extractor --local",
"api-extractor:ci": "pnpm --filter '@rspack/*' api-extractor:ci"
},
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/rspack"
},
"engines": {
"pnpm": "8.14.3"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.43.1",
"@rspack/cli": "workspace:*",
"@taplo/cli": "^0.7.0",
"@types/is-ci": "^3.0.4",
"@types/jest": "29.5.12",
"@types/node": "20.12.7",
"@types/rimraf": "3.0.2",
"@typescript-eslint/parser": "^7.9.0",
"commander": "12.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.2.0",
"eslint-plugin-oxlint": "^0.2.9",
"eslint-plugin-simple-import-sort": "^12.1.0",
"filenamify": "^4.3.0",
"husky": "^9.0.0",
"is-ci": "3.0.1",
"jest": "29.7.0",
"jest-environment-node": "29.7.0",
"lint-staged": "^15.0.0",
"npm-run-all": "4.1.5",
"oxlint": "0.3.4",
"prettier": "3.2.5",
"prettier-2": "npm:prettier@2.8.8",
"rimraf": "3.0.2",
"ts-jest": "29.1.2",
"typescript": "5.0.2",
"webpack": "5.90.1",
"webpack-cli": "4.10.0",
"why-is-node-running": "2.2.2"
},
"packageManager": "pnpm@8.14.3"
}