forked from lapo-luchini/asn1js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.66 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
{
"name": "@lapo/asn1js",
"version": "1.2.3",
"description": "Generic ASN.1 parser/decoder that can decode any valid ASN.1 DER or BER structures.",
"main": "asn1.js",
"repository": {
"type": "git",
"url": "git+https://github.com/lapo-luchini/asn1js.git"
},
"keywords": [ "asn1", "ber", "der", "pem" ],
"author": "Lapo Luchini <[email protected]>",
"license": "ISC",
"bugs": { "url": "https://github.com/lapo-luchini/asn1js/issues" },
"homepage": "https://lapo.it/asn1js/",
"files": [ "asn1.js", "base64.js", "hex.js", "int10.js", "oids.js" ],
"scripts" : {
"lint" : "npx eslint asn1.js base64.js hex.js int10.js oids.js parseRFC.js dumpASN1.js",
"test" : "node test"
},
"eslintConfig": {
"env": {
"amd": true,
"browser": true,
"node": true
},
"extends": [ "eslint:recommended" ],
"globals": {
"Uint8Array": "readonly"
},
"rules": {
"strict": [ "error", "function" ],
"indent": [ "error", 4, { "ignoredNodes": [ "Program > ExpressionStatement > CallExpression > FunctionExpression > BlockStatement > ExpressionStatement[directive='use strict']:first-child" ] } ],
"linebreak-style": [ "error", "unix" ],
"semi": [ "warn", "always" ],
"comma-dangle": [ "error", "never" ]
},
"overrides": [
{
"files": [ "test.js", "parseRFC.js", "dumpASN1.js" ],
"parserOptions": {
"ecmaVersion": 2020
},
"rules": {
"strict": [ "error", "global" ],
"comma-dangle": [ "error", "always-multiline" ]
}
}, {
"files": [ "oids.js" ],
"rules": {
"indent": "off"
}
}
]
}
}