Skip to content

Commit d28be7a

Browse files
author
SKOLZ
committed
included postcss by default.
1 parent 2c33675 commit d28be7a

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

generators/app/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ class GeneratorReact extends Generator {
158158
answers.nukaCarousel
159159
);
160160
this.includeNumeral = hasFeature("numeral", answers.numeral);
161-
this.includePostcss = hasFeature("postcss", answers.postcss);
162161
this.includeReactAlert = hasFeature("reactAlert", answers.reactAlert);
163162
this.includeReactModal = hasFeature("reactModal", answers.reactModal);
164163
this.includeReactGoogleMaps = hasFeature(
@@ -198,7 +197,6 @@ class GeneratorReact extends Generator {
198197
includeMoment: this.includeMoment,
199198
includeNukaCarousel: this.includeNukaCarousel,
200199
includeNumeral: this.includeNumeral,
201-
includePostcss: this.includePostcss,
202200
includeReactAlert: this.includeReactAlert,
203201
includeReactModal: this.includeReactModal,
204202
includeReactGoogleMaps: this.includeReactGoogleMaps,

generators/app/templates/_package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
"numeral": "^2.0.6",<%
2929
}
3030

31-
if (includePostcss) {%>
32-
"postcss": "^6.0.11",<%
33-
}
34-
3531
if (includeReactAlert) {%>
3632
"react-alert": "^2.3.0",<%
3733
}
@@ -68,6 +64,7 @@
6864
"history": "^4.7.2",
6965
"i18next": "^9.0.0",
7066
"lodash": "^4.17.4",
67+
"postcss": "^6.0.11",
7168
"prop-types": "^15.5.10",
7269
"react": "^15.6.1",
7370
"react-addons-perf": "^15.4.2",

generators/app/templates/eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ module.exports = {
1212
},
1313
sourceType: 'module'
1414
},
15-
plugins: ['react', 'prettier', 'flowtype'],
15+
plugins: ['react', 'prettier'],
1616
extends: [
1717
'eslint:recommended',
1818
'airbnb',
1919
'plugin:react/recommended',
2020
'prettier',
21-
'prettier/flowtype',
2221
'prettier/react'
2322
],
2423
globals: {

0 commit comments

Comments
 (0)