-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
96 lines (96 loc) · 3.1 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": "handy-redis",
"version": "2.3.1",
"packageManager": "[email protected]",
"description": "A redis client with first-class Promise and TypeScript support, and extensive documentation.",
"keywords": [
"redis",
"typescript",
"promise"
],
"homepage": "https://github.com/mmkal/handy-redis#readme",
"bugs": {
"url": "https://github.com/mmkal/handy-redis/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/mmkal/handy-redis.git"
},
"license": "ISC",
"author": "mmkal",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"<=4.0": {
"*": [
"ts34/*"
]
}
},
"files": [
"dist",
"ts34"
],
"scripts": {
"_": "echo \"these pass-through-to-docker scripts are mostly just as a hint for when I come back to this in a few weeks and forget what I'm supposed to do.\"",
"prebuild": "pnpm codegen",
"build": "pnpm typecheck && pnpm compile",
"check-clean": "git diff --exit-code || (echo 'Git changes detect. Stash, stage or commit then and re-run if this is expected.' && exit 1)",
"preclean": "del-cli temp/backup-test-generated && mkdir -p temp && cp -r test/generated temp/backup-test-generated",
"clean": "del-cli 'dist' 'ts34' 'src/generated' 'test/generated'",
"codegen": "ts-node codegen/generate-schema && ts-node codegen/generate-client && ts-node codegen/generate-tests",
"compile": "tsc -p tsconfig.lib.json",
"postcompile": "node downlevel",
"coverage": "pnpm jest --coverage",
"coveralls": "pnpm coverage --coverageReporters=text-lcov | coveralls",
"jest": "jest --runInBand --forceExit",
"lint": "eslint --max-warnings 0 --ext .ts,.js,.md .",
"redis-cli": "docker-compose exec redis redis-cli",
"redis:down": "docker-compose down",
"redis:up": "docker-compose up",
"test": "run-s clean codegen build coverage lint check-clean",
"tsn": "ts-node --transpile-only",
"typecheck": "tsc -p ."
},
"dependencies": {
"@types/redis": "^2.8.30"
},
"devDependencies": {
"@types/cross-spawn": "6.0.2",
"@types/eslint": "7.29.0",
"@types/glob": "7.2.0",
"@types/jest": "27.4.1",
"@types/json-schema": "^7.0.15",
"@types/lodash": "4.14.181",
"@types/node": "16.11.27",
"@types/redis-mock": "0.17.1",
"@typescript-eslint/eslint-plugin": "5.19.0",
"@typescript-eslint/parser": "5.19.0",
"del-cli": "4.0.1",
"downlevel-dts": "0.9.0",
"eslint": "8.13.0",
"eslint-config-xo": "0.40.0",
"eslint-config-xo-typescript": "0.50.0",
"eslint-plugin-codegen": "0.16.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "25.7.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-unicorn": "38.0.1",
"eson-parser": "0.0.6",
"expect-type": "0.13.0",
"fs-syncer": "0.3.4-next.1",
"jest": "27.5.1",
"lodash": "4.17.21",
"npm-run-all": "4.1.5",
"prettier": "2.6.2",
"redis": "3.1.2",
"redis-mock": "0.56.3",
"string-argv": "0.3.1",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.3"
},
"engines": {
"node": ">= 10.0.0"
}
}