Socket
Socket
Sign inDemoInstall

@zerva/bin

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zerva/bin - npm Package Compare versions

Comparing version 0.7.26 to 0.7.29

9

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc