108 lines
3.1 KiB
JSON
108 lines
3.1 KiB
JSON
{
|
|
"name": "roe-base",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"description": "a Sails application",
|
|
"keywords": [],
|
|
"scripts": {
|
|
"start": "npm run forever",
|
|
"start:dev": "npm-run-all --parallel open:client lift",
|
|
"start:debug": "npm-run-all --parallel open:client debug",
|
|
"start:prod": "npm-run-all --parallel build:prod lift",
|
|
"start:client": "webpack-dev-server --mode development",
|
|
"start:eb": "npm run db:migrate && npm run build:prod && npm run forever",
|
|
"lift": "sails lift",
|
|
"build": "npm run build:prod",
|
|
"build:dev": "webpack --mode development",
|
|
"build:prod": "webpack --mode production",
|
|
"clean": "rimraf .tmp && mkdirp .tmp/public",
|
|
"forever": "sudo ./node_modules/.bin/pm2 start ecosystem.config.js --env production",
|
|
"stop": "sudo ./node_modules/.bin/pm2 delete roe-base",
|
|
"test": "npm run lint && npm run custom-tests && echo 'Done.'",
|
|
"lint": "standard && echo '✔ Your .js files look good.'",
|
|
"debug": "node --inspect app.js",
|
|
"custom-tests": "echo 'Nothing yet'",
|
|
"db:migrate": "knex migrate:latest",
|
|
"db:rollback": "knex migrate:rollback",
|
|
"g:migration": "knex migrate:make"
|
|
},
|
|
"dependencies": {
|
|
"@sailshq/connect-redis": "^3.2.1",
|
|
"@sailshq/lodash": "^3.10.3",
|
|
"@sailshq/socket.io-redis": "^5.2.0",
|
|
"async": "2.0.1",
|
|
"base64url": "^3.0.0",
|
|
"bcrypt": "^3.0.2",
|
|
"chai": "^4.2.0",
|
|
"eslint-plugin-react": "^7.11.1",
|
|
"express-rate-limit": "^3.2.1",
|
|
"grunt": "^1.0.3",
|
|
"knex": "^0.15.2",
|
|
"passport": "^0.4.0",
|
|
"passport-github2": "^0.1.11",
|
|
"passport-google-oauth20": "^1.0.0",
|
|
"passport-local": "^1.0.0",
|
|
"pm2": "^3.2.2",
|
|
"r2-opds-js": "^1.0.6",
|
|
"r2-utils-js": "^1.0.6",
|
|
"react": "^16.6.0",
|
|
"react-dom": "^16.6.0",
|
|
"request": "^2.88.0",
|
|
"sails": "^1.0.2",
|
|
"sails-hook-grunt": "^3.0.2",
|
|
"sails-hook-orm": "^2.1.1",
|
|
"sails-hook-sockets": "^1.4.0",
|
|
"sails-postgresql": "^1.0.2",
|
|
"showdown": "^1.9.0",
|
|
"ta-json-x": "^2.5.0",
|
|
"webpack": "^4.23.1",
|
|
"webpack-cli": "^3.1.2",
|
|
"xmldom": "^0.1.27",
|
|
"@babel/core": "^7.1.2",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/polyfill": "^7.0.0",
|
|
"@babel/preset-env": "^7.1.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-loader": "^8.0.4",
|
|
"css-loader": "^1.0.1",
|
|
"file-saver": "^2.0.1",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"mini-css-extract-plugin": "^0.4.4",
|
|
"mocha": "^5.2.0",
|
|
"node-sass": "^4.9.4",
|
|
"npm-run-all": "^4.1.3",
|
|
"react-router-dom": "^4.3.1",
|
|
"rimraf": "^2.6.2",
|
|
"sass-loader": "^7.1.0",
|
|
"standard": "^12.0.1",
|
|
"style-loader": "^0.23.1",
|
|
"webpack-dev-server": "^3.1.10"
|
|
},
|
|
"main": "app.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/ebookfoundation/riverofebooks.git"
|
|
},
|
|
"author": "vagrant",
|
|
"license": "",
|
|
"engines": {
|
|
"node": ">=8.10"
|
|
},
|
|
"standard": {
|
|
"globals": [
|
|
"sails",
|
|
"User",
|
|
"Book",
|
|
"Passport",
|
|
"TargetUrl",
|
|
"PublishKey",
|
|
"_"
|
|
],
|
|
"env": [
|
|
"mocha"
|
|
],
|
|
"parser": "babel-eslint"
|
|
}
|
|
}
|