2017-08-16 19:49:27 +02:00
|
|
|
{
|
|
|
|
"name": "lighthouse",
|
|
|
|
"description": "Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.",
|
|
|
|
"version": "0.0.1",
|
2019-07-08 20:00:10 +02:00
|
|
|
"author": "filipnyquist <filip@lbry.com>",
|
2017-08-16 19:49:27 +02:00
|
|
|
"keywords": [
|
|
|
|
"lbry",
|
|
|
|
"search",
|
|
|
|
"koa",
|
|
|
|
"rest",
|
|
|
|
"api",
|
|
|
|
"async",
|
|
|
|
"es7"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/lbryio/lighthouse.git"
|
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/lbryio/lighthouse/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/lbryio/lighthouse#readme",
|
|
|
|
"main": "server/index.js",
|
|
|
|
"scripts": {
|
2017-09-03 14:47:40 +02:00
|
|
|
"start": "nodemon server/ --exec babel-node --ignore 'claimTrieCache.json'",
|
2017-08-16 19:49:27 +02:00
|
|
|
"build": "babel server -d dist",
|
|
|
|
"lint": "eslint ./server",
|
2017-10-13 05:49:00 +02:00
|
|
|
"lint-fix": "npm run lint -- --fix",
|
2017-08-16 19:49:27 +02:00
|
|
|
"test": "npm run lint && npm run mocha",
|
|
|
|
"prod": "npm run build && node dist/",
|
2017-09-20 19:47:25 +02:00
|
|
|
"mocha": "./node_modules/.bin/mocha --compilers js:babel-register --require babel-polyfill",
|
2018-08-05 15:19:11 +02:00
|
|
|
"genswagger": "./node_modules/.bin/oas generate swagger.json > ./docs/swagger.json",
|
|
|
|
"genapidocs": "./node_modules/.bin/redoc-cli bundle ./docs/swagger.json -o ./docs/index.html",
|
|
|
|
"gendocs": "npm run genswagger && npm run genapidocs"
|
2017-08-16 19:49:27 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-04-08 08:13:27 +02:00
|
|
|
"@koa/cors": "^2.2.1",
|
2017-09-03 14:47:40 +02:00
|
|
|
"app-root-path": "^2.0.1",
|
2017-08-16 19:49:27 +02:00
|
|
|
"babel-polyfill": "^6.5.0",
|
2019-07-08 20:12:29 +02:00
|
|
|
"bitcoin-promise": "nikooo777/node-bitcoin-promise",
|
2017-08-17 18:11:53 +02:00
|
|
|
"bluebird": "^3.5.0",
|
|
|
|
"chalk": "^2.0.1",
|
2018-10-27 19:47:13 +02:00
|
|
|
"crypto": "^1.0.1",
|
2017-09-03 14:47:40 +02:00
|
|
|
"elastic-queue": "^0.3.0",
|
2017-08-17 18:11:53 +02:00
|
|
|
"elasticsearch": "^13.2.0",
|
2017-09-26 18:11:40 +02:00
|
|
|
"file-exists": "^4.0.0",
|
2017-08-16 19:49:27 +02:00
|
|
|
"glob": "^7.1.1",
|
2018-10-27 19:47:13 +02:00
|
|
|
"got": "^9.2.2",
|
2017-08-17 18:11:53 +02:00
|
|
|
"jsonfile": "^3.0.1",
|
2017-08-16 19:49:27 +02:00
|
|
|
"jsonwebtoken": "^7.2.1",
|
|
|
|
"koa": "^2.0.0-alpha.7",
|
|
|
|
"koa-bodyparser": "^3.0.0",
|
|
|
|
"koa-helmet": "^2.0.0",
|
|
|
|
"koa-jwt": "^2.1.0",
|
|
|
|
"koa-logger": "^2.0.0",
|
|
|
|
"koa-router": "^7.0.0",
|
2017-08-17 12:06:24 +02:00
|
|
|
"limited-request-queue": "^3.0.4",
|
2018-10-28 07:28:24 +01:00
|
|
|
"node-slack": "^0.0.7",
|
2019-07-08 12:55:49 +02:00
|
|
|
"oas": "^0.8.15",
|
2017-08-17 12:06:24 +02:00
|
|
|
"ora": "^1.3.0",
|
2017-09-26 20:27:44 +02:00
|
|
|
"prettysize": "^1.1.0",
|
2017-09-26 19:08:42 +02:00
|
|
|
"properties-reader": "^0.0.16",
|
2019-07-08 12:55:49 +02:00
|
|
|
"redoc-cli": "^0.8.5",
|
2017-08-17 12:06:24 +02:00
|
|
|
"request": "^2.81.0",
|
2017-08-17 18:11:53 +02:00
|
|
|
"request-promise": "^4.2.1",
|
2017-08-18 10:16:29 +02:00
|
|
|
"winston": "^2.3.1",
|
2018-06-28 14:24:00 +02:00
|
|
|
"winston-daily-rotate-file": "^3.2.3",
|
2017-08-18 10:16:29 +02:00
|
|
|
"winston-stream": "^0.0.0"
|
2017-08-16 19:49:27 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-07-08 12:55:49 +02:00
|
|
|
"apidoc": "^0.17.7",
|
2017-08-16 19:49:27 +02:00
|
|
|
"babel-cli": "^6.5.1",
|
|
|
|
"babel-eslint": "^7.1.1",
|
|
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
|
|
|
"babel-plugin-syntax-async-functions": "^6.5.0",
|
|
|
|
"babel-plugin-transform-async-to-generator": "^6.5.0",
|
|
|
|
"babel-preset-env": "^1.6.0",
|
|
|
|
"babel-register": "^6.3.13",
|
|
|
|
"chai": "^3.5.0",
|
2019-08-20 17:52:36 +02:00
|
|
|
"eslint": "^4.18.2",
|
2017-08-16 19:49:27 +02:00
|
|
|
"eslint-config-standard": "^10.2.1",
|
|
|
|
"eslint-plugin-import": "^2.2.0",
|
|
|
|
"eslint-plugin-node": "^5.1.1",
|
|
|
|
"eslint-plugin-promise": "^3.5.0",
|
|
|
|
"eslint-plugin-standard": "^3.0.1",
|
|
|
|
"mocha": "^3.2.0",
|
|
|
|
"nodemon": "^1.8.1",
|
|
|
|
"should": "^11.1.2",
|
|
|
|
"supertest": "^2.0.1"
|
|
|
|
}
|
|
|
|
}
|