UNPKG

1.97 kBJSONView Raw
1{
2 "name": "make-error-cause",
3 "version": "2.3.0",
4 "description": "Make your own nested error types!",
5 "main": "dist/index.js",
6 "typings": "dist/index.d.ts",
7 "files": [
8 "dist/"
9 ],
10 "scripts": {
11 "prettier": "prettier --write",
12 "lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
13 "format": "npm run prettier -- README.md .travis.yml \"src/**/*.{jsx?,tsx?}\"",
14 "clean": "rimraf dist .nyc_output mochawesome-report coverage",
15 "build": "npm run clean && tsc",
16 "specs": "nyc mocha",
17 "test": "npm run -s lint && npm run -s build && npm run -s specs",
18 "prepare": "npm run build"
19 },
20 "repository": {
21 "type": "git",
22 "url": "git://github.com/blakeembrey/make-error-cause.git"
23 },
24 "keywords": [
25 "nested",
26 "error",
27 "cause",
28 "extend",
29 "inherit",
30 "custom"
31 ],
32 "author": {
33 "name": "Blake Embrey",
34 "email": "hello@blakeembrey.com",
35 "url": "http://blakeembrey.me"
36 },
37 "license": "Apache-2.0",
38 "bugs": {
39 "url": "https://github.com/blakeembrey/make-error-cause/issues"
40 },
41 "homepage": "https://github.com/blakeembrey/make-error-cause",
42 "husky": {
43 "hooks": {
44 "pre-commit": "lint-staged"
45 }
46 },
47 "lint-staged": {
48 "*.{js,json,css,md}": [
49 "npm run prettier",
50 "git add"
51 ]
52 },
53 "publishConfig": {
54 "access": "public"
55 },
56 "devDependencies": {
57 "@types/chai": "^4.2.0",
58 "@types/jest": "^24.0.17",
59 "@types/mocha": "^5.2.7",
60 "@types/node": "^12.7.2",
61 "chai": "^4.2.0",
62 "husky": "^3.0.3",
63 "jest": "^24.9.0",
64 "lint-staged": "^9.2.1",
65 "mocha": "^6.2.0",
66 "mochawesome": "^4.1.0",
67 "nyc": "^14.1.1",
68 "prettier": "^1.18.2",
69 "rimraf": "^3.0.0",
70 "ts-jest": "^24.0.2",
71 "ts-node": "^8.3.0",
72 "tslint": "^5.18.0",
73 "tslint-config-prettier": "^1.18.0",
74 "tslint-config-standard": "^8.0.1",
75 "typescript": "^3.5.3"
76 },
77 "dependencies": {
78 "make-error": "^1.3.5"
79 }
80}