traversals
Version:
Small module for graph traversals, supporting DFS and BFS with niceties added for pre- and post-order, including their reverses.
55 lines (54 loc) • 2.25 kB
JSON
{
"name": "traversals",
"version": "1.0.15",
"description": "Small module for graph traversals, supporting DFS and BFS with niceties added for pre- and post-order, including their reverses.",
"main": "index.js",
"scripts": {
"lint": "eslint index.js lib/**/*.js src/**/*.js",
"check": "npm run lint -s && dependency-check package.json --entry index.js",
"test": "istanbul cover node_modules/mocha/bin/_mocha -- ./test/",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"postcoveralls": "rimraf ./coverage",
"prepublish": "run-s docs test",
"patch": "npm version patch && npm publish",
"minor": "npm version minor && npm publish",
"major": "npm version major && npm publish",
"postpublish": "git push origin master --follow-tags",
"docs": "npx jsdoc-to-markdown index.js > tmp.md && cp RM.md README.md && cat tmp.md FOOTER.md >> README.md && rm tmp.md",
"changelog": "npx auto-changelog -p -l 10 && git add CHANGELOG.md",
"marktoc": "npx replace -s -q '### Changelog' '<!-- START doctoc -->\\\n<!-- END doctoc -->' CHANGELOG.md",
"toc": "npx doctoc --github --title \"### Changelog\" CHANGELOG.md",
"version": "run-s -s changelog marktoc toc"
},
"repository": "https://github.com/julianjensen/traversals.git",
"keywords": [
"dfs",
"bfs",
"pre-order",
"preorder",
"post-order",
"postorder",
"reverse",
"rpo",
"tree",
"graph",
"traversal"
],
"author": "Julian Jensen <jjdanois@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/julianjensen/traversals/issues"
},
"homepage": "https://github.com/julianjensen/traversals#readme",
"devDependencies": {
"chai": "^4.1.1",
"coveralls": "^2.13.3",
"dependency-check": "^2.5.1",
"eslint": "^4.13.0",
"istanbul": "^0.4.5",
"mocha": "^3.5.0",
"mocha-lcov-reporter": "^1.3.0",
"rimraf": "^2.4.2",
"npm-run-all": "^4.1.2"
}
}