61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"name": "seasoned-api",
|
|
"description": "Packages needed to build and commands to run seasoned api node server.",
|
|
"license": {
|
|
"type": "MIT",
|
|
"url": "https://www.opensource.org/licenses/mit-license.php"
|
|
},
|
|
"main": "webserver/server.js",
|
|
"scripts": {
|
|
"start": "SEASONED_CONFIG=configurations/production.json NODE_ENV=production node lib/webserver/server.js",
|
|
"dev": "SEASONED_CONFIG=configurations/development.json NODE_ENV=development node src/webserver/server.js",
|
|
"test": "SEASONED_CONFIG=configurations/test.json mocha --recursive tests/unit tests/system",
|
|
"build": "yarn tsc",
|
|
"coverage:upload": "SEASONED_CONFIG=configurations/test.json mocha --recursive tests/unit && nyc report --reporter=text-lcov | coveralls",
|
|
"coverage": "SEASONED_CONFIG=configurations/test.json mocha --recursive tests/unit && nyc report",
|
|
"lint": "eslint src tests",
|
|
"update": "SEASONED_CONFIG=configurations/production.json node scripts/updateRequestsInPlex.js",
|
|
"docs": "yarn apiDocs; yarn classDocs",
|
|
"apiDocs": "",
|
|
"classDocs": "scripts/generate-class-docs.sh",
|
|
"postbuild": "cp -r src/database/schemas lib/database"
|
|
},
|
|
"dependencies": {
|
|
"bcrypt": "^5.0.1",
|
|
"body-parser": "~1.18.2",
|
|
"cookie-parser": "^1.4.6",
|
|
"express": "~4.16.0",
|
|
"form-data": "^2.5.1",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"km-moviedb": "^0.2.12",
|
|
"python-shell": "^0.5.0",
|
|
"raven": "^2.4.2",
|
|
"redis": "^3.0.2",
|
|
"sqlite3": "^5.0.1",
|
|
"typescript": "^4.7.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.5.5",
|
|
"@babel/preset-env": "^7.5.5",
|
|
"@babel/register": "^7.5.5",
|
|
"@types/node": "^18.7.8",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
"@typescript-eslint/parser": "^5.33.1",
|
|
"chai": "^4.3.6",
|
|
"chai-http": "^4.3.0",
|
|
"coveralls": "^3.0.5",
|
|
"documentation": "^12.0.3",
|
|
"eslint": "^8.22.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-mocha": "10.1.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"istanbul": "^0.4.5",
|
|
"mocha": "8.4.0",
|
|
"mocha-lcov-reporter": "^1.3.0",
|
|
"nyc": "15.1.0",
|
|
"prettier": "^2.7.1"
|
|
}
|
|
}
|