forked from web-infra-dev/rspack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
80 lines (80 loc) · 3.27 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
{
"name": "monorepo",
"version": "1.0.0",
"license": "MIT",
"description": "A Fast Rust-based web bundler",
"private": true,
"scripts": {
"x": "zx x.mjs",
"dev": "pnpm --filter @rspack/cli run dev",
"clean": "pnpm --filter @rspack/cli run clean",
"build:js": "pnpm --filter \"@rspack/*\" build",
"build:cli:debug": "pnpm --filter @rspack/binding build:debug && pnpm --filter \"@rspack/*\" build",
"build:cli:release": "pnpm --filter @rspack/binding build:release && pnpm --filter \"@rspack/*\" build",
"build:cli:release:all": "pnpm --filter @rspack/binding build:release:all && pnpm --filter \"@rspack/*\" build",
"test:js": "pnpm -r run test",
"format:rs": "pnpm --filter @rspack/core... build",
"format:js": "npx prettier \"packages/**/*.{ts,js}\" \"crates/rspack_plugin_runtime/**/*.{ts,js}\" --check --write",
"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": "npx prettier \"packages/**/*.{ts,js}\" --check",
"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",
"version:snapshot": "changeset version --snapshot",
"release:snapshot": "changeset publish --tag snapshot --no-git-tag --no-git-checks",
"release": "changeset publish --no-git-checks",
"bump": "changeset version",
"changeset": "changeset",
"prepare": "is-ci || husky install",
"pnpm:devPreinstall": "is-ci || node ./scripts/doctor.js",
"test:example": "NODE_OPTIONS=--max_old_space_size=8192 pnpm --filter \"example-*\" build",
"test:unit": "NODE_OPTIONS=--max_old_space_size=8192 pnpm --filter \"@rspack/*\" test",
"test:e2e": "NODE_OPTIONS=--max_old_space_size=8192 pnpm --filter \"@rspack-e2e/*\" test"
},
"lint-staged": {
"*.rs": "rustfmt --edition 2021",
"packages/**/*.{ts,js}": "prettier --write",
"crates/rspack_plugin_runtime/**/*.{ts,js}": "prettier --write",
"*.toml": "npx @taplo/cli format"
},
"engines": {
"pnpm": "7.32.0"
},
"homepage": "https://rspack.dev",
"bugs": "https://github.com/web-infra-dev/rspack/issues",
"repository": {
"type": "git",
"url": "https://github.com/web-infra-dev/rspack"
},
"devDependencies": {
"@changesets/cli": "2.24.4",
"@rspack/cli": "workspace:*",
"@taplo/cli": "^0.5.2",
"@types/react": "17.0.52",
"@types/react-dom": "17.0.19",
"commander": "10.0.1",
"esbuild": "^0.15.9",
"husky": "^7.0.4",
"is-ci": "3.0.1",
"jest": "29.0.3",
"lint-staged": "^12.5.0",
"prettier": "2.5.1",
"rimraf": "3.0.2",
"ts-jest": "29.0.1",
"typescript": "5.0.2",
"webpack": "5.74.0",
"webpack-cli": "4.10.0",
"why-is-node-running": "2.2.1"
},
"optionalDependencies": {
"sass-embedded-darwin-arm64": "1.58.3",
"sass-embedded-darwin-x64": "1.58.3",
"sass-embedded-linux-arm64": "1.58.3",
"sass-embedded-linux-ia32": "1.58.3",
"sass-embedded-linux-x64": "1.58.3",
"sass-embedded-win32-ia32": "1.58.3",
"sass-embedded-win32-x64": "1.58.3"
},
"packageManager": "[email protected]"
}