Files
webstudio/packages/css-data/package.json
T
Ivan Starkov 843467a691 Image (#502)
- [x] - Image optimization component moved into standalone package
- [x] - generate-arg-types moved into standalone package - one issue
with current yarn https://github.com/yarnpkg/yarn/issues/4964 (you need
to delete root node_modules, then yarn and yarn build to make
generate-arg-types to work)
- [x] - move json into `__generated__` folder, (allow import json from
__generated__ folders only)
- [x] - Icons moved all gen into `__generated__`
- [x] - css-data generated content moved to `__generated__`
2022-11-25 12:27:44 +04:00

52 lines
1.3 KiB
JSON

{
"name": "@webstudio-is/css-data",
"version": "0.2.0",
"description": "CSS Data",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
"checks": "yarn typecheck && yarn lint",
"dev": "tsup --watch",
"build:cjs": "tsc --module commonjs --outDir lib/cjs && find lib/cjs -name '*.js' | while read NAME; do mv $NAME ${NAME%.js}.cjs; done",
"build": "rm -fr lib tsconfig.tsbuildinfo && tsc && yarn build:cjs",
"build:mdn-data": "tsx ./bin/mdn-data.ts ./src/__generated__",
"lint": "eslint ./src --ext .ts,.tsx --max-warnings 0",
"publish-to-npm": "bash ../../bin/publish-to-npm.sh"
},
"dependencies": {},
"devDependencies": {
"mdn-data": "2.0.23",
"tsup": "^6.1.3",
"typescript": "4.7.4",
"@types/css-tree": "^1.0.7",
"css-tree": "^2.1.0",
"camelcase": "^6.3.0",
"zod": "^3.19.1"
},
"peerDependencies": {
"zod": "^3.19.1"
},
"exports": {
"import": "./lib/index.js",
"require": "./lib/cjs/index.cjs"
},
"types": "lib/index.d.ts",
"files": [
"lib/*",
"README.md",
"!*.test.*"
],
"license": "MIT",
"private": false,
"sideEffects": false,
"tsup": {
"entry": [
"src/index.ts"
],
"format": "esm",
"outDir": "lib"
}
}