@parcel/create-react-app 2.3.0 → 2.3.1

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.1",
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.1"
35
35
  },
36
- "gitHead": "65ffb58e88024258c31e1f480241f293e29b25c5"
36
+ "gitHead": "699f0b24c38eabcdad0960c62c03bd2f2902b19e"
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');