-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 1.89 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
{
"name": "redis-eval-mock",
"version": "1.0.1",
"description": "A mock version of Redis EVAL to test Lua scripts",
"keywords": [
"redis",
"lua",
"eval",
"mock",
"test"
],
"repository": {
"type": "git",
"url": "https://github.com/plsmphnx/redis-eval-mock.git"
},
"author": "Microsoft",
"license": "MIT",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"interface.lua",
"lib/**/*.js",
"lib/**/*.d.ts",
"!lib/**/*.spec.*"
],
"dependencies": {
"deasync": "^0.1.27",
"lua.vm.js": "^0.0.1",
"msgpack5": "^5.3.2"
},
"peerDependencies": {
"@types/redis": "^2.8.0"
},
"devDependencies": {
"@princjef/tslint-config": "^2.0.1",
"@types/deasync": "^0.1.2",
"@types/jest": "^27.5.2",
"@types/msgpack5": "^3.4.2",
"@types/node": "^12.20.55",
"@types/redis": "^2.8.32",
"@types/redis-mock": "^0.17.1",
"jest": "^27.5.1",
"prettier": "^2.7.1",
"pubcop": "^1.0.2",
"redis-evalsha": "^1.1.1",
"redis-mock": "^0.56.3",
"tslint": "^5.20.1",
"typescript": "^4.7.4"
},
"scripts": {
"lint": "tslint --project tsconfig.json --fix",
"lint:verify": "tslint --project tsconfig.json",
"format": "prettier --write \"**/*\"",
"format:verify": "prettier --check \"**/*\"",
"prebuild": "npm run lint && npm run format",
"prebuild:verify": "npm run lint:verify && npm run format:verify",
"build": "tsc",
"build:verify": "tsc",
"pretest": "npm run build",
"pretest:verify": "npm run build:verify",
"test": "jest",
"test:verify": "jest",
"prepublishOnly": "npm run test:verify && pubcop --checks tag branch"
},
"jest": {
"roots": [
"lib"
],
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 95,
"lines": 95,
"statements": 95
}
}
}
}