aiber-jwt-test/package.json
Martin Donnelly e512ae52b0 Server is now receiving messages
DB server set up
2021-03-25 10:08:41 +00:00

82 lines
2.5 KiB
JSON

{
"name": "jwt-test",
"version": "1.0.0",
"description": "",
"main": "./server/index.js",
"watch": {
"run_server": {
"patterns": [
"src"
],
"extensions": "ts,html,scss",
"quiet": false
}
},
"scripts": {
"run:ts": "ts-node ./src/development.ts",
"clean": "rm -rf dist",
"prebuild": "rimraf ./server",
"test:js": "mocha test/**/*.js",
"test:ts": "mocha -r ts-node/register test/**/*.ts",
"lint": "eslint ./src --ext .ts",
"coverage": "nyc npm run test:js",
"build:js": "rollup -c rollup.config.js",
"compile:es": "tsc --declaration true --declarationMap true --module esnext --outDir './server/es'",
"compile:commonjs": "tsc --declaration true --declarationMap true --module commonjs --outDir './server/commonjs'",
"compile:ts": "tsc --outDir './server'",
"compile": "npm run prebuild && npm run compile:es && npm run compile:commonjs",
"run_server": "npm run run:ts",
"watch_server": "npm-watch run_server",
"docker:start": "cd ./db && docker-compose up -d --build",
"docker:stop": "cd ./db && docker-compose down",
"docker:cleanup": "cd ./db && docker-compose down -v --remove-orphans",
"docker:logs": "cd ./db && docker-compose logs -f",
"quick_start": "npm run docker:start && npm run watch_server"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@types/dotenv": "^8.2.0",
"@types/helmet": "^4.0.0",
"@types/joi": "^17.2.3",
"@types/sqlite3": "^3.1.7",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-session": "^1.17.1",
"fecha": "^4.2.0",
"helmet": "^4.4.1",
"joi": "^17.4.0",
"jsonfile": "^6.1.0",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"log4js": "^6.3.0",
"mongoose": "^5.10.11",
"morgan": "^1.10.0",
"pg-promise": "^10.9.5",
"short-hash": "^1.0.0",
"sqlite3": "^5.0.2",
"ts-postgres": "^1.1.3"
},
"devDependencies": {
"@types/cors": "^2.8.10",
"@types/express": "^4.17.8",
"@types/express-serve-static-core": "^4.17.18",
"@types/express-session": "^1.17.0",
"@types/http-codes": "^1.0.1",
"@types/jsonwebtoken": "^8.5.0",
"@types/morgan": "^1.9.2",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"eslint": "7.22.0",
"http-codes": "^1.0.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.33.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"typings": "^2.1.1"
}
}