-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 4.26 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 4.26 KB
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
{
"name": "idempot-js",
"version": "0.1.0",
"description": "Idempotency middleware for Hono, Express, and Fastify with pluggable storage backends",
"private": true,
"type": "module",
"packageManager": "pnpm@10.32.1",
"keywords": [
"hono",
"express",
"fastify",
"middleware",
"idempotency",
"idempotent",
"ietf",
"retry",
"duplicate-detection",
"draft-ietf-httpapi-idempotency-key-header-07"
],
"repository": {
"type": "git",
"url": "https://github.com/idempot-dev/idempot-js"
},
"license": "MIT",
"scripts": {
"build": "pnpm -r build",
"test": "tap --reporter dot",
"test:coverage": "tap --show-full-coverage",
"test:coverage:html": "tap --coverage-report=html",
"test:verify-coverage": "tap --statements=100 --branches=100 --functions=100 --lines=100",
"test:verify-coverage-min": "tap --statements=100 --branches=100 --functions=100 --lines=100 --reporter=min",
"lint": "eslint packages/core/src packages/frameworks/*/index.js packages/stores/*/index.js packages/stores/redis/node-redis.js packages/stores/redis/deno-redis.js",
"lint:fix": "eslint packages/core/src packages/frameworks/*/index.js packages/stores/*/index.js packages/stores/redis/node-redis.js packages/stores/redis/deno-redis.js --fix",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,json,md}\"",
"check": "npm run format:check && npm run lint",
"example": "node examples/basic-app.js",
"example:sqlite": "node examples/sqlite-app.js",
"example:postgres": "node examples/postgres-app.js",
"example:postgres:setup": "bash examples/postgres-setup.sh",
"example:redis": "node examples/redis-app.js",
"example:bun": "bun run examples/bun-basic-app.js",
"example:bun:sqlite": "bun run examples/bun-sql-app.js",
"test:bun": "bun test tests/runtime/bun/",
"test:bun:coverage": "bun test tests/runtime/bun/ --coverage",
"test:deno": "deno test tests/runtime/deno/",
"test:deno:sqlite": "deno run --allow-write examples/deno-sqlite-app.ts",
"test:deno:redis": "deno run --allow-net examples/deno-redis-app.js",
"test:integration": "node tests/integration/shared/prereqs.js && tap tests/integration/",
"test:integration:start": "node tests/integration/shared/setup.js start",
"test:integration:stop": "node tests/integration/shared/setup.js stop",
"test:container:start": "./scripts/container.sh start",
"test:container:stop": "./scripts/container.sh stop",
"test:container:restart": "./scripts/container.sh restart",
"test:container:status": "./scripts/container.sh status",
"test:container:logs": "./scripts/container.sh logs",
"test:spec": "cucumber-js tests/spec/**/*.feature --force-exit",
"prepare": "husky",
"spec:sync": "./scripts/sync-spec.sh",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"lint:links": "./scripts/link-check.sh"
},
"dependencies": {
"jsonpath-plus": "^10.3.0",
"opossum": "^9.0.0",
"xxhash-wasm": "^1.1.0"
},
"peerDependencies": {
"hono": ">=4.0.0"
},
"devDependencies": {
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.4.1",
"@cucumber/cucumber": "^12.7.0",
"@eslint/js": "^9.39.2",
"@hono/node-server": "^1.19.9",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^13.1.5",
"better-sqlite3": "^12.6.2",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsdoc": "^50.0.0",
"express": "^5.2.1",
"fast-check": "^4.6.0",
"fastify": "^5.0.0",
"globals": "^17.1.0",
"hono": "^4.11.5",
"husky": "^9.1.7",
"ioredis": "^5.9.2",
"lint-staged": "^16.4.0",
"multi-semantic-release": "^3.1.0",
"mysql2": "^3.20.0",
"pg": "^8.18.0",
"prettier": "^3.8.1",
"semantic-release": "^25.0.0",
"sinon": "^21.0.0",
"tap": "^21.5.0",
"typescript": "^6.0.2",
"ulid": "^3.0.2",
"vitepress": "^1.6.4"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"workspaces": [
"packages/*",
"packages/frameworks/*",
"packages/stores/*"
]
}