70 lines
2.3 KiB
JSON
70 lines
2.3 KiB
JSON
{
|
|
"name": "typescript-node-express-realworld-example-app",
|
|
"version": "0.0.0",
|
|
"description": "> ### [YOUR_FRAMEWORK] codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.",
|
|
"main": "app.js",
|
|
"scripts": {
|
|
"start": "npm run build && npm run watch && npm run serve",
|
|
"serve": "node build/server.js",
|
|
"build": "npm run build-ts",
|
|
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
|
|
"watch-node": "nodemon -r dotenv/config build/server.js",
|
|
"build-ts": "tsc",
|
|
"watch-ts": "tsc -w",
|
|
"test": "newman run ./tests/api-tests.postman.json -e ./tests/env-api-tests.postman.json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/skopekreep/typescript-node-express-realworld-example-app"
|
|
},
|
|
"author": "Josh Black",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://"
|
|
},
|
|
"homepage": "https://",
|
|
"devDependencies": {
|
|
"@types/body-parser": "1.19.0",
|
|
"@types/compression": "1.7.0",
|
|
"@types/cors": "2.8.6",
|
|
"@types/express": "4.17.6",
|
|
"@types/express-jwt": "0.0.42",
|
|
"@types/express-serve-static-core": "4.17.8",
|
|
"@types/express-session": "^1.17.0",
|
|
"@types/helmet": "0.0.47",
|
|
"@types/jsonwebtoken": "^8.5.0",
|
|
"@types/lodash": "^4.14.157",
|
|
"@types/mongodb": "^3.5.25",
|
|
"@types/mongoose": "^5.7.31",
|
|
"@types/mongoose-unique-validator": "1.0.4",
|
|
"@types/node": "14.0.22",
|
|
"@types/passport": "^1.0.4",
|
|
"@types/passport-local": "^1.0.33",
|
|
"newman": "^3.8.2",
|
|
"nodemon": "2.0.4",
|
|
"prisma": "^5.19.1",
|
|
"ts-node": "8.10.2",
|
|
"tslint": "6.1.2",
|
|
"typescript": "^3.9.6"
|
|
},
|
|
"dependencies": {
|
|
"body-parser": "^1.19.0",
|
|
"compression": "1.7.4",
|
|
"cors": "2.8.5",
|
|
"dotenv": "8.2.0",
|
|
"express": "^4.17.1",
|
|
"express-jwt": "^6.0.0",
|
|
"express-session": "^1.17.1",
|
|
"helmet": "^3.23.3",
|
|
"jsonwebtoken": "^8.5.1",
|
|
"lodash": "^4.17.19",
|
|
"mongoose": "^5.9.23",
|
|
"mongoose-unique-validator": "2.0.3",
|
|
"passport": "^0.4.1",
|
|
"passport-local": "^1.0.0",
|
|
"slugify": "^1.4.4",
|
|
"winston": "^3.3.3",
|
|
"winston-daily-rotate-file": "^4.5.0"
|
|
}
|
|
}
|