Skip to content

Commit b55b633

Browse files
authored
Merge pull request #30 from JounQin/master
upgrade `extract-text-webpack-plugin` to ^2.0.0-beta to fix webpack ^2.0 issue(webpack-contrib/extract-text-webpack-plugin#210)
2 parents aa21e0c + f408605 commit b55b633

File tree

12 files changed

+68
-15
lines changed

12 files changed

+68
-15
lines changed

.gitignore

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,47 @@ node_modules/
66
public/assets/
77
tmp/
88
coverage
9-
*.marko.js
9+
*.marko.js
10+
11+
# IntelliJ project files
12+
*.iml
13+
out
14+
gen
15+
16+
# Node template
17+
# Logs
18+
logs
19+
*.log
20+
npm-debug.log*
21+
22+
# Runtime data
23+
pids
24+
*.pid
25+
*.seed
26+
27+
# Directory for instrumented libs generated by jscoverage/JSCover
28+
lib-cov
29+
30+
# Coverage directory used by tools like istanbul
31+
32+
# nyc test coverage
33+
.nyc_output
34+
35+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
36+
.grunt
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (http://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
node_modules
46+
jspm_packages
47+
48+
# Optional npm cache directory
49+
.npm
50+
51+
# Optional REPL history
52+
.node_repl_history

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"devDependencies": {
55
"babel-plugin-rewire": "^1.0.0-rc-4",
66
"chai": "^3.5.0",
7-
"chokidar-cli": "^1.2.0",
7+
"chokidar": "^1.6.0",
88
"enzyme": "^2.4.0",
99
"eslint-watch": "^2.1.13",
1010
"flow-bin": "^0.28.0",
@@ -18,6 +18,7 @@
1818
"react-transform-catch-errors": "^1.0.2",
1919
"react-transform-hmr": "^1.0.4",
2020
"redbox-react": "^1.2.10",
21+
"regenerator-runtime": "^0.9.5",
2122
"rewire": "^2.5.2",
2223
"sinon": "^1.17.4",
2324
"supertest": "^1.2.0"
@@ -58,7 +59,7 @@
5859
"estraverse-fb": "^1.3.1",
5960
"exports-loader": "^0.6.3",
6061
"expose-loader": "^0.7.1",
61-
"extract-text-webpack-plugin": "^1.0.1",
62+
"extract-text-webpack-plugin": "^2.0.0-beta.1",
6263
"faker": "^3.1.0",
6364
"file-loader": "^0.9.0",
6465
"font-awesome": "^4.6.3",
@@ -118,21 +119,21 @@
118119
"shelljs": "^0.7.0",
119120
"style-loader": "^0.13.1",
120121
"url-loader": "^0.5.7",
121-
"webpack": "^2.1.0-beta.7",
122-
"webpack-dev-server": "^2.0.0-beta",
122+
"webpack": "^2.1.0-beta.17",
123+
"webpack-dev-server": "^2.1.0-beta.0",
123124
"webpack-isomorphic-tools": "^2.3.2",
124125
"why-did-you-update": "0.0.8"
125126
},
126127
"scripts": {
127-
"start": "sh scripts/start",
128-
"debug": "sh scripts/debug",
129-
"dev": "sh scripts/dev",
130-
"build": "sh scripts/build",
131-
"postinstall": "sh scripts/postinstall",
132-
"test": "sh scripts/test",
133-
"test:watch": "sh scripts/test-watch",
134-
"test:coverage": "sh scripts/test-coverage",
135-
"test:lint": "sh scripts/test-lint",
128+
"start": "sh scripts/start.sh",
129+
"debug": "sh scripts/debug.sh",
130+
"dev": "sh scripts/dev.sh",
131+
"build": "sh scripts/build.sh",
132+
"postinstall": "sh scripts/postinstall.sh",
133+
"test": "sh scripts/test.sh",
134+
"test:watch": "sh scripts/test-watch.sh",
135+
"test:coverage": "sh scripts/test-coverage.sh",
136+
"test:lint": "sh scripts/test-lint.sh",
136137
"flow:status": "flow status; test $? -eq 0 -o $? -eq 2",
137138
"flow:watch": "npm run flow:status && chokidar './app/**/*.js' './tests/**/*.js' -c 'npm run flow:status'",
138139
"flow:stop": "flow stop",

scripts/build

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
gulp build

scripts/debug renamed to scripts/debug.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
if [ -z "${NODE_ENV}" ]; then
23
export NODE_ENV=${1:-production}
34
fi

scripts/dev renamed to scripts/dev.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
if [ -z "${NODE_ENV}" ]; then
23
export NODE_ENV=${1:-development}
34
fi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
if [[ $NODE_ENV = "production" ]]; then
23
gulp build
34
fi

scripts/start renamed to scripts/start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
if [ -z "${NODE_ENV}" ]; then
23
export NODE_ENV=${1:-production}
34
fi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env bash
12
if [ -z "${NODE_ENV}" ]; then
23
export NODE_ENV=${1:-test}
34
fi
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#!/usr/bin/env bash
12
esw -w 'app/**/*-test.js' 'tests/**/*.js'

0 commit comments

Comments
 (0)