89 lines
2.8 KiB
JSON
89 lines
2.8 KiB
JSON
{
|
|
"name": "lighthouse",
|
|
"description": "Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.",
|
|
"version": "0.0.1",
|
|
"author": "filipnyquist <filip@lbry.io>",
|
|
"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": {
|
|
"start": "nodemon server/ --exec babel-node --ignore 'claimTrieCache.json'",
|
|
"build": "babel server -d dist",
|
|
"lint": "eslint ./server",
|
|
"lint-fix": "npm run lint -- --fix",
|
|
"test": "npm run lint && npm run mocha",
|
|
"prod": "npm run build && node dist/",
|
|
"mocha": "./node_modules/.bin/mocha --compilers js:babel-register --require babel-polyfill",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@koa/cors": "^2.2.1",
|
|
"app-root-path": "^2.0.1",
|
|
"babel-polyfill": "^6.5.0",
|
|
"bitcoin-promise": "filipnyquist/node-bitcoin-promise#1fbf1cb8913ca3542b66060d48ebea185661e0a7",
|
|
"bluebird": "^3.5.0",
|
|
"chalk": "^2.0.1",
|
|
"elastic-queue": "^0.3.0",
|
|
"elasticsearch": "^13.2.0",
|
|
"file-exists": "^4.0.0",
|
|
"glob": "^7.1.1",
|
|
"jsonfile": "^3.0.1",
|
|
"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",
|
|
"limited-request-queue": "^3.0.4",
|
|
"oas": "^0.8.8",
|
|
"ora": "^1.3.0",
|
|
"prettysize": "^1.1.0",
|
|
"properties-reader": "^0.0.16",
|
|
"redoc-cli": "^0.6.1",
|
|
"request": "^2.81.0",
|
|
"request-promise": "^4.2.1",
|
|
"winston": "^2.3.1",
|
|
"winston-daily-rotate-file": "^3.2.3",
|
|
"winston-stream": "^0.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"apidoc": "^0.17.6",
|
|
"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",
|
|
"eslint": "^3.12.2",
|
|
"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"
|
|
}
|
|
}
|