mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
Build of whole monorepo without cache takes 1min or more on my laptop. tsc is very slow tool for this. Also having rootDir in tsconfig prevents checking outside of src folder. Here I added "scripts" package with "build-package" bin. It does both esm and cjs builds. --watch flag support completely replaces tsup for us. Now full rebuild of monorepo without cache takes only 10s including prisma-client, http-client and designer builds.
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"name": "@webstudio-is/css-engine",
|
|
"version": "0.3.0",
|
|
"description": "CSS Renderer for Webstudio",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"checks": "yarn typecheck && yarn lint && yarn test",
|
|
"dev": "build-package --watch",
|
|
"build": "build-package",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
|
|
"storybook:run": "start-storybook -p 6006",
|
|
"storybook:build": "build-storybook",
|
|
"publish-to-npm": "bash ../../bin/publish-to-npm.sh"
|
|
},
|
|
"dependencies": {
|
|
"hyphenate-style-name": "^1.0.4",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"@webstudio-is/fonts": "*"
|
|
},
|
|
"devDependencies": {
|
|
"@storybook/addon-actions": "^6.5.6",
|
|
"@storybook/addon-essentials": "^6.5.6",
|
|
"@storybook/addon-interactions": "^6.5.12",
|
|
"@storybook/addon-links": "^6.5.6",
|
|
"@storybook/builder-webpack4": "^6.5.6",
|
|
"@storybook/jest": "^0.0.10",
|
|
"@storybook/manager-webpack4": "^6.5.6",
|
|
"@storybook/react": "^6.5.6",
|
|
"@storybook/testing-library": "^0.0.13",
|
|
"@webstudio-is/jest-config": "*",
|
|
"@webstudio-is/css-data": "*",
|
|
"@webstudio-is/scripts": "*",
|
|
"typescript": "4.7.4",
|
|
"@types/react": "^17.0.24",
|
|
"@types/react-dom": "^17.0.9"
|
|
},
|
|
"exports": "./lib/index.js",
|
|
"types": "src/index.ts",
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "MIT",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|