forked from stipsan/ioredis-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 3.47 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "ioredis-mock",
"description": "This library emulates ioredis by performing all operations in-memory.",
"license": "MIT",
"author": "Cody Olsen <[email protected]>",
"homepage": "https://github.com/stipsan/ioredis-mock#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stipsan/ioredis-mock.git"
},
"bugs": {
"url": "https://github.com/stipsan/ioredis-mock/issues"
},
"main": "./lib",
"files": [
"example.js",
"jest.js",
"lib/"
],
"scripts": {
"build:babel": "npx rimraf lib && npx mkdirp lib && babel src --out-dir lib",
"build:jest.js": "esbuild src/index.js --bundle --external:fengari --external:fengari-interop --external:lodash --external:minimatch --external:standard-as-callback --outfile=jest.js --platform=node --target=node10",
"codeclimate": "codeclimate-test-reporter < ./coverage/lcov.info",
"precoverage": "npx rimraf coverage && npx mkdirp coverage",
"coverage": "npm test -- --coverage",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"lint": "eslint .",
"prepublishOnly": "npm run build:babel && npm run build:jest.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "jest",
"test:jest.js": "jest --config jest.config.jest.js",
"test:e2e": "jest --config jest.config.redis.js",
"update-compat": "node scripts/update-compat && git add compat.md README.md && git commit --quiet -m \"docs: Update feature compat table\" &> /dev/null || true"
},
"dependencies": {
"fengari": "^0.1.4",
"fengari-interop": "^0.1.2",
"lodash": "^4.17.21",
"standard-as-callback": "^2.1.0"
},
"peerDependencies": {
"ioredis": "4.x",
"redis-commands": "1.x"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/register": "^7.13.14",
"babel-eslint": "^10.1.0",
"bluebird": "^3.7.2",
"chance": "^1.1.7",
"codeclimate-test-reporter": "^0.5.1",
"coveralls": "^3.1.0",
"esbuild": "^0.11.12",
"eslint": "^7.24.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.5",
"husky": "^6.0.0",
"ioredis": "^4.19.2",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"prettier-package-json": "^2.1.3",
"redis-commands": "^1.7.0",
"stream-mock": "^2.0.5"
},
"keywords": [
"fakeredis",
"in-memory",
"ioredis",
"ioredis-mock",
"mock-ioredis",
"mock-redis",
"redis",
"redis fake",
"redis inmemory",
"redis js",
"redis memory",
"redis mock",
"redis standalone",
"redis test",
"redis testing",
"redis-js",
"redis-mock",
"redisjs"
],
"engines": {
"node": ">=10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.json": [
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
],
"package.json": [
"prettier-package-json --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5"
},
"release": {
"prepare": [
"@semantic-release/npm"
]
},
"runkitExampleFilename": "example.js"
}