Files
webstudio/packages/css-data/package.json
T
Bogdan Chadkin 7364b51210 Run jest with sources (#1930)
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.
2023-07-14 17:30:31 +03:00

57 lines
1.5 KiB
JSON

{
"name": "@webstudio-is/css-data",
"version": "0.79.0",
"description": "CSS Data",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
"checks": "pnpm typecheck",
"dev": "build-package --watch",
"build": "build-package",
"build:mdn-data": "tsx ./bin/mdn-data.ts ./src/__generated__ && prettier --write \"./src/__generated__/**/*.ts\"",
"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.1",
"mdn-data": "2.0.30",
"tsx": "^3.12.6",
"type-fest": "^3.7.1",
"typescript": "5.1.3",
"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": "MIT",
"private": false,
"sideEffects": false,
"dependencies": {
"colord": "^2.9.3",
"css-tree": "^2.3.1",
"hyphenate-style-name": "^1.0.4",
"openai": "^3.2.1",
"warn-once": "^0.1.1"
}
}