mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
Seems like we no longer need commonjs in most packages. Only prisma cannot be bundled on server because has binary. Now new package setup is easier and require only esbuild instead of custom solution. Cli install size ```diff du -ck node_modules - 35516 + 33192 ```
32 lines
795 B
JSON
32 lines
795 B
JSON
{
|
|
"name": "@webstudio-is/error-utils",
|
|
"version": "0.91.0",
|
|
"description": "Error utils for all Webstudio packages",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"type": "module",
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"checks": "pnpm typecheck",
|
|
"dev": "pnpm build --watch",
|
|
"build": "rm -rf lib && esbuild 'src/**/*.ts' 'src/**/*.tsx' --outdir=lib",
|
|
"dts": "tsc --project tsconfig.dts.json"
|
|
},
|
|
"devDependencies": {
|
|
"@webstudio-is/tsconfig": "workspace:^"
|
|
},
|
|
"exports": {
|
|
"source": "./src/index.ts",
|
|
"types": "./lib/types/index.d.ts",
|
|
"import": "./lib/index.js"
|
|
},
|
|
"files": [
|
|
"lib/*",
|
|
"src/*",
|
|
"!*.test.*"
|
|
],
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"sideEffects": false
|
|
}
|