aionix 1.0.1 → 1.0.3

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/bin/aionix.cmd ADDED
@@ -0,0 +1,3 @@
1
+
2
+ @echo off
3
+ node "%~dp0index.js" %*
package/bin/index.js CHANGED
@@ -1,15 +1,16 @@
1
1
 
2
+ 'use strict';
3
+
2
4
  const chalk = require('chalk');
3
- const { exec } = require('child_process');
4
5
  const path = require('path');
5
6
 
6
7
  console.log(chalk.cyan.bold(`
7
- ╔══════════════════════════════╗
8
- 🚀 DEV-AI
9
- Offline Developer Toolkit
10
- ╚══════════════════════════════╝
8
+ +==============================+
9
+ | 🚀 AIONIX |
10
+ | Offline Developer Toolkit |
11
+ +==============================+
11
12
  `));
12
13
 
13
14
  console.log(chalk.green('Starting server...'));
14
15
 
15
- const server = require('../server/app');
16
+ require('../server/app');
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "aionix",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Offline Developer Toolkit - Learning, Tools & Productivity",
5
5
  "main": "server/app.js",
6
6
  "bin": {
7
7
  "dev-ai": "bin/index.js",
8
- "aionix": "./bin/index.js"
8
+ "aionix": "./bin/aionix.cmd"
9
9
  },
10
10
  "files": [
11
11
  "bin/",
@@ -28,5 +28,8 @@
28
28
  "express": "^4.18.2",
29
29
  "nedb-promises": "^6.2.1",
30
30
  "open": "^8.4.2"
31
+ },
32
+ "scripts": {
33
+ "start": "node ./bin/index.js"
31
34
  }
32
35
  }