hacker-news-cli/package.json
Robert Webb f5e38cbd70 Added a sample test using supertest, axios, and sinon.
It does not past but I can confirm it does call the api!
2019-02-17 20:20:31 -08:00

61 lines
1.4 KiB
JSON

{
"name": "hacker-news-cli",
"version": "1.0.0",
"description": "TODO",
"main": "index.js",
"author": "anarchyplanet",
"license": "Ⓐ",
"bugs": {
"url": "https://irc.anarchyplanet.org/git/notnull/server/issues"
},
"homepage": "irc.anarchyplanet.org",
"repository": {
"type": "git",
"url": "ssh://git@irc.anarchyplanet.org:2222/notnull/hacker-news-cli.git"
},
"scripts": {
"test": "mocha 'tests/**/*.js'",
"seed": "node db/seed.js",
"start": "nodemon index"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint . --fix",
"git add"
]
},
"dependencies": {
"axios": "^0.18.0",
"body-parser": "^1.18.3",
"concurrently": "^4.0.1",
"express": "^4.16.4",
"http-proxy-middleware": "^0.19.0",
"morgan": "^1.9.1",
"node-fetch": "^2.3.0",
"nodemon": "^1.18.9",
"pg": "^7.5.0",
"sequelize": "^4.39.1"
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^5.3.0",
"eslint-config-prettier": "^4.0.0",
"eslint-config-recommended": "^4.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"husky": "^1.3.1",
"lint-staged": "^8.1.3",
"mocha": "^5.2.0",
"prettier": "^1.16.4",
"sinon": "^7.2.3",
"supertest": "^3.4.2"
}
}