-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
87 lines (87 loc) · 1.98 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
{
"name": "@protontech/sieve.js",
"version": "2.0.7",
"description": "JavaScript library to wrap sieve configuration",
"main": "src/index.js",
"module": "src/index.js",
"browser": "src/index.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "ava",
"lint": "eslint src --quiet",
"pretty": "prettier -c --write $(find src -type f -name '*.js')"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ProtonMail/sieve.js.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/ProtonMail/sieve.js/issues"
},
"homepage": "https://github.com/ProtonMail/sieve.js#readme",
"dependencies": {},
"devDependencies": {
"ava": "^2.3.0",
"eslint": "^5.9.0",
"eslint-config-synacor": "^3.0.3",
"esm": "^3.1.0",
"husky": "^1.2.0",
"lint-staged": "^8.1.0",
"prettier": "^1.15.3"
},
"ava": {
"require": [
"esm"
],
"files": [
"test/index.js"
],
"src": [
"src/**/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier -c --write",
"git add"
]
},
"eslintConfig": {
"extends": [
"eslint-config-synacor"
],
"rules": {
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"brace-style": [
"error",
"1tbs"
],
"jsx-quotes": [
"error",
"prefer-double"
],
"lines-around-comment": [
0
],
"arrow-body-style": [
"off",
"as-needed"
]
}
}
}