-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
179 lines (179 loc) · 5.97 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "nyao",
"description": "The open-source chat application for developers.",
"author": {
"name": "Gerard Rovira Sánchez",
"email": "[email protected]",
"url": "zurfyx.com"
},
"version": "0.9.0-alpha",
"repository": "https://github.com/zurfyx/nyao",
"keywords": [
"nyao",
"chat",
"real time",
"developers",
"programmers",
"open source",
"react"
],
"main": "frontend/app.jsx",
"scripts": {
"start": "npm run start-prod",
"start-prod": "concurrently \"npm run start-prod-backend\" \"npm run start-prod-frontend\"",
"start-prod-backend": "npm run start-dev-backend",
"start-prod-frontend": "npm run start-dev-frontend",
"start-dev": "concurrently \"npm run start-dev-backend\" \"npm run start-dev-frontend\"",
"start-dev-backend": "better-npm-run start-dev-backend",
"start-dev-frontend": "better-npm-run start-dev-frontend",
"test": "npm run test-backend && npm run test-frontend && npm run test-e2e",
"test-backend": "better-npm-run test-backend",
"test-frontend": "better-npm-run test-frontend",
"test-e2e": "echo \"E2E tests are coming soon...\"",
"coverage": "better-npm-run coverage-backend && mv coverage/coverage.raw.json coverage/coverage.backend.raw.json && better-npm-run coverage-frontend && mv coverage/coverage.raw.json coverage/coverage.frontend.raw.json && istanbul-merge --out coverage/coverage.raw.json coverage/coverage.backend.raw.json coverage/coverage.frontend.raw.json",
"lint": "eslint ."
},
"betterScripts": {
"start-dev-backend": {
"command": "nodemon backend/server.js --exec babel-node",
"env": {
"NODE_ENV": "development",
"PORT": 3030,
"DEBUG": "api:info,api:dev,api:error",
"DEBUG_COLORS": true
}
},
"start-dev-frontend": {
"command": "webpack-dev-server --config webpack/dev.config.js",
"env": {
"NODE_ENV": "development",
"PORT": 3000,
"API_PORT": 3030
}
},
"test-backend": {
"command": "mocha --compilers js:babel-core/register --require babel-polyfill ./backend/__tests__/helper.js \"./backend/**/*.test.js\" --timeout 15000",
"env": {
"NODE_ENV": "test",
"PORT": 3030,
"DEBUG": "api:info,api:dev,api:error"
}
},
"test-frontend": {
"command": "mocha --webpack-config webpack.config-test.js --compilers js:babel-core/register --require babel-polyfill --require ignore-styles ./frontend/__tests__/helper.js \"./frontend/**/*.test@(.js|.jsx)\" --timeout 15000",
"env": {
"NODE_ENV": "test",
"PORT": 3000
}
},
"coverage-backend": {
"command": "istanbul --include-all-sources cover _mocha -- --compilers js:babel-core/register --require babel-polyfill ./backend/__tests__/helper.js \"./backend/**/*.test.js\" --timeout 15000",
"env": {
"NODE_ENV": "test",
"PORT": 3030,
"DEBUG": "api:error"
}
},
"coverage-frontend": {
"command": "istanbul --include-all-sources cover _mocha -- --compilers js:babel-core/register --require babel-polyfill --require ignore-styles ./frontend/__tests__/helper.js \"./frontend/**/*.test@(.js|.jsx)\" --timeout 15000",
"env": {
"NODE_ENV": "test",
"PORT": 3000
}
}
},
"dependencies": {
"async-foreach": "^0.1.3",
"bcrypt": "^1.0.2",
"better-npm-run": "0.0.11",
"body-parser": "^1.15.2",
"codemirror": "^5.23.0",
"concurrently": "^3.1.0",
"config": "^1.24.0",
"connect-redis": "^3.1.0",
"cookie-parser": "^1.4.3",
"crypto": "0.0.3",
"debug": "^2.6.0",
"express": "^4.14.0",
"express-session": "^1.14.1",
"express-validator": "^2.20.10",
"http": "0.0.0",
"ip-range-check": "0.0.2",
"isomorphic-fetch": "^2.2.1",
"marked": "^0.3.6",
"mongoose": "^4.7.8",
"morgan": "^1.7.0",
"passport": "^0.3.2",
"passport-github": "^1.1.0",
"passport-google-oauth2": "^0.1.6",
"passport-local": "^1.0.0",
"prismjs": "^1.6.0",
"react": "^15.4.2",
"react-codemirror": "^0.3.0",
"react-contextmenu": "^2.0.0",
"react-dom": "^15.4.2",
"react-fontawesome": "^1.5.0",
"react-modal": "^1.6.5",
"react-redux": "^5.0.2",
"react-router": "^3.0.2",
"react-router-redux": "^4.0.7",
"react-textarea-autosize": "^4.0.5",
"redis": "^2.6.2",
"redux": "^3.6.0",
"redux-form": "^6.4.3",
"redux-thunk": "^2.2.0",
"socket.io": "^1.5.1",
"socket.io-client": "^1.7.2",
"validator": "^6.1.0"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-loader": "^6.2.10",
"babel-plugin-webpack-loaders": "^0.8.0",
"babel-polyfill": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-es2016": "^6.22.0",
"babel-preset-es2017": "^6.22.0",
"babel-preset-react": "^6.22.0",
"babel-preset-stage-0": "^6.22.0",
"babel-root-import": "^4.1.3",
"chai": "^3.5.0",
"css-loader": "^0.26.1",
"enzyme": "^2.7.1",
"eslint": "^3.12.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-import-resolver-babel-root-import": "0.0.2",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.8.0",
"file-loader": "^0.9.0",
"ignore-styles": "^5.0.1",
"istanbul": "^1.1.0-alpha.1",
"istanbul-merge": "^1.1.1",
"jsdom": "^9.9.1",
"mocha": "^3.2.0",
"mockery": "^2.0.0",
"mockgoose": "^6.0.8",
"nock": "^9.0.2",
"node-sass": "^4.3.0",
"nodemon": "^1.11.0",
"react-addons-test-utils": "^15.4.2",
"react-hot-loader": "^3.0.0-beta.6",
"redbox-react": "^1.3.3",
"redux-logger": "^2.7.4",
"redux-mock-store": "^1.2.1",
"sass-loader": "^4.1.1",
"sinon": "^1.17.7",
"style-loader": "^0.13.1",
"superagent": "^3.1.0",
"url-loader": "^0.5.7",
"webpack": "2.4.1",
"webpack-dev-server": "2.4.1"
},
"engines": {
"node": ">=6.0",
"npm": ">=3.0"
}
}