82 lines
2.2 KiB
JSON
82 lines
2.2 KiB
JSON
{
|
|
"name": "http-status",
|
|
"version": "1.5.0",
|
|
"description": "Interact with HTTP status code",
|
|
"homepage": "https://github.com/adaltas/node-http-status",
|
|
"author": "David Worms <david@adaltas.com> (https://www.adaltas.com)",
|
|
"keywords": [
|
|
"http",
|
|
"express",
|
|
"connect"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/adaltas/node-http-status"
|
|
},
|
|
"bugs": {
|
|
"email": "open@adaltas.com",
|
|
"url": "http://github.com/adaltas/node-http-status/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mocha": "^8.0.4",
|
|
"@types/node": "^14.14.7",
|
|
"@types/should": "^13.0.0",
|
|
"coffeescript": "2.5.1",
|
|
"mocha": "8.2.1",
|
|
"should": "13.2.3",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.0.5"
|
|
},
|
|
"coffeelintConfig": {
|
|
"indentation": {
|
|
"level": "error",
|
|
"value": 2
|
|
},
|
|
"line_endings": {
|
|
"level": "error",
|
|
"value": "unix"
|
|
},
|
|
"max_line_length": {
|
|
"level": "ignore"
|
|
}
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "David Worms",
|
|
"email": "david@adaltas.com"
|
|
},
|
|
{
|
|
"name": "Daniel Gasienica",
|
|
"email": "daniel@gasienica.ch"
|
|
}
|
|
],
|
|
"mocha": {
|
|
"throw-deprecation": true,
|
|
"require": [
|
|
"should",
|
|
"coffeescript/register",
|
|
"ts-node/register"
|
|
],
|
|
"inline-diffs": true,
|
|
"timeout": 40000,
|
|
"reporter": "spec",
|
|
"recursive": true
|
|
},
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"engines": {
|
|
"node": ">= 0.4.0"
|
|
},
|
|
"scripts": {
|
|
"preversion": "grep '## Trunk' CHANGELOG.md && npm test",
|
|
"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'",
|
|
"coffee": "coffee -b -o lib src",
|
|
"pretest": "coffee -b -o lib src && cp src/index.d.ts lib",
|
|
"test": "mocha \"test/**/*.{coffee,ts}\""
|
|
}
|
|
}
|