UNPKG

mongoose-management

Version:
98 lines (97 loc) 3.4 kB
{ "name": "mongoose-management", "version": "0.2.1", "description": "Mongoose schemas management tool", "bin": "build/index.js", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { "build": "npm run build:clean && npm run build:generate && npm run build:template", "build:clean": "rm -rf ./build", "build:generate": "tsc --project ./tsconfig.build.json", "build:template": "copyfiles -u 1 ./src/lib/template/templates/**/*.mst ./src/lib/template/templates/**/*.ts ./build", "test": "jest --config=jest.json --coverage", "test:watch": "jest --config=jest.json --coverage --watch 'src'", "test:coverage": "jest --config=jest.coverage.js --coverage", "test:ci": "jest --config=jest.ci.js --ci --coverage --verbose 'src'", "coverage": "npm run coverage:clean && npm run test", "coverage:clean": "rm -rf ./coverage", "lint": "npm run prettier && npm run lint:check", "lint:check": "tslint --project ./tsconfig.json --config ./tslint.json --format codeFrame --fix", "lint:ci": "tslint --project ./tsconfig.json --config ./tslint.json --format codeFrame", "prettier": "prettier --config './.prettierrc' --write '.huskyrc' '.prettierrc' './**/*.{ts,tsx,js,jsx,json,md,scss,yml,html}'", "prettier:ci": "prettier --config './.prettierrc' --list-different '.huskyrc' '.prettierrc' './**/*.{ts,tsx,js,jsx,json,md,scss,yml,html}'", "deploy:major": "npm run deploy:pre && npm version major -m 'Release of version v%s' && npm run deploy:post", "deploy:minor": "npm run deploy:pre && npm version minor -m 'Release of version v%s' && npm run deploy:post", "deploy:patch": "npm run deploy:pre && npm version patch -m 'Release of version v%s' && npm run deploy:post", "deploy:pre": "npm run lint && npm run test:ci && npm run build", "deploy:post": "npm publish && git push && git push --tags" }, "keywords": [ "mongodb", "mongoose", "cli", "generator", "document", "model", "schema", "database", "odm", "data", "template", "management", "datastore", "query", "nosql", "orm", "db" ], "author": "Kjell Dießel <development@kettil.de>", "contributors": [ "Kjell Dießel <development@kettil.de>" ], "license": "MIT", "engines": { "node": ">= 10" }, "repository": { "type": "git", "url": "https://github.com/kettil/mongoose-management" }, "bugs": { "url": "https://github.com/kettil/mongoose-management/issues/new" }, "devDependencies": { "@types/jest": "^24.0.19", "@types/node": "^12.11.5", "copyfiles": "^2.1.1", "husky": "^3.0.9", "jest": "^24.9.0", "ts-jest": "^24.1.0", "ts-node": "^8.4.1", "tslint": "^5.20.0", "tslint-config-prettier": "^1.15.0", "tslint-immutable": "^6.0.0", "tslint-react": "^4.1.0", "typescript": "^3.6.4" }, "dependencies": { "@types/inquirer": "^6.5.0", "@types/mongodb": "^3.3.6", "@types/mongoose": "^5.5.22", "@types/mustache": "^0.8.32", "@types/prettier": "^1.18.3", "@types/table": "^4.0.7", "@types/yargs": "^13.0.3", "chalk": "^2.4.2", "inquirer": "^7.0.0", "inquirer-fuzzy-path": "^2.1.0", "mongodb": "^3.3.3", "mongoose": "^5.7.6", "mustache": "^3.1.0", "ora": "^4.0.0", "prettier": "^1.18.2", "table": "^5.4.6", "yargs": "^14.0.0" } }