-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
97 lines (97 loc) · 2.16 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
{
"name": "redistimeseries-js",
"version": "2.3.1",
"description": "JavaScript client for RedisTimeSeries",
"author": "Milos Nikolovski",
"license": "MIT",
"homepage": "https://github.com/nikolovskimilos/redistimeseries-js#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/nikolovskimilos/redistimeseries-js.git"
},
"bugs": {
"url": "https://github.com/nikolovskimilos/redistimeseries-js/issues"
},
"keywords": [
"redis",
"redis-client",
"timeseries",
"javascript",
"nodejs"
],
"files": [
"src/"
],
"main": "index.js",
"scripts": {
"lint": "eslint --color ./src ./tests ./examples",
"lint-fix": "eslint --fix --color ./src ./tests ./examples",
"lint-watch": "eslint --fix -w --color ./src ./tests ./examples",
"test": "NODE_PATH=src/ jest",
"test-coverage": "NODE_PATH=src/ jest --coverage",
"test-watch": "NODE_PATH=src/ jest --watchAll --bail"
},
"dependencies": {
"redis": "^3.1.2"
},
"devDependencies": {
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.23.4",
"jest": "^27.0.4"
},
"eslintConfig": {
"extends": "airbnb-base",
"root": true,
"env": {
"node": true,
"jest": true
},
"plugins": [
"import"
],
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"comma-dangle": [
"error",
"never"
],
"max-len": [
"error",
{
"code": 125,
"ignoreComments": true
}
],
"no-debugger": 1,
"no-underscore-dangle": 0,
"object-curly-spacing": 0,
"object-curly-newline": 0,
"no-plusplus": 0,
"class-methods-use-this": 0
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageDirectory": "./coverage-report",
"testMatch": [
"<rootDir>/tests/**/?(*.)(spec|test).js"
],
"testEnvironment": "node",
"moduleDirectories": [
"node_modules",
"./src/",
"./tests/"
],
"moduleFileExtensions": [
"js"
],
"testPathIgnorePatterns": [
"/tests/__mocks__/"
]
}
}