mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
Ref https://github.com/usmanyunusov/nano-staged Lint-staged has a lot of dependencies and a few versions of the same dependencies. Nano-staged is smaller alternative used in many "nano" packages. ```diff du -ckd1 node_modules -766128 +763924 -900ms +200ms ```
57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"packageManager": "pnpm@7.18.2",
|
|
"name": "turbo",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"": "For some reason remix build does not finish when run with turbo or pnpm recursively",
|
|
"build-packages": "turbo run build --filter='!./apps/*'",
|
|
"build": "pnpm build-packages && pnpm --filter=@webstudio-is/designer build",
|
|
"checks": "turbo run checks",
|
|
"dev": "turbo run dev --parallel",
|
|
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
|
|
"build-storybook": "build-storybook",
|
|
"storybook": "turbo run storybook:run",
|
|
"storybook:build": "npm run build && turbo run storybook:build",
|
|
"storybook:ds:build": "turbo run storybook:build --filter=@webstudio-is/design-system",
|
|
"migrations": "cd apps/designer && pnpm migrations --dev",
|
|
"build-figma-tokens": "cd packages/design-system && pnpm build-figma-tokens",
|
|
"prepare": "git config core.hooksPath .git/hooks/ && simple-git-hooks"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "./node_modules/.bin/nano-staged"
|
|
},
|
|
"devDependencies": {
|
|
"@changesets/get-dependents-graph": "^1.3.4",
|
|
"@manypkg/get-packages": "^1.1.3",
|
|
"@storybook/react": "^6.5.14",
|
|
"@types/css-tree": "^2.0.0",
|
|
"@webstudio-is/eslint-config-custom": "workspace:^",
|
|
"chromatic": "^6.11.4",
|
|
"nano-staged": "^0.8.0",
|
|
"prettier": "2.7.1",
|
|
"simple-git-hooks": "^2.8.1",
|
|
"tsx": "^3.9.0",
|
|
"turbo": "1.3.1",
|
|
"typescript": "4.7.4"
|
|
},
|
|
"engines": {
|
|
"node": "16",
|
|
"pnpm": "7.18",
|
|
"yarn": "This project is configured to use pnpm"
|
|
},
|
|
"nano-staged": {
|
|
"*.{ts,tsx,js,json,css,md}": "prettier --write"
|
|
},
|
|
"prettier": {},
|
|
"resolutions": {
|
|
"esbuild": "0.15.13",
|
|
"react-dom": "17.0.2"
|
|
},
|
|
"pnpm": {
|
|
"patchedDependencies": {
|
|
"@storybook/builder-webpack5@6.5.14": "patches/@storybook__builder-webpack5@6.5.14.patch"
|
|
}
|
|
}
|
|
}
|