-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.14 KB
/
Copy pathpackage.json
File metadata and controls
33 lines (33 loc) · 1.14 KB
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
{
"name": "rest-errors",
"version": "0.2.0",
"description": "list error message of rest api",
"main": "index.js",
"scripts": {
"preversion": "grep '## Trunk' CHANGELOG.md",
"version": "version=`grep '^ \"version\": ' package.json | sed 's/.*\"\\([0-9\\.]*\\)\".*/\\1/'` && sed -i \"s/## Trunk/## Version $version/\" CHANGELOG.md && git add CHANGELOG.md",
"postversion": "git push origin master && git push origin master --tags && npm publish",
"patch": "npm version patch -m 'Bump to version %s'",
"minor": "npm version minor -m 'Bump to version %s'",
"major": "npm version major -m 'Bump to version %s'",
"test": "./node_modules/mocha/bin/mocha test/**/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mendoanjoe/rest-errors.git"
},
"keywords": [
"errors",
"express"
],
"author": "Firmansyah Nuralif Rohman <mendoanjoe@gmail.com>",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/mendoanjoe/rest-errors/issues"
},
"homepage": "https://github.com/mendoanjoe/rest-errors#readme",
"devDependencies": {
"mocha": "^6.1.4",
"should": "^13.2.3"
}
}