-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 1.63 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
{
"name": "simple-guards",
"version": "1.0.0",
"description": "Utils to add guard clauses to JS code",
"author": "David Barral <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/trabe/simple-guards.git"
},
"bugs": {
"url": "https://github.com/trabe/simple-guards/issues"
},
"homepage": "https://github.com/trabe/simple-guards",
"main": "lib/guards.js",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.2.1",
"babel-preset-env": "^1.6.1",
"eslint": "^4.17.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-unobtrusive": "^1.2.1",
"eslint-plugin-prettier": "^2.6.0",
"jest": "^22.1.4",
"prettier": "^1.10.2"
},
"scripts": {
"clean": "rm -fR ./lib",
"precompile": "npm run clean",
"compile": "babel -d lib/ src/",
"lint": "eslint ./src ./test --report-unused-disable-directives",
"test": "jest",
"prepublish": "npm run compile"
},
"babel": {
"presets": [
[
"env",
{
"browsers": [
"last 2 versions",
"IE >= 10"
]
}
]
]
},
"jest": {
"testRegex": "/test/.*-test\\.jsx?$"
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"prettier"
],
"extends": [
"unobtrusive",
"prettier"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"prettier/prettier": [
"error",
{
"trailingComma": "all",
"singleQuote": false,
"printWidth": 120
}
]
}
}
}