babel-preset-react-app 7.0.1 → 7.0.2

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/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -24,7 +24,7 @@ npm install babel-preset-react-app --save-dev
24
24
 
25
25
  Then create a file named `.babelrc` with following contents in the root folder of your project:
26
26
 
27
- ```js
27
+ ```json
28
28
  {
29
29
  "presets": ["react-app"]
30
30
  }
@@ -34,9 +34,9 @@ This preset uses the `useBuiltIns` option with [transform-object-rest-spread](ht
34
34
 
35
35
  ## Usage with Flow
36
36
 
37
- Flow is enabled by default. Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:
37
+ Make sure you have a `.flowconfig` file at the root directory. You can also use the `flow` option on `.babelrc`:
38
38
 
39
- ```
39
+ ```json
40
40
  {
41
41
  "presets": [["react-app", { "flow": true, "typescript": false }]]
42
42
  }
@@ -44,9 +44,9 @@ Flow is enabled by default. Make sure you have a `.flowconfig` file at the root
44
44
 
45
45
  ## Usage with TypeScript
46
46
 
47
- TypeScript is enabled by default. Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:
47
+ Make sure you have a `tsconfig.json` file at the root directory. You can also use the `typescript` option on `.babelrc`:
48
48
 
49
- ```
49
+ ```json
50
50
  {
51
51
  "presets": [["react-app", { "flow": false, "typescript": true }]]
52
52
  }
package/create.js CHANGED
File without changes
package/dependencies.js CHANGED
File without changes
package/dev.js CHANGED
File without changes
package/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babel-preset-react-app",
3
- "version": "7.0.1",
3
+ "version": "7.0.2",
4
4
  "description": "Babel preset used by Create React App",
5
5
  "repository": "facebook/create-react-app",
6
6
  "license": "MIT",
package/prod.js CHANGED
File without changes
package/test.js CHANGED
File without changes
File without changes