-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
96 lines (96 loc) · 2 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
{
"name": "@civic/simple-cache",
"version": "1.0.1",
"description": "A simple cache function",
"main": "src/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/civicteam/simple-cache.git"
},
"scripts": {
"test": "cross-env NODE_ENV=test nyc --reporter=none mocha",
"coverage": "cross-env FORCE_COLOR=1 nyc report && nyc check-coverage",
"lint": "eslint --max-warnings=0 src",
"lint-autofix": "eslint --fix src",
"check": "npm run lint && npm run test && npm run coverage"
},
"keywords": [
"cache"
],
"author": "Daniel Kelleher",
"dependencies": {
"lodash": "^4.17.15",
"object-hash": "^2.0.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"chai": "^4.2.0",
"cross-env": "^6.0.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.2",
"mocha": "^6.2.2",
"nyc": "^15.0.0",
"prettier": "^1.19.1"
},
"nyc": {
"lines": 95,
"statements": 95,
"functions": 95,
"branches": 90,
"exclude": [
"test/*",
"build"
]
},
"eslintConfig": {
"extends": [
"airbnb-base",
"plugin:prettier/recommended"
],
"plugins": [
"prettier"
],
"env": {
"node": true,
"mocha": true
},
"rules": {
"max-len": [
"error",
{
"code": 120
}
],
"no-console": "off",
"func-names": [
"warn",
"never"
],
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"no-use-before-define": [
"error",
{
"functions": false,
"classes": true
}
],
"prettier/prettier": [
"error",
{
"printWidth": 120,
"singleQuote": true
}
]
}
}
}