-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
118 lines (118 loc) · 2.81 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
{
"name": "mern-todo",
"version": "0.0.0",
"description": "Sample To-Do app using the MERN stack.",
"main": "./src/app.js",
"scripts": {
"start": "node ./dist/server.js",
"build:client": "webpack && cp client/index.html client/styles.css dist/public/",
"build:server": "babel ./server -d ./dist",
"build": "npm run build:server && npm run build:client",
"production": "node ./dist/server.js",
"test": "xo",
"clean": "rm -rf node_modules"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cuchi/mern-todo.git"
},
"author": "Paulo Henrique Cuchi",
"license": "MIT",
"bugs": {
"url": "https://github.com/cuchi/mern-todo/issues"
},
"homepage": "https://github.com/cuchi/mern-todo#readme",
"dependencies": {
"bluebird": "^3.4.1",
"body-parser": "^1.15.2",
"express": "^4.14.0",
"mongoose": "^4.5.8",
"morgan": "^1.7.0",
"passport": "^0.3.2",
"passport-local": "~1.0.0",
"express-session": "~1.14.0",
"react-dom": "~15.3.0",
"react-tap-event-plugin": "~1.0.0",
"material-ui": "~0.15.4",
"react": "~15.3.0",
"react-router": "~2.6.1",
"react-refetch": "~1.0.0-beta.8",
"connect-flash": "~0.1.1",
"dateformat": "~1.0.12",
"react-addons-update": "~15.3.1",
"immutable": "~3.8.1",
"es6-promise": "~3.2.1",
"whatwg-fetch": "~1.0.0"
},
"devDependencies": {
"xo": "^0.16.0",
"babel-cli": "~6.11.4",
"babel-preset-stage-2": "~6.13.0",
"babel-preset-es2015": "~6.13.2",
"babel-preset-react": "~6.11.1",
"webpack": "~1.13.2",
"jsx-loader": "~0.13.2",
"babel-core": "~6.13.2",
"babel-loader": "~6.2.5",
"react-hot-loader": "~1.3.0",
"webpack-dev-server": "~1.14.1",
"babel-polyfill": "~6.13.0",
"eslint-config-xo": "~0.15.4",
"eslint-plugin-react": "~6.2.0",
"eslint": "~3.4.0",
"eslint-config-xo-react": "~0.9.0"
},
"xo": {
"extends": "xo-react",
"esnext": true,
"space": 4,
"rules": {
"react/require-optimization": [
"off"
],
"react/jsx-boolean-value": [
"off"
],
"xo/no-process-exit": [
"off"
],
"react/jsx-closing-bracket-location": [
"error",
"line-aligned"
],
"react/jsx-curly-spacing": [
"error",
"always"
],
"operator-linebreak": [
"error",
"before"
],
"react/jsx-no-bind": [
"off"
],
"babel/object-curly-spacing": [
"error",
"always"
]
},
"overrides": [{
"files": "client/**/*.jsx",
"globals": [
"document"
],
"rules": {
"xo/filename-case": [
"error",
{ "case": "pascalCase" }
]
}
}]
},
"babel": {
"presets": [
"es2015",
"react"
]
}
}