-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
97 lines (97 loc) · 2.75 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
{
"name": "pony-cause",
"version": "2.1.11",
"description": "Ponyfill and helpers for Error Causes",
"homepage": "http://github.com/voxpelli/pony-cause",
"repository": {
"type": "git",
"url": "git://github.com/voxpelli/pony-cause.git"
},
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"typesVersions": {
"~4.6 || ~4.7": {
"index.d.ts": [
"compat.d.ts"
]
}
},
"exports": {
".": {
"types@~4.6": "./compat.d.ts",
"types@~4.7": "./compat.d.ts",
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.js"
}
},
"files": [
"/compat.d.ts",
"/index.js",
"/index.mjs",
"/index.d.ts",
"/index.d.ts.map",
"lib/**/*.js",
"lib/**/*.mjs",
"lib/**/*.d.ts",
"lib/**/*.d.ts.map"
],
"scripts": {
"build-for-test": "run-s clean build:1:esm",
"build:0": "run-s clean",
"build:1:declaration": "tsc -p declaration.tsconfig.json",
"build:1:esm": "linemod -e mjs index.js lib/*.js",
"build:1": "run-p build:1:*",
"build": "run-s build:*",
"check:0": "run-s build-for-test",
"check:1:installed-check": "installed-check --ignore-dev",
"check:1:knip": "knip",
"check:1:lint": "eslint --report-unused-disable-directives .",
"check:1:tsc": "tsc",
"check:1:type-coverage": "type-coverage --detail --strict --at-least 97 --ignore-files 'test/*'",
"check:1": "run-p -c --aggregate-output check:1:*",
"check": "run-s check:*",
"clean:declarations": "rm -rf $(find . -maxdepth 2 -type f -name '*.d.ts*' ! -name '*compat.d.ts')",
"clean": "run-p clean:*",
"prepare": "husky install > /dev/null",
"prepublishOnly": "run-s build",
"test:0": "run-s build-for-test",
"test:1-mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js' 'test/**/*.spec.mjs'",
"test-build-less": "mocha 'test/**/*.spec.js'",
"test-ci": "run-s test:*",
"test": "run-s check test:*"
},
"keywords": [
"ponyfill",
"error",
"error-cause"
],
"author": "Pelle Wessman <pelle@kodfabrik.se> (http://kodfabrik.se/)",
"license": "0BSD",
"engines": {
"node": ">=12.0.0"
},
"devDependencies": {
"@types/chai": "^4.3.16",
"@types/chai-string": "^1.4.5",
"@types/mocha": "^10.0.7",
"@types/node": "^18.19.42",
"@types/verror": "^1.10.10",
"@voxpelli/eslint-config": "^20.0.1",
"@voxpelli/tsconfig": "^13.0.0",
"c8": "^10.1.2",
"chai": "^4.4.1",
"chai-string": "^1.5.0",
"eslint": "^9.7.0",
"husky": "^9.1.1",
"installed-check": "^9.3.0",
"knip": "^5.27.0",
"linemod": "^2.0.1",
"mocha": "^10.7.0",
"npm-run-all2": "^6.2.2",
"type-coverage": "^2.29.1",
"typescript": "~5.5.3",
"verror": "^1.10.1"
}
}