File tree 5 files changed +6684
-46
lines changed
5 files changed +6684
-46
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ src/main/webapp/react-app/coverage*
37
37
src /main /webapp /react-app /npm-debug.log
38
38
39
39
// Javascript bundle
40
- src /main /webapp /js *
40
+ src /main /webapp /static / js / *
41
41
42
42
// CSS bundle
43
- src /main /webapp /css *
43
+ src /main /webapp /static / css / *
Original file line number Diff line number Diff line change 131
131
132
132
<executions >
133
133
<execution >
134
- <id >install node and npm </id >
134
+ <id >install node and yarn </id >
135
135
<goals >
136
- <goal >install-node-and-npm </goal >
136
+ <goal >install-node-and-yarn </goal >
137
137
</goals >
138
138
<configuration >
139
139
<nodeVersion >v8.9.4</nodeVersion >
140
- <npmVersion >5.6.0</ npmVersion >
140
+ <yarnVersion >v1.3.2</ yarnVersion >
141
141
</configuration >
142
142
</execution >
143
- <!-- Uncomment this section if building project for the first time or
144
- the package.json has been updated -->
145
- <!-- <execution> -->
146
- <!-- <id>npm install</id> -->
147
- <!-- <goals> -->
148
- <!-- <goal>npm</goal> -->
149
- <!-- </goals> -->
150
- <!-- Optional configuration which provides for running any npm command -->
151
- <!-- <configuration> -->
152
- <!-- <arguments>install</arguments> -->
153
- <!-- </configuration> -->
154
- <!-- </execution> -->
155
143
156
144
<execution >
157
- <id >npm run clean</id >
145
+ <id >yarn install</id >
146
+ <goals >
147
+ <goal >yarn</goal >
148
+ </goals >
149
+ <configuration >
150
+ <arguments >install</arguments >
151
+ </configuration >
152
+ </execution >
153
+
154
+ <execution >
155
+ <id >yarn run clean</id >
158
156
<goals >
159
- <goal >npm </goal >
157
+ <goal >yarn </goal >
160
158
</goals >
161
159
<configuration >
162
160
<arguments >run clean</arguments >
163
161
</configuration >
164
162
</execution >
165
163
166
164
<execution >
167
- <id >npm run start</id >
165
+ <id >yarn run start</id >
168
166
<goals >
169
- <goal >npm </goal >
167
+ <goal >yarn </goal >
170
168
</goals >
171
169
<configuration >
172
170
<arguments >run start</arguments >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
"start" : " cross-env NODE_ENV=development BABEL_ENV=development webpack --env=development --progress" ,
8
8
"prod" : " npm run clean && npm run build-prod" ,
9
9
"build-prod" : " cross-env NODE_ENV=production BABEL_ENV=production webpack --env=production -p --progress" ,
10
- "clean" : " cd ../static && rd /s /q js css" ,
10
+ "clean" : " cd ../static && del /S /Q js\\ * css\\ * " ,
11
11
"test:clean" : " rd /s /q coverage" ,
12
12
"test" : " jest" ,
13
13
"test:coverage" : " jest --coverage" ,
38
38
"sass-loader" : " ^6.0.6" ,
39
39
"style-loader" : " ^0.19.0" ,
40
40
"url-loader" : " ^0.6.2" ,
41
- "webpack" : " ^3.10.0" ,
42
- "webpack-dev-server" : " ^2.10.0"
41
+ "webpack" : " ^3.10.0"
43
42
},
44
43
"dependencies" : {
45
- "babel-preset-react-hmre" : " ^1.1.1" ,
46
44
"prop-types" : " ^15.6.0" ,
47
45
"react" : " ^16.2.0" ,
48
46
"react-dom" : " ^16.2.0" ,
You can’t perform that action at this time.
0 commit comments