mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-06 12:04:00 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/2647 Here upgraded to the latest mdn data and improved properties detection. Excluded experimental and undocumented css properties. - font-synthesis got longhands in mdn data - background-position-x/y got excluded as experimental (though support is good) but we anyway write as shorthand - excluded white-space-collapse, text-wrap and text-wrap-* until decide how to maintain them in the future - field-sizing and zoom are new additions
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@webstudio-is/css-data",
|
|
"version": "0.0.0",
|
|
"description": "CSS Data",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"checks": "pnpm typecheck",
|
|
"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",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
},
|
|
"bin": {
|
|
"css-to-ws": "./bin/css-to-ws.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/css-tree": "^2.3.1",
|
|
"@types/node": "^20.12.7",
|
|
"@webstudio-is/jest-config": "workspace:*",
|
|
"@webstudio-is/react-sdk": "workspace:*",
|
|
"@webstudio-is/tsconfig": "workspace:*",
|
|
"html-tags": "^3.3.1",
|
|
"mdn-data": "2.8.0",
|
|
"type-fest": "^4.3.1",
|
|
"typescript": "5.4.5",
|
|
"zod": "^3.22.4"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^3.19.1"
|
|
},
|
|
"exports": {
|
|
"webstudio": "./src/index.ts"
|
|
},
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@unocss/core": "^0.56.4",
|
|
"@unocss/preset-uno": "^0.56.4",
|
|
"@webstudio-is/css-engine": "workspace:*",
|
|
"change-case": "^5.4.4",
|
|
"colord": "^2.9.3",
|
|
"css-tree": "^2.3.1",
|
|
"openai": "^3.2.1",
|
|
"warn-once": "^0.1.1"
|
|
}
|
|
}
|