-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·121 lines (121 loc) · 3.18 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
{
"name": "new-error",
"version": "2.2.0",
"description": "A production-grade error creation and serialization library designed for Typescript",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"build": "npm run build:clean && npm run compile",
"build:clean": "rm -rf build/*",
"compile": "tsc",
"debug": "ts-node-dev --inspect -- src/index.ts",
"debug:break": "ts-node-dev --inspect-brk -- src/index.ts",
"test": "jest",
"test:ci": "jest --ci --coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest",
"test:watch": "jest --watch",
"test:coverage:watch": "jest --coverage --watch",
"toc": "toc-md README.md README.md",
"add-readme": "git add README.md",
"lint-staged": "lint-staged",
"prepare-publish": "npm run changelog:prepare && version-bump && npm run changelog:release && npm run changelog:stamp",
"version-bump": "version-bump",
"changelog:help": "changelog-version",
"changelog:verify": "changelog-version verify",
"changelog:prepare": "changelog-version prepare",
"changelog:stamp": "git-commit-stamper parse CHANGELOG.md",
"changelog:release": "changelog-version release",
"lint": "prettier-standard src/**/*.ts && standardx src/**/*.ts",
"ts-node-dev": "ts-node-dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/theogravity/new-error.git"
},
"author": "Theo Gravity <theo@suteki.nu>",
"license": "MIT",
"keywords": [
"error",
"throw",
"custom",
"generate",
"new",
"extends",
"factory",
"subclass",
"inherit",
"extension",
"create",
"typescript",
"serialize",
"collection",
"stack",
"trace",
"err",
"log",
"logging"
],
"bugs": {
"url": "https://github.com/theogravity/new-error/issues"
},
"homepage": "https://github.com/theogravity/new-error#readme",
"dependencies": {
"es6-error": "^4.1.1",
"sprintf-js": "^1.1.2"
},
"devDependencies": {
"@theo.gravity/changelog-version": "2.1.11",
"@theo.gravity/version-bump": "2.0.14",
"@types/jest": "29.5.2",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "8.21.0",
"git-commit-stamper": "^1.0.10",
"jest": "^29.5.0",
"jest-cli": "29.5.0",
"jest-junit-reporter": "1.1.0",
"lint-staged": "13.0.3",
"pre-commit": "1.2.2",
"prettier-standard": "^16.4.1",
"standardx": "^7.0.0",
"toc-md-alt": "^0.4.6",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"ts-node-dev": "^2.0.0",
"typescript": "5.1.3"
},
"eslintConfig": {
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
2,
{
"args": "none"
}
]
}
},
"lint-staged": {
"src/**/*.ts": [
"prettier-standard",
"git add"
]
},
"pre-commit": [
"toc",
"lint-staged",
"test:ci",
"build"
]
}