-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
47 lines (47 loc) · 1.22 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
{
"name": "@mprokopowicz/custom-error",
"version": "1.1.1",
"description": "Produce custom error types",
"main": "lib/custom-error.js",
"scripts": {
"pretest": "rm -rf coverage",
"test": "nyc -r=text -r=lcov -n src _mocha -r scripts/setup-tests.js --compilers js:babel-register src/*.test.js",
"posttest": "sed \"s*`pwd`/**\" coverage/lcov.info > coverage/lcov_relative.info",
"prebuild": "rm -rf lib",
"build": "babel --ignore **/*.test.js -d lib src",
"lint": "eslint .",
"preversion": "npm run lint && npm test && npm run build"
},
"keywords": [
"error",
"exception",
"custom error",
"custom exception",
"error handling"
],
"files": [
"lib/custom-error.js",
"README.md"
],
"engines": {
"node": ">=0.10"
},
"author": "Michał Prokopowicz",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/mprokopowicz/custom-error"
},
"bugs": {
"url": "https://github.com/mprokopowicz/custom-error/issues"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-preset-es2015": "^6.18.0",
"babel-register": "^6.18.0",
"chai": "^3.5.0",
"eslint": "^3.10.0",
"mocha": "^3.1.2",
"nyc": "^8.4.0"
}
}