UNPKG

dekoa

Version:
170 lines (169 loc) 4.24 kB
{ "name": "dekoa", "version": "0.12.12", "description": "Decorators for Koa", "main": "src/index.js", "repository": "https://github.com/jimzhan/dekoa", "author": "Jim Zhan <jim.zhan@me.com>", "license": "Apache-2.0", "keywords": [ "es6", "es7", "data", "decorator", "decorators", "koa", "koa2", "koajs", "koa-body", "koa-router", "json", "jsonschema", "json-schema", "json-schema-validator", "json-schema-validation", "route", "router", "routing", "schema", "standard", "validator", "validation" ], "scripts": { "precommit": "lint-staged", "prepush": "npm run test", "commit": "git add . && git-cz", "commitmsg": "commitlint -e $GIT_PARAMS", "build": "babel -d build/ src/", "lint": "eslint --ext=.js src", "test": "cross-env DEBUG={dekoa} BABEL_ENV=test jest --no-cache --forceExit --coverage", "test:watch": "npm test -- --watch --watchExtensions js,jsx", "precodecov": "npm run test", "codecov": "codecov", "postcodecov": "rimraf coverage", "[VERSION]": "======= Semantic Versioning =======", "push": "git push --follow-tags origin master && npm publish", "release": "standard-version --no-verify", "postrelease": "npm run push" }, "<Settings>": "------------------------------ Application Settings ------------------------------", "babel": { "presets": [ [ "env", { "targets": { "node": "current" } } ], "jest" ], "plugins": [ "transform-decorators-legacy", "transform-class-properties", "transform-runtime", [ "module-resolver", { "root": [ "./src" ] } ] ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "eslintConfig": { "root": true, "parser": "babel-eslint", "env": { "jest/globals": true }, "extends": "standard", "plugins": [ "jest" ] }, "lint-staged": { "src/**/*.{js,jsx,css,less,scss}": [ "prettier-standard", "git add" ] }, "jest": { "testMatch": [ "**/__tests__/?(*.)(spec|test).js?(x)" ], "collectCoverageFrom": [ "src/*.js", "!src/index.js" ] }, "</Settings>": "------------------------ End of Application Settings ------------------------------", "dependencies": { "ajv": "^5.2.2", "assert": "^1.4.1", "cookie": "^0.3.1", "csrf": "^3.0.6", "glob": "^7.1.2", "http-status-codes": "^1.1.6", "immutable": "^3.8.1", "keymirror": "^0.1.1", "koa-router": "^7.2.1", "standard-version": "^4.2.0", "stream": "^0.0.2", "superagent": "^3.8.3", "winston-color": "^1.0.0" }, "devDependencies": { "@commitlint/cli": "^5.2.5", "@commitlint/config-conventional": "^5.2.3", "babel-cli": "^6.24.1", "babel-eslint": "^7.2.3", "babel-jest": "^21.0.2", "babel-plugin-module-resolver": "^2.7.1", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.0", "babel-preset-jest": "^21.0.2", "bcryptjs": "^2.4.3", "codecov": "^3.0.0", "commitizen": "^2.9.6", "cross-env": "^5.1.1", "cz-conventional-changelog": "^2.1.0", "debug": "^2.6.8", "eslint": "^4.2.0", "eslint-config-standard": "^10.2.1", "eslint-import-resolver-babel-module": "^3.0.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-node": "^5.1.1", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^3.0.1", "husky": "^0.14.3", "istanbul": "^0.4.5", "jest": "^21.1.0", "jest-cli": "^21.1.0", "koa": "^2.3.0", "koa-body": "^2.3.0", "lint-staged": "^6.0.0", "nodemon": "^1.11.0", "nyc": "^11.0.3", "prettier-standard": "^7.0.3", "rimraf": "^2.6.2", "set-cookie-parser": "^2.0.0", "supertest": "^3.0.0" } }