-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
124 lines (124 loc) · 3.23 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
{
"name": "carbon-sandbox",
"version": "1.0.0",
"main": "index.js",
"repository": {},
"license": "MIT",
"scripts": {
"postinstall": "node utils/styles.js",
"fix": "eslint --fix **/*.js",
"style": "gulp serve",
"dev": "node app.js",
"build": "webpack --optimize-minimize --define process.env.NODE_ENV=\"'production'\" || gulp sass",
"start": "NODE_ENV=production node app.js",
"prettier": "prettier --write \"**/*.{scss,css,js,md}\"",
"lint": "eslint client/src/Components",
"precommit": "lint-staged"
},
"dependencies": {
"babel-polyfill": "^6.23.0",
"babel-preset-react": "^6.23.0",
"body-parser": "^1.17.1",
"browser-sync": "^2.18.8",
"carbon-components": "^9.0.0",
"carbon-icons": "^7.0.5",
"carbon-components-react": "^6.4.2",
"carbon-themes": "^1.7.0",
"classnames": "^2.2.5",
"compression": "^1.6.2",
"express": "^4.16.2",
"express-session": "^1.15.2",
"fs-extra": "^3.0.1",
"lodash.debounce": "^4.0.8",
"node-sass": "^4.8.3",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-router-dom": "^4.0.0",
"webpack-dev-middleware": "^1.10.1",
"webpack-hot-middleware": "^2.18.0",
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.38",
"@babel/core": "^7.0.0-beta.38",
"@babel/plugin-external-helpers": "^7.0.0-beta.38",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.38",
"@babel/preset-env": "^7.0.0-beta.38",
"@babel/preset-react": "^7.0.0-beta.38",
"@babel/preset-stage-1": "^7.0.0-beta.38",
"autoprefixer": "^6.7.3",
"babel-core": "^6.23.1",
"babel-eslint": "^7.2.1",
"babel-loader": "^6.3.2",
"babel-plugin-dynamic-import-node": "^1.0.1",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.1.8",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"eslint": "^4.11.0",
"eslint-plugin-react": "^7.4.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^3.1.1",
"gulp-sass": "^3.1.0",
"ignore-loader": "^0.1.2",
"lint-staged": "^7.0.0",
"prettier": "^1.13.5",
"react-hot-loader": "3.0.0-beta.6",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.4.0"
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"react/jsx-uses-vars": 1,
"react/prop-types": 0
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"extends": "plugin:react/recommended",
"env": {
"node": true,
"browser": true,
"es6": true
}
},
"babel": {
"presets": [
"./scripts/env",
"@babel/preset-react",
[
"@babel/preset-stage-1",
{
"decoratorsLegacy": true
}
]
]
},
"prettier": {
"jsxBracketSameLine": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"*.js": [
"yarn prettier",
"yarn lint",
"git add"
],
"*.{css,md,scss}": [
"yarn prettier",
"git add"
]
}
}