package.json
{
"name": "version-validator",
"version": "1.1.1",
"description": "Create expressjs middleware to help version routes in a REST API",
"author": "Wouter Dullaert",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/wdullaer/version-validator/issues"
},
"homepage": "https://github.com/wdullaer/version-validator#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/wdullaer/version-validator.git"
},
"keywords": [
"express",
"version",
"semver",
"middleware",
"accept-version"
],
"main": "lib/index.js",
"scripts": {
"docs": "cat README-base.md > README.md && ./node_modules/.bin/documentation build -f md ./lib/index.js | sed 's/^# /### /g' >> README.md",
"lint": "./node_modules/.bin/eslint ./lib ./test",
"mocha": "./node_modules/mocha/bin/_mocha --exit",
"test": "npm run lint && ./node_modules/.bin/nyc --root lib/ ./node_modules/mocha/bin/mocha --exit",
"coverage": "./node_modules/.bin/nyc report --reporter=lcov",
"prepublishOnly": "npm run test"
},
"engines": {
"node": ">=4"
},
"eslintConfig": {
"extends": "standard",
"rules": {
"valid-jsdoc": 1
}
},
"dependencies": {
"semver": "^7.0.0"
},
"devDependencies": {
"chai": "~4.2.0",
"chai-as-promised": "~7.1.1",
"chai-http": "~4.3.0",
"codeclimate-test-reporter": "~0.5.1",
"documentation": "~14.0.0",
"eslint": "~6.8.0",
"eslint-config-standard": "~14.1.0",
"eslint-plugin-import": "~2.22.0",
"eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~4.2.1",
"eslint-plugin-standard": "~4.0.1",
"express": "~4.19.2",
"mocha": "~7.2.0",
"nyc": "~15.1.0",
"rewire": "~5.0.0"
}
}