72 lines
2.4 KiB
JSON
72 lines
2.4 KiB
JSON
{
|
|
"name": "@massivedecks/server",
|
|
"description": "The game server for Massive Decks, a comedy party game.",
|
|
"version": "2.0.0",
|
|
"author": "Reread Games <team@rereadgames.com>",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"repository": "github:Lattyware/massivedecks",
|
|
"engines": {
|
|
"node": ">=13"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "tsc",
|
|
"prestart": "npm run build",
|
|
"start": "node --es-module-specifier-resolution=node dist/index.js",
|
|
"dev": "nodemon --es-module-specifier-resolution=node .",
|
|
"debug": "nodemon --inspect --es-module-specifier-resolution=node.",
|
|
"generate-json-validators": "npx typescript-json-validator src/ts/action/validation.ts --collection --noExtraProps --format=full --aliasRefs --ignoreErrors && sed -i -e 's/allErrors: true/allErrors: false/g' -e 's/ChangeBase<\"\\(.*\\)\",\\(.*\\)>/ChangeBase\\1/g' -e 's/\\/\\* tslint:disable \\*\\//\\/\\* eslint-disable \\*\\//g' src/ts/action/validation.validator.ts",
|
|
"generate-secret": "npm run prestart && node dist/secret.js"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"config.json5"
|
|
],
|
|
"dependencies": {
|
|
"ajv": "^6.10.2",
|
|
"axios": "^0.19.0",
|
|
"body-parser": "^1.19.0",
|
|
"express": "^4.17.1",
|
|
"express-async-errors": "^3.1.1",
|
|
"express-winston": "^4.0.2",
|
|
"express-ws": "^4.0.0",
|
|
"generic-pool": "^3.7.1",
|
|
"hashids": "^2.1.0",
|
|
"helmet": "^3.21.2",
|
|
"http-status-codes": "^1.3.2",
|
|
"json5": "^2.1.0",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"moment": "^2.24.0",
|
|
"source-map-support": "^0.5.13",
|
|
"uuid": "^3.3.3",
|
|
"winston": "^3.2.1",
|
|
"wu": "^2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.2",
|
|
"@types/express-serve-static-core": "^4.17.1",
|
|
"@types/express-winston": "^4.0.0",
|
|
"@types/express-ws": "^3.0.0",
|
|
"@types/generic-pool": "^3.1.9",
|
|
"@types/hashids": "^1.0.30",
|
|
"@types/helmet": "^0.0.45",
|
|
"@types/json5": "0.0.30",
|
|
"@types/jsonwebtoken": "^8.3.5",
|
|
"@types/source-map-support": "^0.5.0",
|
|
"@types/uuid": "^3.4.6",
|
|
"@types/wu": "^2.1.39",
|
|
"@typescript-eslint/eslint-plugin": "^2.14.0",
|
|
"@typescript-eslint/parser": "^2.14.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.9.0",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"nodemon": "^2.0.2",
|
|
"prettier": "1.19.1",
|
|
"typescript": "^3.7.4",
|
|
"typescript-json-validator": "^2.4.0"
|
|
}
|
|
}
|