@lykmapipo/express-rest-actions
Version:
Opinionated rest actions for express
132 lines (131 loc) • 3.92 kB
JSON
{
"name": "@lykmapipo/express-rest-actions",
"version": "0.8.31",
"description": "Opinionated rest actions for express",
"main": "lib/index.js",
"module": "es/index.js",
"scripts": {
"clean": "rimraf lib dist es umd logs",
"prepare": "husky install",
"prebuild": "npm test && npm run clean",
"build": "rollup -c",
"lint": "eslint --fix --ext .js src/ test/ examples/ rollup.config.js",
"prettier": "prettier --write '**/*.{md,json,yml,html}'",
"pretest": "npm run lint",
"test": "NODE_ENV=test nyc --reporter=html --reporter=text mocha --exit --timeout=8000 --require @babel/register test/**/*.spec.js",
"test:unit": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/unit/**/*.spec.js",
"test:integration": "NODE_ENV=test npm run pretest && NODE_ENV=test mocha --exit --timeout=8000 --require @babel/register test/integration/**/*.spec.js",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"docs": "doxdox 'lib/**/*.js' -p package.json -l markdown -o DOCUMENTATION.md",
"cmt": "git add -A && git-cz",
"changelog": "changelog",
"chore:deps": "ncu -u && npm install --save",
"lint:config": "eslint --print-config rollup.config.js",
"examples": "NODE_ENV=development BASE_PATH=./examples babel-node ./examples/index.js"
},
"keywords": [
"lykmapipo",
"express",
"router",
"middleware",
"http",
"connect",
"blueprints",
"rest",
"actions",
"get",
"post",
"put",
"patch",
"delete",
"search",
"stale",
"fresh"
],
"repository": {
"type": "git",
"url": "git+https://github.com/lykmapipo/express-rest-actions.git"
},
"author": {
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
},
"contributors": [
{
"name": "lykmapipo",
"email": "lallyelias87@gmail.com",
"url": "https://github.com/lykmapipo"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/lykmapipo/express-rest-actions/issues"
},
"homepage": "https://github.com/lykmapipo/express-rest-actions#readme",
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/node": "^7.14.9",
"@babel/preset-env": "^7.15.0",
"@babel/register": "^7.15.3",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/travis-cli": "^13.1.0",
"@lykmapipo/express-test-helpers": "^0.9.18",
"commitizen": "^4.2.4",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"dot-prop": "^6.0.1",
"doxdox": "^3.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^4.0.0",
"generate-changelog": "^1.8.0",
"handlebars": "^4.7.7",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"lodash.template": "^4.5.0",
"minimist": "^1.2.5",
"mocha": "^9.1.1",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"shelljs": "^0.8.4",
"websocket-extensions": "^0.1.4"
},
"peerDependencies": {},
"dependencies": {
"@lykmapipo/common": ">=0.44.2",
"@lykmapipo/env": ">=0.17.37",
"@lykmapipo/express-common": ">=0.18.19",
"is-stream": "2.0.1",
"lodash": ">=4.17.21"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"src/**/*.js": [
"npm run lint",
"git add -A"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}