create-prod-backend 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +6 -3
package/index.js CHANGED
@@ -5,6 +5,7 @@ import { execSync } from "child_process";
5
5
  import fs from "fs";
6
6
  import path from "path";
7
7
 
8
+ console.log("CLI is running...")
8
9
 
9
10
  // answer object will have projectName, useMongo, ENV, dependencies, npmi
10
11
  // to access these values we can use answer.projectName, answer.useMongo, answer.ENV, answer.dependencies, answer.npmi
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "create-prod-backend",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A cli tool to generate a production-ready backend boilerplate with Express.js, MongoDB, and essential features.",
5
5
  "main": "index.js",
6
+ "bin": {
7
+ "create-prod-backend": "./index.js"
8
+ },
6
9
  "scripts": {
7
10
  "test": "echo \"Error: no test specified\" && exit 1",
8
11
  "build": "tsc"
@@ -13,10 +16,10 @@
13
16
  "production",
14
17
  "generator"
15
18
  ],
16
- "author": "codeurge123",
19
+ "author": "codeurge316(@bansalyash)",
17
20
  "license": "ISC",
18
21
  "type": "module",
19
22
  "dependencies": {
20
23
  "inquirer": "^13.3.2"
21
24
  }
22
- }
25
+ }