forked from farm-fe/farm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.81 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
{
"name": "farm-fe",
"version": "0.0.0",
"description": "Farm is modern web building tool written in rust",
"engines": {
"node": ">=18",
"pnpm": ">=9"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"bootstrap": "pnpm install && node scripts/clean.mjs && node scripts/bootstrap.mjs && pnpm start",
"test": "cross-env NODE_OPTIONS=--trace-exit vitest run",
"start:rs": "cargo watch -w crates -w rust-plugins -s 'scripts/watch.sh'",
"start": "pnpm --filter @farmfe/cli start",
"release": "node scripts/release.mjs",
"check": "biome check . --diagnostic-level=warn --apply",
"clean": "node scripts/clean.mjs && rimraf node_modules **/*/node_modules",
"bump": "node scripts/bump.mjs",
"test:rs:update": "cross-env FARM_UPDATE_SNAPSHOTS=1 cargo test -p farmfe_compiler",
"ready": "node scripts/ready.mjs",
"test-e2e": "vitest run -c vitest.config.e2e.ts",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "1.7.2",
"@changesets/cli": "^2.26.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/node": "^18.0.1",
"@vitest/coverage-v8": "^0.33.0",
"cross-env": "^7.0.3",
"cspell": "^6.2.2",
"execa": "^7.1.1",
"husky": "^9.0.11",
"lint-staged": "^13.0.3",
"nanospinner": "^1.1.0",
"playwright-chromium": "^1.42.1",
"rimraf": "^3.0.2",
"rollup": "^3.29.4",
"typescript": "^4.9.4",
"vite": "^5.2.6",
"vitest": "^1.4.0"
},
"lint-staged": {
"packages/**/*.ts": [
"npx biome check --no-errors-on-unmatched --files-ignore-unknown=true --apply"
],
"js-plugins/**/*.ts": [
"npx biome check --no-errors-on-unmatched --files-ignore-unknown=true --apply"
]
},
"pnpm": {
"overrides": {
"@farmfe/core": "workspace:*"
}
}
}