forked from chrisveness/crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.85 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
{
"name": "crypto-libraries",
"description": "Collection of cryptographic routines",
"repository": { "type": "git", "url": "https://github.com/chrisveness/crypto" },
"author": "Chris Veness",
"version": "0.0.0",
"license": "MIT",
"type": "module",
"engines": { "node": "^13.2.0" },
"scripts": {
"test": "mocha --exit test/*.js",
"lint": "eslint *.js"
},
"devDependencies": {
"babel-eslint": "^10.0.0",
"chai": "chaijs/chai#pull/1317/head",
"eslint": "^7.0.0",
"mocha": "^7.0.0"
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"parser": "babel-eslint",
"extends": "eslint:recommended",
"rules": {
"array-bracket-spacing": [ "error", "always", { "singleValue": false } ],
"comma-dangle": [ "error", "always-multiline" ],
"comma-spacing": [ "error" ],
"curly": [ "error", "multi-line" ],
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"key-spacing": [ "error", { "align": "value" } ],
"keyword-spacing": [ "error" ],
"no-case-declarations": "warn",
"no-console": [ "warn", { "allow": [ "error", "info" ] } ],
"no-irregular-whitespace": "warn",
"no-redeclare": "warn",
"no-shadow": "warn",
"no-unused-vars": "warn",
"no-var": "error",
"object-curly-spacing": [ "error", "always" ],
"prefer-const": "error",
"quotes": [ "error", "single", "avoid-escape" ],
"semi": [ "error", "always" ],
"space-before-blocks": [ "error", "always" ],
"space-in-parens": [ "error" ],
"strict": [ "error", "global" ]
}
}
}