@parcel/create-react-app 2.3.0 → 2.3.3-nightly.2627

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/bin.js +10 -0
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@parcel/create-react-app",
3
- "version": "2.3.0",
3
+ "version": "2.3.3-nightly.2627+47379bf8",
4
4
  "bin": {
5
5
  "parcel-create-react-app": "lib/bin.js"
6
6
  },
7
- "main": "lib/bin.js",
7
+ "main": "src/bin.js",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/parcel-bundler/parcel.git",
@@ -31,7 +31,7 @@
31
31
  "v8-compile-cache": "^2.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@parcel/babel-register": "^2.3.0"
34
+ "@parcel/babel-register": "2.3.2"
35
35
  },
36
- "gitHead": "65ffb58e88024258c31e1f480241f293e29b25c5"
36
+ "gitHead": "47379bf8fabeb2cfe03ade8802d942388b153e5b"
37
37
  }
package/src/bin.js ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env node
2
+
3
+ 'use strict';
4
+
5
+ if (process.env.PARCEL_BUILD_ENV !== 'production') {
6
+ require('@parcel/babel-register');
7
+ }
8
+
9
+ require('v8-compile-cache');
10
+ require('./cli');