-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 4.42 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 4.42 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
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
{
"name": "fict-monorepo",
"private": true,
"packageManager": "pnpm@9.1.1",
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.0.0"
},
"scripts": {
"dev": "turbo run dev --parallel",
"build": "turbo run build",
"clean": "turbo run clean && rm -rf node_modules/.cache .turbo",
"lint": "turbo run lint",
"lint:fix": "turbo run lint -- --fix",
"typecheck": "turbo run typecheck",
"format": "prettier --write .",
"format:check": "prettier --check packages/*",
"test": "turbo run test",
"test:watch": "turbo run test:watch",
"test:coverage": "turbo run test:coverage",
"test:e2e": "pnpm -C packages/fict test:e2e",
"test:bundlers": "pnpm -C examples/counter-webpack build && pnpm -C examples/counter-basic build",
"size": "size-limit",
"size:analyze": "size-limit --why",
"commit": "cz",
"changeset": "changeset",
"version": "changeset version",
"release": "turbo run build && changeset publish",
"precommit": "pnpm test && pnpm typecheck && pnpm format:check && pnpm lint && pnpm build",
"prepare": "husky",
"guardrails:hir": "node scripts/hir-guardrails.mjs",
"guardrails:hir:update": "node scripts/hir-guardrails.mjs --update",
"guardrails:runtime": "NODE_OPTIONS=--expose-gc FICT_RUNTIME_STRESS=1 FICT_RUNTIME_SOAK_ITERS=900 FICT_RUNTIME_CHURN_CYCLES=100 FICT_RUNTIME_LEAK_ROUNDS=40 FICT_RUNTIME_LEAK_EFFECTS_PER_ROUND=60 FICT_RUNTIME_BACKPRESSURE_UPDATES=3000 FICT_RUNTIME_MAX_DRAIN_LATENCY_MS=1400 FICT_RUNTIME_MAX_HEAP_GROWTH_BYTES=33554432 pnpm --dir packages/runtime test -- test/runtime-stability.stress.test.ts",
"guardrails:perf": "pnpm guardrails:hir && pnpm bench:optimizer:guard && pnpm guardrails:runtime",
"perf:build": "pnpm build && cd js-framework-benchmark/frameworks/keyed/fict && npm run build-prod",
"perf:run": "cd js-framework-benchmark && npm run bench -- --framework keyed/fict --headless",
"perf:data": "pnpm build && pnpm perf:build && pnpm perf:run",
"perf:results": "cd js-framework-benchmark && npm run results",
"stress:runtime": "pnpm --dir packages/runtime test:stress",
"stress:runtime:long": "pnpm --dir packages/runtime test:stress:long",
"bench:optimizer": "pnpm --filter @fictjs/compiler build && node scripts/optimizer-bench.mjs",
"bench:optimizer:update": "pnpm --filter @fictjs/compiler build && node scripts/optimizer-bench.mjs --update",
"bench:optimizer:guard": "pnpm --filter @fictjs/compiler build && node scripts/optimizer-bench.mjs --compare",
"release:compiler:verify": "pnpm --dir packages/compiler lint && pnpm --dir packages/compiler typecheck && pnpm --dir packages/compiler test && pnpm guardrails:hir && pnpm bench:optimizer:guard"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/plugin-syntax-jsx": "^7.28.6",
"@babel/plugin-transform-react-jsx": "^7.28.6",
"@babel/preset-typescript": "^7.26.0",
"@babel/types": "^7.29.0",
"@changesets/cli": "^2.29.8",
"@commitlint/cli": "^20.4.2",
"@commitlint/config-conventional": "^20.4.2",
"@eslint/js": "^10.0.0",
"@playwright/test": "^1.58.2",
"@size-limit/esbuild": "^12.0.0",
"@size-limit/esbuild-why": "^12.0.0",
"@size-limit/preset-small-lib": "^12.0.0",
"@testing-library/dom": "^10.4.1",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-plugin-utils": "^7.10.3",
"@types/node": "^25.3.0",
"@vitest/coverage-v8": "^4.0.18",
"commitizen": "^4.3.1",
"cz-customizable": "^7.5.1",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import-x": "^4.16.1",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.8.1",
"size-limit": "^12.0.0",
"tsup": "^8.5.1",
"turbo": "^2.8.10",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.0",
"vitest": "^4.0.18"
},
"pnpm": {
"overrides": {
"@modelcontextprotocol/sdk>ajv": "^8.18.0"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs}": [
"prettier --write"
],
"*.{md,json,yml,yaml}": [
"prettier --write"
]
},
"size-limit": [
{
"name": "Fict (ESM)",
"path": "packages/fict/dist/index.js",
"limit": "14 KB"
},
{
"name": "Fict (CJS)",
"path": "packages/fict/dist/index.cjs",
"limit": "15.3 KB"
}
],
"config": {
"commitizen": {
"path": "./node_modules/cz-customizable"
},
"cz-customizable": {
"config": ".cz-config.js"
}
}
}