2023-03-14 23:38:19 +01:00
|
|
|
{
|
|
|
|
"name": "my-finance-pal",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "A slick application for manging personal finances",
|
|
|
|
"license": "MIT",
|
|
|
|
"author": "Alexander Ungar",
|
|
|
|
"main": "dist/src/index.js",
|
|
|
|
"scripts": {
|
2023-03-22 00:56:59 +01:00
|
|
|
"clean": "rimraf dist",
|
|
|
|
"generate-api-types": "openapi-typescript api/my-finance-pal.yml --output generated/api.ts",
|
|
|
|
"copy-resources": "copyfiles env/production.env api/* dist/",
|
|
|
|
"compile": "tsc",
|
2023-03-22 13:00:39 +01:00
|
|
|
"build": "run-s clean generate-api-types compile copy-resources",
|
2023-03-14 23:38:19 +01:00
|
|
|
"lint": "eslint --ext .ts src/",
|
|
|
|
"dev": "nodemon src/server.ts",
|
2023-04-02 00:31:41 +02:00
|
|
|
"test": "jest"
|
2023-03-14 23:38:19 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-02 00:31:41 +02:00
|
|
|
"@types/supertest": "^2.0.12",
|
2023-03-14 23:38:19 +01:00
|
|
|
"body-parser": "^1.20.2",
|
2023-03-21 22:57:07 +01:00
|
|
|
"currency.js": "^2.0.4",
|
2023-03-14 23:38:19 +01:00
|
|
|
"dotenv": "^16.0.3",
|
|
|
|
"envalid": "^7.3.1",
|
|
|
|
"express": "^4.18.2",
|
|
|
|
"express-async-errors": "^3.1.1",
|
2023-03-20 20:05:25 +01:00
|
|
|
"express-async-handler": "^1.2.0",
|
2023-03-21 23:28:41 +01:00
|
|
|
"express-openapi-validator": "^5.0.3",
|
2023-03-14 23:38:19 +01:00
|
|
|
"express-winston": "^4.2.0",
|
|
|
|
"helmet": "^6.0.1",
|
|
|
|
"http-status-codes": "^2.2.0",
|
2023-03-20 20:05:25 +01:00
|
|
|
"mongoose": "^7.0.2",
|
2023-03-14 23:38:19 +01:00
|
|
|
"openapi-typescript": "^6.2.0",
|
|
|
|
"ts-command-line-args": "^2.4.2",
|
|
|
|
"uuid": "^9.0.0",
|
|
|
|
"winston": "^3.8.2"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/eslint": "^8.21.1",
|
|
|
|
"@types/express": "^4.17.17",
|
2023-04-02 00:31:41 +02:00
|
|
|
"@types/jest": "^29.5.0",
|
2023-03-14 23:38:19 +01:00
|
|
|
"@types/morgan": "^1.9.4",
|
|
|
|
"@types/node": "^18.15.0",
|
2023-03-20 20:05:25 +01:00
|
|
|
"@types/uuid": "^9.0.1",
|
2023-03-14 23:38:19 +01:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
2023-03-22 00:56:59 +01:00
|
|
|
"copyfiles": "^2.4.1",
|
2023-03-14 23:38:19 +01:00
|
|
|
"eslint": "^8.36.0",
|
|
|
|
"eslint-config-prettier": "^8.7.0",
|
|
|
|
"eslint-config-standard-with-typescript": "^34.0.0",
|
|
|
|
"eslint-plugin-import": "^2.27.5",
|
|
|
|
"eslint-plugin-n": "^15.6.1",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
|
"eslint-plugin-promise": "^6.1.1",
|
2023-04-02 00:31:41 +02:00
|
|
|
"jest": "^29.5.0",
|
2023-03-14 23:38:19 +01:00
|
|
|
"nodemon": "^2.0.21",
|
2023-03-22 00:56:59 +01:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-03-14 23:38:19 +01:00
|
|
|
"prettier": "^2.8.4",
|
2023-03-22 00:56:59 +01:00
|
|
|
"rimraf": "^4.4.0",
|
2023-04-02 00:31:41 +02:00
|
|
|
"supertest": "^6.3.3",
|
|
|
|
"ts-jest": "^29.0.5",
|
2023-03-14 23:38:19 +01:00
|
|
|
"ts-node": "^10.9.1",
|
|
|
|
"tsconfig-paths": "^4.1.2",
|
2023-04-02 00:31:41 +02:00
|
|
|
"typescript": "^5.0.3"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"ts"
|
|
|
|
],
|
|
|
|
"rootDir": ".",
|
|
|
|
"testRegex": ".*\\.spec\\.ts$",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(t|j)s$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"roots": [
|
|
|
|
"<rootDir>/src/"
|
|
|
|
],
|
|
|
|
"moduleDirectories": [
|
|
|
|
"node_modules",
|
|
|
|
"src"
|
|
|
|
]
|
2023-03-14 23:38:19 +01:00
|
|
|
}
|
|
|
|
}
|