File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,18 @@ npm install
2525npm start
2626```
2727
28+ ## For WINDOWS
29+
30+ ` npm install ` might fail.
31+
32+ View detail with this [ pull request] ( https://github.com/ymyqwe/Websocket-React-Chatroom/pull/9 )
33+
34+ - Try Out
35+
36+ ``` bash
37+ npm run start:CE
38+ ```
39+
2840## Demo
2941
3042[ Live Demo] ( http://chat.yumingyuan.me )
@@ -44,6 +56,10 @@ npm start
4456
4557## Changelog
4658
59+ ### [ 3.1.0] / 2019-12-30
60+
61+ - Add [ cross-env] ( https://www.npmjs.com/package/cross-env ) package to support WINDOWS
62+
4763### [ 3.0.0] / 2019-11-19
4864
4965- Refactor with Typescript
Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " " ,
8- "start" : " cross-env NODE_ENV=dev node server.js" ,
9- "prod" : " cross-env NODE_ENV=production node server.js" ,
8+ "start" : " NODE_ENV=dev node server.js" ,
9+ "prod" : " NODE_ENV=production node server.js" ,
10+ "start:CE" : " cross-env NODE_ENV=dev node server.js" ,
11+ "prod:CE" : " cross-env NODE_ENV=production node server.js" ,
1012 "build" : " webpack -p --config webpack.config.prod.js" ,
1113 "server" : " run-s build prod" ,
1214 "lint" : " eslint src --fix --ext .tsx,.ts"
You can’t perform that action at this time.
0 commit comments