UNPKG

express-wrap-async

Version:

Wrap babel async routes to standard express routes

55 lines (54 loc) 1.69 kB
{ "name": "express-wrap-async", "version": "1.0.3", "description": "Wrap babel async routes to standard express routes", "main": "dist/wrap.js", "scripts": { "build": "babel src --out-dir dist", "prepublish": "npm run build", "test": "npm run lint && npm run spec && npm run coverage", "lint": "eslint src test example", "lint:fix": "npm run lint -- --fix", "spec": "babel-node node_modules/.bin/babel-istanbul cover _mocha -- test/*.spec.js -r test/setup.js", "spec:watch": "mocha -w --compilers js:babel-register -r test/setup.js test/*.spec.js", "coverage": "babel-istanbul check-coverage --statement 100 --branch 100 --function 100" }, "repository": { "type": "git", "url": "git+https://github.com/lsentkiewicz/express-wrap-async.git" }, "keywords": [ "express", "routes", "router", "promise", "babel", "async" ], "author": "Łukasz Sentkiewicz", "license": "MIT", "bugs": { "url": "https://github.com/lsentkiewicz/express-wrap-async/issues" }, "homepage": "https://github.com/lsentkiewicz/express-wrap-async#readme", "devDependencies": { "babel-cli": "^6.14.0", "babel-eslint": "^6.1.2", "babel-istanbul": "^0.11.0", "babel-plugin-transform-runtime": "^6.15.0", "babel-preset-es2015": "^6.14.0", "babel-preset-stage-0": "^6.5.0", "chai": "^3.5.0", "eslint": "^3.5.0", "eslint-config-airbnb-base": "^7.1.0", "eslint-plugin-babel": "^3.3.0", "eslint-plugin-import": "^1.15.0", "express": "^4.14.0", "mocha": "^3.0.2", "supertest": "^2.0.0", "supertest-as-promised": "^4.0.0" }, "dependencies": { "lodash": "^4.16.1" } }