Had to set example to 1 on line 172, otherwise it would not work locally. No idea how production works with that code. oops
114 lines
3.6 KiB
JSON
Executable file
114 lines
3.6 KiB
JSON
Executable file
{
|
|
"_moduleAliases": {
|
|
"~component": "app/components",
|
|
"~data": "app/data",
|
|
"~helper": "app/helpers",
|
|
"~module": "app/modules",
|
|
"~root": ".",
|
|
"~socket": "app/sockets.js",
|
|
"~view": "app/views"
|
|
},
|
|
"author": "LBRY Team",
|
|
"dependencies": {
|
|
"@babel/polyfill": "^7.4.4",
|
|
"@inc/fastify-ws": "^1.1.0",
|
|
"@octokit/rest": "^16.26.0",
|
|
"@slack/client": "^5.0.1",
|
|
"async": "^3.0.0",
|
|
"async-es": "^3.0.0",
|
|
"choo": "^6.13.3",
|
|
"choo-async": "^0.1.1",
|
|
"choo-devtools": "^2.5.1",
|
|
"choo-ssr": "^0.2.1",
|
|
"choo-websocket": "^2.0.0",
|
|
"colorette": "^1.0.7",
|
|
"cors": "^2.8.5",
|
|
"cron": "^1.7.1",
|
|
"date-format-lite": "^17.7.0",
|
|
"decamelize": "^3.2.0",
|
|
"dedent": "^0.7.0",
|
|
"dotenv": "^8.0.0",
|
|
"fastify": "~2.3.0",
|
|
"fastify-compress": "^0.10.0",
|
|
"fastify-helmet": "^3.0.0",
|
|
"fastify-static": "^2.4.0",
|
|
"front-matter": "^3.0.2",
|
|
"fs-exists-sync": "^0.1.0",
|
|
"got": "^9.6.0",
|
|
"graceful-fs": "^4.1.15",
|
|
"link-module-alias": "^1.2.0",
|
|
"make-promises-safe": "^5.0.0",
|
|
"markdown-it": "^8.4.2",
|
|
"markdown-it-anchor": "^5.0.2",
|
|
"prismjs": "^1.15.0",
|
|
"redis": "^2.8.0",
|
|
"slack-node": "^0.1.8",
|
|
"socket.io": "^2.2.0",
|
|
"stringify-object": "^3.3.0"
|
|
},
|
|
"description": "Documentation for the LBRY protocol and associated projects",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.4.4",
|
|
"@babel/core": "^7.4.4",
|
|
"@babel/plugin-external-helpers": "7.2.0",
|
|
"@babel/plugin-proposal-class-properties": "7.4.4",
|
|
"@babel/plugin-proposal-decorators": "7.4.4",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.2.0",
|
|
"@babel/plugin-proposal-function-sent": "7.2.0",
|
|
"@babel/plugin-proposal-json-strings": "7.2.0",
|
|
"@babel/plugin-proposal-numeric-separator": "7.2.0",
|
|
"@babel/plugin-proposal-throw-expressions": "7.2.0",
|
|
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
"@babel/plugin-syntax-import-meta": "7.2.0",
|
|
"@babel/preset-env": "^7.4.4",
|
|
"@babel/register": "^7.4.4",
|
|
"@inc/eslint-config": "^1.1.3",
|
|
"@inc/sasslint-config": "^2019.5.7",
|
|
"@lbry/color": "^1.1.1",
|
|
"@lbry/components": "^2.7.1",
|
|
"eslint": "^5.16.0",
|
|
"husky": "^2.3.0",
|
|
"nodemon": "^1.19.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"pino-pretty": "^3.0.0",
|
|
"sass": "^1.20.1",
|
|
"sass-lint": "^1.13.1",
|
|
"snazzy": "^8.0.0",
|
|
"standardx": "^3.0.1",
|
|
"updates": "^8.0.3"
|
|
},
|
|
"engines": {
|
|
"node": "10.2.x"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run format && npm run test:sass && git add -A :/"
|
|
}
|
|
},
|
|
"main": "server.js",
|
|
"name": "lbry.tech",
|
|
"optionalDependencies": {
|
|
"win-node-env": "^0.4.0"
|
|
},
|
|
"private": true,
|
|
"scripts": {
|
|
"css": "sass --load-path=node_modules --update app/sass:app/dist --style compressed",
|
|
"format": "eslint '**/*.js' --fix --ignore-pattern '/app/dist/'",
|
|
"postinstall": "link-module-alias",
|
|
"preinstall": "command -v link-module-alias; link-module-alias clean || true",
|
|
"start": "npm i; npm run css; NODE_ENV=production node index.js",
|
|
"test": "run-s test:*",
|
|
"test:dependencies": "updates --update ./ --exclude prismjs",
|
|
"test:lint": "standardx --verbose | snazzy",
|
|
"test:sass": "sass-lint --config ./node_modules/@inc/sasslint-config/config.json --verbose --no-exit",
|
|
"watch": "npm run css; run-p watch:*",
|
|
"watch:sass": "sass --load-path=node_modules --watch app/sass:app/dist --style compressed",
|
|
"watch:server": "NODE_ENV=development nodemon --ignore 'app/dist'"
|
|
},
|
|
"standardx": {
|
|
"ignore": [
|
|
"app/dist"
|
|
]
|
|
},
|
|
"version": "5.3.0"
|
|
}
|