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 ```
56 lines
1.5 KiB
JSON
56 lines
1.5 KiB
JSON
{
|
|
"name": "@webstudio-is/css-data",
|
|
"version": "0.91.0",
|
|
"description": "CSS Data",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"checks": "pnpm typecheck",
|
|
"dev": "pnpm build --watch",
|
|
"build": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib",
|
|
"build:mdn-data": "tsx ./bin/mdn-data.ts ./src/__generated__ && prettier --write \"./src/__generated__/\" \"../css-engine/src/__generated__/\"",
|
|
"build:descriptions": "tsx ./bin/property-value-descriptions.ts",
|
|
"dts": "tsc --project tsconfig.dts.json",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
},
|
|
"devDependencies": {
|
|
"@types/css-tree": "^2.3.1",
|
|
"@webstudio-is/jest-config": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"camelcase": "^7.0.1",
|
|
"html-tags": "^3.3.1",
|
|
"jest": "^29.6.4",
|
|
"mdn-data": "2.0.32",
|
|
"tsx": "^3.12.8",
|
|
"type-fest": "^4.3.1",
|
|
"typescript": "5.2.2",
|
|
"zod": "^3.21.4"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^3.19.1"
|
|
},
|
|
"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,
|
|
"dependencies": {
|
|
"@webstudio-is/css-engine": "workspace:^",
|
|
"colord": "^2.9.3",
|
|
"css-tree": "^2.3.1",
|
|
"hyphenate-style-name": "^1.0.4",
|
|
"openai": "^3.2.1",
|
|
"warn-once": "^0.1.1"
|
|
}
|
|
}
|