/
package.json
134 lines (134 loc) · 3.36 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
129
130
131
132
133
134
{
"name": "@adonisjs/redis",
"description": "AdonisJS addon for Redis",
"version": "8.0.1",
"type": "module",
"main": "build/index.js",
"files": [
"build",
"!build/bin",
"!build/tests",
"!build/tests_helpers"
],
"engines": {
"node": ">=18.16.0"
},
"exports": {
".": "./build/index.js",
"./services/main": "./build/services/main.js",
"./redis_provider": "./build/providers/redis_provider.js",
"./factories": "./build/factories/main.js",
"./types": "./build/src/types.js"
},
"scripts": {
"pretest": "npm run lint",
"test": "c8 npm run quick:test",
"test:docker": "docker-compose -f docker-compose.ci.yml run --rm tests",
"quick:test": "node --enable-source-maps --loader=ts-node/esm ./bin/test.js",
"clean": "del-cli build",
"copy:templates": "copyfiles --up 1 \"stubs/**/**/*.stub\" build",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"postcompile": "npm run copy:templates",
"build": "npm run compile",
"release": "np",
"version": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"typecheck": "tsc --noEmit",
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/redis"
},
"devDependencies": {
"@adonisjs/assembler": "^7.0.0",
"@adonisjs/core": "^6.2.0",
"@adonisjs/eslint-config": "^1.2.1",
"@adonisjs/prettier-config": "^1.2.1",
"@adonisjs/tsconfig": "^1.2.1",
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@japa/assert": "^2.1.0",
"@japa/expect-type": "^2.0.1",
"@japa/file-system": "^2.1.1",
"@japa/runner": "^3.1.1",
"@swc/core": "^1.3.102",
"@types/node": "^20.10.7",
"c8": "^9.0.0",
"copyfiles": "^2.4.1",
"del-cli": "^5.1.0",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"np": "^9.2.0",
"prettier": "^3.1.1",
"ts-node": "^10.9.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3"
},
"dependencies": {
"@poppinss/utils": "^6.7.0",
"emittery": "^1.0.1",
"ioredis": "^5.3.2"
},
"peerDependencies": {
"@adonisjs/core": "^6.2.0"
},
"author": "virk,adonisjs",
"license": "MIT",
"homepage": "https://github.com/adonisjs/redis#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/adonisjs/redis.git"
},
"bugs": {
"url": "https://github.com/adonisjs/redis/issues"
},
"keywords": [
"redis",
"ioredis"
],
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**",
"src/repl_bindings.ts"
]
},
"tsup": {
"entry": [
"./index.ts",
"./src/types.ts",
"./services/main.ts",
"./providers/redis_provider.ts",
"./factories/main.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}