-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.89 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
{
"name": "ts-custom-error-shim",
"version": "1.0.2",
"description": "A TypeScript custom error shim that allows properly testing custom errors",
"main": "index.js",
"module": "index.js",
"typings": "index.d.ts",
"scripts": {
"copy:package.json": "cp package.json ./dist",
"copy:md": "cp *.md ./dist",
"copy": "npm run copy:package.json && npm run copy:md",
"prebuild": "rimraf dist",
"build": "tsc -p ./tsconfig.build.json",
"postbuild": "npm run copy",
"postversion": "npm run build && cd ./dist && npm publish && cd ..",
"postpublish": "git push && git push --tags",
"coverage": "nyc npm test",
"test": "mocha --require ts-node/register --require ./ --require ./mocha.config src/**/*.spec.ts",
"pretest-pkg": "npm run build",
"test-pkg": "cd test-pkg && npm run test && cd .."
},
"repository": {
"type": "git",
"url": "git+https://github.com/DanielSchaffer/ts-custom-error-shim.git"
},
"keywords": [
"custom-error",
"typescript",
"error"
],
"author": "Daniel Schaffer <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/DanielSchaffer/ts-custom-error-shim/issues"
},
"homepage": "https://github.com/DanielSchaffer/ts-custom-error-shim#readme",
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/mocha": "^2.2.48",
"@types/node": "^9.4.6",
"@types/sinon": "^4.3.0",
"@types/sinon-chai": "^2.7.29",
"chai": "^4.1.2",
"errno": "^0.1.7",
"mocha": "^5.0.1",
"nyc": "^11.4.1",
"rimraf": "^2.6.2",
"sinon": "^4.4.2",
"sinon-chai": "^2.14.0",
"ts-node": "^5.0.1",
"typescript": "^2.7.2"
},
"nyc": {
"sourceMap": true,
"instrument": true,
"reporter": [
"html",
"text"
],
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"exclude": [
"**/*.spec.ts",
"test"
]
}
}