UNPKG

decorator-x

Version:

decorator for entity instantiation & validation, auto-generate swagger docs & graphql schema

71 lines (70 loc) 2.17 kB
{ "name": "decorator-x", "version": "0.0.1", "description": "decorator for entity instantiation & validation, auto-generate swagger docs & graphql schema", "main": "dist/index.node.js", "browser": "dist/index.web.js", "scripts": { "start": "./node_modules/.bin/nodemon --exec 'babel-node' './demo/app.js' --watch './src' --watch './demo'", "prepublish": "npm run build", "build": "rm -rf dist && node_modules/babel-cli/bin/babel.js src --out-dir dist", "test": "jest" }, "repository": { "type": "git", "url": "https://github.com/wxyyxc1992/Modern-JavaScript-Entity" }, "keywords": [ "JavaScript", "NodeJS", "Express", "Koa2", "Swagger", "GraphQL" ], "author": "wxyyxc1992", "license": "ISC", "bugs": { "url": "https://github.com/wxyyxc1992/Web-Frontend-Introduction-And-Best-Practices/issues" }, "homepage": "https://github.com/wxyyxc1992/Web-Frontend-Introduction-And-Best-Practices", "babel": { "extends": ".babelrc" }, "devDependencies": { "babel": "^6.23.0", "babel-cli": "^6.24.1", "babel-core": "^6.25.0", "babel-eslint": "^7.2.3", "babel-jest": "^20.0.3", "babel-loader": "^7.0.0", "babel-plugin-lodash": "^3.2.11", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-runtime": "^6.23.0", "babel-polyfill": "^6.23.0", "babel-preset-es2015": "^6.24.1", "babel-preset-flow": "^6.23.0", "babel-preset-jest": "^20.0.3", "babel-preset-latest": "^6.24.1", "babel-preset-stage-3": "^6.24.1", "chai": "^4.0.2", "debug": "^2.6.8", "koa": "^2.2.0", "koa-body": "^2.3.0", "koa-router": "^7.2.1", "nodemon": "^1.11.0" }, "dependencies": { "apollo-server-koa": "^1.0.4", "babel-plugin-syntax-class-properties": "^6.13.0", "babel-plugin-syntax-decorators": "^6.13.0", "babel-plugin-syntax-flow": "^6.18.0", "declarative-validator": "^0.0.2", "graphql": "^0.10.5", "graphql-tools": "^1.1.0", "lodash": "^4.17.4", "path-to-regexp": "^1.7.0", "sequelize": "^4.2.1" } }