Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.64 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
{
"name": "@gainratio/errors",
"version": "0.4.0",
"type": "module",
"description": "Give every error in your JavaScript or TypeScript app one fixed code and one clear message, the same on every screen.",
"keywords": [
"errors",
"error-handling",
"error-codes",
"problem-details",
"rfc9457",
"i18n",
"i18next",
"typescript"
],
"license": "MIT",
"author": "Harish Seshadri",
"homepage": "https://github.com/gainratio/errors#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/gainratio/errors.git"
},
"bugs": {
"url": "https://github.com/gainratio/errors/issues"
},
"publishConfig": {
"access": "public"
},
"packageManager": "pnpm@11.5.0",
"engines": {
"node": ">=22.13"
},
"files": [
"dist",
"src",
"locales"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./locales/*.json": "./locales/*.json"
},
"sideEffects": false,
"scripts": {
"build": "tsc -p tsconfig.build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run --coverage",
"test:watch": "vitest",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"demo": "pnpm build && node examples/quickstart.mjs",
"gate": "pnpm lint && pnpm typecheck && pnpm test && pnpm build"
},
"devDependencies": {
"@biomejs/biome": "^2.4.16",
"@types/node": "^26.1.1",
"@vitest/coverage-v8": "^5.0.1",
"i18next": "^26.4.5",
"typescript": "^7.0.2",
"vitest": "^5.0.1"
}
}