UNPKG

@netherium/api-gen

Version:

Generator for Express Rest Api written in Typescript that provides convenient authorization, access control lists and routes following best practices.

111 lines (110 loc) 2.92 kB
{ "name": "@netherium/api-gen", "version": "0.3.8", "main": "bin/main.js", "description": "Generator for Express Rest Api written in Typescript that provides convenient authorization, access control lists and routes following best practices.", "scripts": { "dev": "ts-node --transpile-only src/bin/main.ts", "lint": "eslint ./tests", "copy:app:templates:source": "ts-node --transpile-only src/lib/helpers/copy-source-files.ts", "test": "mocha -r ts-node/register tests/*.test.ts --timeout 120000 --exit", "test:coverage": "nyc npm run test", "build": "tsc && echo true > .buildstatus", "copy:assets": "copyfiles -u 3 -a \"src/lib/templates/**/*\" \"./lib/templates\"", "badgeit": "jest-badges-readme", "prepare": "npm run copy:app:templates:source && npm run build && npm run copy:assets && npm run badgeit", "prepublishOnly": "npm test", "version": "git add -A", "postversion": "git push && git push --tags" }, "keywords": [ "CMS", "Headless CMS", "Typescript", "NodeJS", "Express", "Angular", "Angular Material", "REST", "Api", "Restful Api", "Generator", "Mongoose", "Chalk", "Inquirer", "Ts-morph" ], "author": "Netherium", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/Netherium/api-gen.git" }, "engines": { "node": ">=12.0.0", "npm": ">=6.0.0" }, "bugs": { "url": "https://github.com/Netherium/api-gen/issues" }, "homepage": "https://github.com/Netherium/api-gen", "nodemonConfig": { "ignore": [ "output/*", "node_modules/*" ] }, "nyc": { "include": [ "src/**/*.ts" ], "extension": [ ".ts" ], "reporter": [ "json-summary", "lcov", "html", "text" ] }, "bin": { "neth-api-gen": "./bin/main.js" }, "files": [ "LICENSE", "README.md", "bin/**/*", "lib/**/*" ], "dependencies": { "chalk": "^4.1.2", "inquirer": "^8.1.2", "inquirer-fuzzy-path": "^2.3.0", "pluralize": "^8.0.0", "ts-morph": "^11.0.3", "yaml": "^1.10.2", "yargs": "^17.2.1" }, "devDependencies": { "@olavoparno/jest-badges-readme": "1.4.2", "@types/chai": "^4.2.22", "@types/faker": "^5.5.9", "@types/inquirer": "^7.3.3", "@types/mocha": "^9.0.0", "@types/pluralize": "0.0.29", "@types/yaml": "^1.9.7", "@types/yargs": "^17.0.4", "@typescript-eslint/eslint-plugin": "^4.27.0", "@typescript-eslint/parser": "^4.27.0", "chai": "^4.3.4", "copyfiles": "^2.4.1", "eslint": "^7.29.0", "eslint-plugin-prefer-arrow": "^1.2.3", "mocha": "^9.1.2", "nyc": "^15.1.0", "ts-node": "^10.1.0", "tslint": "^6.1.3", "typescript": "^4.4.4" } }