-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.83 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 1.83 KB
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
{
"name": "http-server-over-net",
"version": "1.0.0",
"description": "http server",
"main": "index.js",
"author": "Mark Partola",
"license": "MIT",
"scripts": {
"start": "rimraf ./dist && babel -d ./dist ./src -s && node dist/main.js",
"dev": "node dev.js",
"lint:js": "eslint ./src",
"lint-staged": "lint-staged",
"flow": "flow check"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-register": "^6.23.0",
"eslint": "^3.17.0",
"eslint-config-airbnb-base": "^11.1.0",
"eslint-config-prettier": "^1.4.1",
"eslint-plugin-flowtype": "^2.30.3",
"eslint-plugin-import": "^2.2.0",
"flow-bin": "^0.41.0",
"lint-staged": "^3.3.1",
"pre-commit": "^1.2.2"
},
"lint-staged": {
"*.js": "eslint"
},
"eslintConfig": {
"root": true,
"extends": [
"airbnb-base",
"plugin:flowtype/recommended"
],
"env": {
"node": true
},
"rules": {
"no-new": "off",
"class-methods-use-this": "off",
"no-restricted-syntax": "off",
"no-param-reassign": "off"
},
"parser": "babel-eslint",
"plugins": [
"flowtype"
]
},
"pre-commit": "lint-staged",
"dependencies": {
"babel-cli": "^6.23.0",
"babel-core": "^6.23.1",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-preset-env": "^1.2.0",
"babel-preset-es2017": "^6.22.0",
"mime": "^1.3.4",
"mz": "^2.6.0",
"rimraf": "^2.6.1"
},
"babel": {
"plugins": [
"transform-flow-strip-types",
"transform-object-rest-spread",
"transform-class-properties"
],
"presets": [
[
"env",
{
"targets": {
"node": 7
}
}
]
]
}
}