arrest
Version:
OpenAPI v3 compliant REST framework for Node.js, with support for MongoDB and JSON-Schema
158 lines (157 loc) • 4.19 kB
JSON
{
"name": "arrest",
"version": "13.2.5",
"description": "OpenAPI v3 compliant REST framework for Node.js, with support for MongoDB and JSON-Schema",
"type": "module",
"exports": {
".": "./dist/index.js",
"./dist/*.js": "./dist/*.js",
"./dist/mongo/*.js": "./dist/mongo/*.js",
"./dist/mongo/operation/*.js": "./dist/mongo/operation/*.js"
},
"types": "./dist/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist/**/*.js",
"dist/**/*.ts",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"build:all": "npm i && npm run build && npm i --package-lock",
"build:tests": "tsc -p test",
"clean": "rimraf dist coverage .nyc_output test-results && find ./test/ts -type f -name '*.js' -delete && rimraf test/tsconfig.tsbuildinfo",
"clean:all": "npm run clean && rimraf node_modules",
"cover": "c8 --reporter=lcov --reporter=text npm t",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"check-coverage": "c8 check-coverage",
"watch:test": "npm t -- -w",
"test": "npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js",
"test:debug": "find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js",
"test:watch": "nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test",
"semantic-release": "semantic-release",
"semantic-release-dry": "semantic-release --dry-run"
},
"repository": {
"type": "git",
"url": "https://github.com/vivocha/arrest.git"
},
"keywords": [
"node",
"node.js",
"rest",
"mongodb",
"express",
"swagger",
"openapi",
"schema",
"jsonschema",
"json",
"rql",
"oauth2"
],
"author": {
"name": "Federico Pinna",
"email": "fpinna@vivocha.com"
},
"contributors": [
{
"name": "Andrea Lovicu",
"email": "alovicu@vivocha.com"
},
{
"name": "Gianfranco Frau",
"email": "gianfranco@glaamy.com"
},
{
"name": "Antonio Pintus",
"email": "apintus@vivocha.com"
},
{
"name": "William Ghelfi",
"email": "trumbitta@gmail.com",
"url": "https://github.com/trumbitta"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/vivocha/arrest/issues"
},
"homepage": "https://github.com/vivocha/arrest",
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-spies": "^1.0.3",
"@types/debug": "^4.1.7",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.185",
"@types/luxon": "^3.0.1",
"@types/mocha": "^9.1.1",
"@types/needle": "^2.5.3",
"@types/node": "^16.11.1",
"@types/semver": "^7.3.12",
"c8": "^7.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"coveralls": "^3.1.1",
"mocha": "^10.0.0",
"mochawesome": "^7.1.3",
"mongodoki": "^5.0.0",
"pem": "^1.14.6",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"supertest": "^6.2.4",
"typescript": "~4.7.3"
},
"dependencies": {
"@casl/ability": "^6.1.1",
"@vivocha/scopes": "^1.0.0",
"body-parser": "^1.20.0",
"camelcase": "^7.0.0",
"cookie-parser": "^1.4.6",
"debug": "^4.3.4",
"debuggo": "^1.4.1",
"decamelize": "^6.0.0",
"dot-prop": "^7.2.0",
"eredita": "^1.2.1",
"express": "^4.18.1",
"jsonref": "^8.0.8",
"lodash": "^4.17.21",
"luxon": "^3.0.3",
"mongodb": "^4.9.1",
"needle": "^3.1.0",
"openapi-police": "^4.0.2",
"rql": "^0.3.3",
"semver": "^7.3.7"
},
"engines": {
"node": ">=16.14.0"
},
"c8": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"dist/**/*.js",
"src/**/*.ts"
],
"extension": [
".js",
".ts"
],
"exclude": [
"**/test"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true
}
}