forked from webstudio-is/webstudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.56 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
{
"packageManager": "[email protected]",
"name": "webstudio-root",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"build": "pnpm -r --filter='!./fixtures/*' build",
"dts": "pnpm -r dts",
"dev": "pnpm --filter='@webstudio-is/builder' dev",
"lint": "eslint \"**/*.{ts,tsx}\" --max-warnings 0",
"checks": "pnpm -r test && pnpm -r typecheck && pnpm lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build",
"migrations": "pnpm --filter=@webstudio-is/prisma-client generate && pnpm --filter=./packages/prisma-client migrations --dev --cwd ../../apps/builder",
"build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",
"prepare": "which git && git config core.hooksPath .git/hooks/ && simple-git-hooks || echo git not installed",
"local:version-snapshot": "pnpm -r exec pnpm version prepatch --preid $(cat /dev/urandom | LC_ALL=C tr -dc 'a-z' | fold -w 8 | head -n 1)",
"local:publish-snapshot": "pnpm -r publish --access public --no-git-checks --registry http://localhost:4873",
"local:dangerously-undo-version-snapshot": "git restore --source=$(git branch --show-current) '**/*/package.json'",
"local:release": "pnpm build && pnpm dts && pnpm local:version-snapshot && pnpm local:publish-snapshot && pnpm local:dangerously-undo-version-snapshot && echo \"now execute\npnpm up -r -L '@webstudio-is/*' --registry http://localhost:4873\""
},
"simple-git-hooks": {
"pre-commit": "./node_modules/.bin/nano-staged"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@fontsource-variable/inter": "^5.0.20",
"@fontsource-variable/manrope": "^5.0.20",
"@fontsource/roboto-mono": "^5.0.18",
"@radix-ui/react-tooltip": "^1.1.3",
"@storybook/addon-actions": "^8.4.2",
"@storybook/addon-backgrounds": "^8.4.2",
"@storybook/addon-controls": "^8.4.2",
"@storybook/react": "^8.4.2",
"@storybook/react-vite": "^8.4.2",
"@types/css-tree": "^2.3.1",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.8.1",
"@types/react": "^18.2.70",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"nano-staged": "^0.8.0",
"prettier": "3.3.3",
"react": "18.3.0-canary-14898b6a9-20240318",
"react-dom": "18.3.0-canary-14898b6a9-20240318",
"simple-git-hooks": "^2.11.1",
"storybook": "^8.4.2",
"tsx": "^4.19.1",
"typescript": "5.6.3",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.11"
},
"engines": {
"node": "20",
"pnpm": "9.10.0",
"yarn": "This project is configured to use pnpm"
},
"nano-staged": {
"*.{ts,tsx,js,json,css,md}": "prettier --write"
},
"prettier": {
"trailingComma": "es5",
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"options": {
"parser": "babel-ts"
}
}
]
},
"pnpm": {
"overrides": {
"@types/react": "^18.2.70",
"@types/react-dom": "^18.2.25",
"react": "18.3.0-canary-14898b6a9-20240318",
"react-dom": "18.3.0-canary-14898b6a9-20240318"
},
"patchedDependencies": {
"@stitches/[email protected]": "patches/@[email protected]",
"[email protected]": "patches/[email protected]",
"@types/[email protected]": "patches/@[email protected]",
"@radix-ui/[email protected]": "patches/@[email protected]",
"@remix-run/dev": "patches/@remix-run__dev.patch"
}
}
}