mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
Here added custom condition to jest config to make it load source code instead of build artifacts. This means we no longer need to rebuild after changing code in other package and we may even no need to generate cjs anymore.
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@webstudio-is/css-engine",
|
|
"version": "0.79.0",
|
|
"description": "CSS Renderer for Webstudio",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
|
|
"checks": "pnpm typecheck && pnpm test",
|
|
"dev": "build-package --watch",
|
|
"build": "build-package",
|
|
"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/css-data": "workspace:^",
|
|
"@webstudio-is/fonts": "workspace:^",
|
|
"hyphenate-style-name": "^1.0.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.6.1",
|
|
"@types/hyphenate-style-name": "^1.0.0",
|
|
"@types/react": "^18.0.35",
|
|
"@types/react-dom": "^18.0.11",
|
|
"@webstudio-is/jest-config": "workspace:^",
|
|
"@webstudio-is/scripts": "workspace:^",
|
|
"@webstudio-is/storybook-config": "workspace:^",
|
|
"@webstudio-is/tsconfig": "workspace:^",
|
|
"jest": "^29.6.1",
|
|
"typescript": "5.1.3"
|
|
},
|
|
"exports": {
|
|
"source": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "MIT",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|