router-tree
Version:
Create routes from directory structure
56 lines (55 loc) • 1.47 kB
JSON
{
"name": "router-tree",
"version": "1.4.3",
"description": "Create routes from directory structure",
"main": "./lib/",
"author": {
"name": "Overlook Motel"
},
"repository": {
"type": "git",
"url": "https://github.com/overlookmotel/router-tree.git"
},
"bugs": {
"url": "https://github.com/overlookmotel/router-tree/issues"
},
"dependencies": {
"promise-methods": "^1.1.1",
"sort-route-paths": "^1.0.0"
},
"devDependencies": {
"chai": "^4.1.2",
"co-mocha": "^1.2.2",
"coveralls": "^3.0.1",
"cross-env": "^5.2.0",
"istanbul": "^0.4.5",
"jshint": "^2.9.5",
"mocha": "^5.2.0"
},
"keywords": [
"router",
"tree",
"route",
"routes",
"load",
"file",
"files",
"folder",
"directory",
"structure"
],
"scripts": {
"test": "npm run jshint && npm run test-main",
"jshint": "jshint lib test",
"test-main": "mocha --check-leaks --colors -t 1000 --require co-mocha -R spec \"test/**/*.test.js\"",
"cover": "npm run cover-main && rm -rf coverage",
"coveralls": "npm run cover-main && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"cover-main": "cross-env COVERAGE=true istanbul cover _mocha --report lcovonly -- -t 1000 -R spec \"test/**/*.test.js\"",
"travis": "if [ $COVERAGE ]; then npm run coveralls; else npm test; fi"
},
"engines": {
"node": ">=6"
},
"readmeFilename": "README.md",
"license": "MIT"
}