0
Fork 0
mirror of https://github.com/penpot/penpot-export.git synced 2025-01-08 16:00:08 -05:00
penpot-export/packages/core/package.json
Roberto Redradix 83ba6f93d5 refactor(core): validate user config in a more expressive way
zod unions are exclusive, so the UserConfig type couldn't be kept as a union either for having at least a colors, typographies or pages output.

This check has been moved to a runtime zod refine custom validation.
2023-09-04 17:42:34 +02:00

28 lines
571 B
JSON

{
"name": "@penpot-export/core",
"version": "0.0.0",
"license": "UNLICENSED",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"pretest": "npm run build",
"test": "node --test",
"format": "prettier -w ."
},
"dependencies": {
"node-fetch": "2",
"prettier": "^3.0.2",
"zod": "^3.22.2"
},
"devDependencies": {
"@types/node": "^20.5.0",
"@types/node-fetch": "2",
"ts-node": "^10.9.1",
"tsc-watch": "^6.0.4",
"typescript": "^5.1.6"
}
}