-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 2 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
{
"name": "@jdpnielsen/contextual-error",
"version": "2.0.0-0",
"description": "Extended error supporting cause and contextual enhancements",
"main": "build/main/index.js",
"browser": "build/main/index.js",
"typings": "build/main/index.d.ts",
"module": "build/module/index.js",
"keywords": [
"error",
"cause",
"exception",
"extend",
"typescript"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jdpnielsen/contextual-error.git"
},
"license": "MIT",
"author": {
"name": "Joshua Nielsen",
"email": "[email protected]",
"url": "https://github.com/jdpnielsen"
},
"scripts": {
"build": "run-s clean && run-p build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"fix": "eslint --fix \"src/**/*.ts\"",
"test": "run-s build test:*",
"test:lint": "eslint \"src/**/*.ts\"",
"test:unit": "nyc --silent ava",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch --verbose\"",
"cov": "run-s build test:unit cov:html && open-cli coverage/index.html",
"cov:html": "nyc report --reporter=html",
"cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
"version": "commit-and-tag-version",
"clean": "rimraf ./build",
"prepare-release": "run-s clean test cov:check version"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/node": "^22.5.5",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"ava": "^6.1.3",
"commit-and-tag-version": "^12.4.4",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^7.5.0",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"open-cli": "^8.0.0",
"rimraf": "^6.0.1",
"typescript": "^5.6.2"
},
"ava": {
"failFast": true,
"files": [
"build/main/**/*.spec.js"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"exclude": [
"**/*.spec.js"
]
}
}