Files
webstudio/packages/css-data/package.json
T
Bogdan Chadkin 87e69b2e85 Move style schema into css-engine (#2251)
Css-data now responsible for generated data and parsers which requires
heavy dependencies like csstree and openai.

Here moved style schema into css-engine which makes is responsible for
own input representation. So now schema and serialization are co-located
in single package.

Cli install size

```diff
du -ck node_modules
- 42680
+ 35516
```
2023-09-06 15:55:41 +04:00

58 lines
1.6 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": "build-package --watch",
"build": "build-package",
"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/scripts": "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.6",
"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",
"require": "./lib/cjs/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"
}
}