devkit-scripts 1.0.0

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.
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # devkit-scripts
2
+
3
+ Simple CLI tool for development workflow.
4
+
5
+ ## Install
6
+
7
+ npm install -g devkit-scripts
8
+
9
+ ## Usage
10
+
11
+ devkit start
12
+ devkit build
13
+ devkit hello
package/bin/index.js ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env node
2
+
3
+ const command = process.argv[2];
4
+
5
+ switch (command) {
6
+ case "start":
7
+ require("../commands/start");
8
+ break;
9
+ case "build":
10
+ require("../commands/build");
11
+ break;
12
+ case "hello":
13
+ require("../commands/hello");
14
+ break;
15
+ default:
16
+ console.log(`
17
+ Usage: devkit <command>
18
+
19
+ Commands:
20
+ start Run development server
21
+ build Build project
22
+ hello Test command
23
+ `);
24
+ }
@@ -0,0 +1 @@
1
+ console.log("📦 Building project...");
@@ -0,0 +1 @@
1
+ console.log("👋 Hello from devkit-scripts!");
@@ -0,0 +1 @@
1
+ console.log("🚀 Starting development server...");
package/package.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "devkit-scripts",
3
+ "version": "1.0.0",
4
+ "description": "Simple CLI scripts for dev workflow",
5
+ "bin": {
6
+ "devkit": "./bin/index.js"
7
+ },
8
+ "type": "commonjs",
9
+ "keywords": ["cli", "devtools", "scripts"],
10
+ "author": "Your Name",
11
+ "license": "MIT"
12
+ }