/
package.json
98 lines (98 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
88
89
90
91
92
93
94
95
96
97
98
{
"name": "module-keys",
"description": "Module identity as a basis for privilege separation for ESM & CommonJS modules",
"version": "2.0.2",
"keywords": [
"design-patterns",
"security",
"suspicious",
"whitelist",
"sec-roadmap"
],
"main": "index.js",
"files": [
"index.js",
"index.mjs",
"babel/index.js",
"cjs/index.js",
"lib/relpath.js"
],
"dependencies": {},
"scripts": {
"cover": "istanbul cover _mocha",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
"lint": "eslint .",
"prepack": "npm run lint && npm test",
"test": "mocha"
},
"pre-commit": [
"prepack"
],
"author": "@mikesamuel",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/mikesamuel/module-keys.git"
},
"bugs": {
"url": "https://github.com/mikesamuel/module-keys/issues"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-plugin-tester": "^5.3.0",
"chai": "^4.1.2",
"coveralls": "^3.0.0",
"eslint": "^4.15.0",
"eslint-config-strict": "^14.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"pre-commit": "^1.2.2"
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.js"
],
"env": {
"node": true
}
},
{
"files": [
"**/*.mjs"
],
"parserOptions": {
"sourceType": "module"
}
}
],
"extends": [
"strict"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "source",
"ecmaFeatures": {
"impliedStrict": false
}
},
"rules": {
"array-element-newline": "off",
"no-warning-comments": [
"error",
{
"terms": [
"do not submit"
]
}
],
"no-void": "off",
"strict": [
"error",
"global"
]
}
}
}