mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
Ref https://github.com/webstudio-is/webstudio-builder/issues/1179 Succeeded https://github.com/webstudio-is/webstudio-builder/pull/1403 Here added support for transformValue in css-engine StyleRule. So we can apply any transformation when render css. In sdk added image transformation which accepts assets and provides image value with new url value. Now we can get rid of resolving on server side and apply image loaders for images rendered in styles.
54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"name": "@webstudio-is/css-engine",
|
|
"version": "0.53.0",
|
|
"description": "CSS Renderer for Webstudio",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"checks": "pnpm typecheck && pnpm lint && pnpm test",
|
|
"dev": "build-package --watch",
|
|
"build": "build-package",
|
|
"dts": "tsc --emitDeclarationOnly --declaration --declarationDir lib/types",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@webstudio-is/fonts": "workspace:^",
|
|
"hyphenate-style-name": "^1.0.4",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.3.1",
|
|
"@storybook/react": "^6.5.16",
|
|
"@types/hyphenate-style-name": "^1.0.0",
|
|
"@types/react": "^17.0.24",
|
|
"@types/react-dom": "^17.0.9",
|
|
"@webstudio-is/asset-uploader": "workspace:^",
|
|
"@webstudio-is/css-data": "workspace:^",
|
|
"@webstudio-is/jest-config": "workspace:^",
|
|
"@webstudio-is/scripts": "workspace:^",
|
|
"@webstudio-is/storybook-config": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"jest": "^29.3.1",
|
|
"typescript": "5.0.3"
|
|
},
|
|
"exports": {
|
|
"source": "./src/index.ts",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"types": "lib/types/index.d.ts",
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "MIT",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|