mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 22:14:29 +09:00
Seems like we no longer need commonjs in most packages. Only prisma cannot be bundled on server because has binary. Now new package setup is easier and require only esbuild instead of custom solution. Cli install size ```diff du -ck node_modules - 35516 + 33192 ```
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "@webstudio-is/css-engine",
|
|
"version": "0.91.0",
|
|
"description": "CSS Renderer for Webstudio",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"checks": "pnpm typecheck && pnpm test",
|
|
"dev": "pnpm build --watch",
|
|
"build": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib",
|
|
"dts": "tsc --project tsconfig.dts.json",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"storybook:dev": "storybook dev -p 6006",
|
|
"storybook:build": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@webstudio-is/error-utils": "workspace:^",
|
|
"@webstudio-is/fonts": "workspace:^",
|
|
"hyphenate-style-name": "^1.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.6.4",
|
|
"@types/hyphenate-style-name": "^1.0.0",
|
|
"@types/react": "^18.2.21",
|
|
"@types/react-dom": "^18.2.7",
|
|
"@webstudio-is/jest-config": "workspace:^",
|
|
"@webstudio-is/storybook-config": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"jest": "^29.6.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"typescript": "5.2.2"
|
|
},
|
|
"exports": {
|
|
"source": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|