@zerva/bin
Advanced tools
Comparing version 0.7.26 to 0.7.29
{ | ||
"name": "@zerva/bin", | ||
"version": "0.7.26", | ||
"version": "0.7.29", | ||
"description": "🌱 Zerva Command Line Tool", | ||
@@ -27,4 +27,4 @@ "bin": { | ||
"dependencies": { | ||
"@types/node": "^17.0.23", | ||
"esbuild": "^0.14.27", | ||
"@types/node": "^17.0.35", | ||
"esbuild": "^0.14.39", | ||
"node-notifier": "^10.0.1" | ||
@@ -37,4 +37,3 @@ }, | ||
"global": "pnpm -g ln" | ||
}, | ||
"readme": "# 🌱 @zerva/bin\n\n**Sub-project of [Zerva](https://github.com/holtwick/zerva)**\n\nIn your `package.json` you might want to add these lines:\n\n```json\n\"scripts\": {\n \"start\": \"zerva\",\n \"build\": \"zerva build\",\n \"serve\": \"node dist/main.cjs\"\n},\n```\n\nZerva uses [esbuild](https://esbuild.github.io) to create both the development server code and the production code. You can take advantage of conditional building using [defines](https://esbuild.github.io/api/#define). This can be used to have code that avoids certain imports or otherwise unneed stuff in production mode. I.e. in your code you can do stuff like this:\n\n```ts\nif (ZERVA_DEVELEPMENT) {\n /* do something */\n}\n```\n\nValid defines are:\n\n- `ZERVA_DEVELOPMENT` is `true` when started as `zerva`\n- `ZERVA_PRODUCTION` is `true` when started as `zerva build`\n\nFor better compatibility the defines can also be accessed as `process.env.ZERVA_DEVELOPMENT` and `process.env.ZERVA_PRODUCTION`.\n\n```\nnpm install -D @zerva/bin @zerva/core @zerva/http \n```" | ||
} | ||
} |
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"target": "es2020", | ||
"declaration": true, | ||
"esModuleInterop": true, | ||
"isolatedModules": true, | ||
"jsx": "preserve", | ||
"lib": ["esnext", "dom"], | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"outDir": "dist/esm", | ||
"resolveJsonModule": true, | ||
"sourceMap": true, | ||
"strictNullChecks": true, | ||
"strict": true, | ||
"types": ["node", "jest"], | ||
"allowJs": true | ||
}, | ||
"include": ["src/**/*", "index.ts"], | ||
"exclude": ["node_modules", "dist", "src/**/*.spec.ts"] | ||
"extends": "../tsconfig.json" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
448021
192
Updated@types/node@^17.0.35
Updatedesbuild@^0.14.39