vanilla-jet 1.0.24 → 1.0.26

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.
@@ -10,8 +10,13 @@ let Functions = require('../framework/functions.js');
10
10
  let Dipper = require('../framework/dipper.js');
11
11
  let Config = require(processCwd() + '/config.js');
12
12
 
13
+ // -- Get environment
14
+ let env = process.argv[2] || 'development';
15
+ if (env === 'dev') { env = 'development'; }
16
+ if (env === 'build:qa') { env = 'qa'; }
17
+ if (env === 'build:prod') { env = 'production'; }
18
+
13
19
  // -- Init Dipper
14
- const env = process.argv[2] || 'development';
15
20
  let settings = Config.settings;
16
21
  settings['shared']['environment'] = env;
17
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-jet",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "description": "VannilaJet framework",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "scripts": {
10
10
  "setup": "node ./.scripts/generate_packages_json.js",
11
- "dev": "concurrently \"grunt --env=development\" \"nodemon index.js --ignore '**/public/**'\"",
11
+ "dev": "grunt --env=development",
12
12
  "build:qa": "grunt build --env=qa",
13
13
  "build:prod": "grunt build --env=production",
14
14
  "start": "pm2 start index.js -- --p production",
@@ -40,7 +40,6 @@
40
40
  "zlib": "1.0.5"
41
41
  },
42
42
  "devDependencies": {
43
- "concurrently": "^8.2.2",
44
43
  "grunt": "1.6.1",
45
44
  "grunt-cli": "1.4.3",
46
45
  "grunt-contrib-clean": "2.0.1",