forked from fr/deguapp
75 lines
1.8 KiB
JSON
75 lines
1.8 KiB
JSON
{
|
|
"name": "deguapp-api",
|
|
"version": "2.0.0",
|
|
"description": "DeguApp REST API",
|
|
"main": "dist/app.js",
|
|
"bin": "dist/app.js",
|
|
"types": "dist/app.d.ts",
|
|
"scripts": {
|
|
"start": "npm run start:prod",
|
|
"start:dev": "tsx watch src/server.ts",
|
|
"start:prod": "node dist/server.js",
|
|
"tsc": "tsc -p .",
|
|
"clean": "rimraf dist",
|
|
"copy-assets": "ts-node src/utils/copyAssets",
|
|
"build": "npm-run-all clean tsc copy-assets",
|
|
"test": "npx jest . --runInBand",
|
|
"format": "npx prettier --write ."
|
|
},
|
|
"author": "Filip Rojek",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"bcrypt": "^5.1.1",
|
|
"colors": "1.4.0",
|
|
"dotenv": "^16.4.5",
|
|
"express": "^4.19.2",
|
|
"fs-extra": "^10.0.0",
|
|
"inquirer": "^8.1.2",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"mongoose": "^8.3.3",
|
|
"morgan": "^1.10.0",
|
|
"pad": "^3.2.0",
|
|
"path": "^0.12.7",
|
|
"yup": "^1.4.0",
|
|
"yup-password": "^0.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.7.1",
|
|
"@types/bcrypt": "^5.0.2",
|
|
"@types/chai": "^4.2.22",
|
|
"@types/express": "^4.17.21",
|
|
"@types/fs-extra": "^9.0.13",
|
|
"@types/inquirer": "^8.1.3",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/jsonwebtoken": "^9.0.6",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/morgan": "^1.9.9",
|
|
"@types/shelljs": "^0.8.11",
|
|
"@types/supertest": "^6.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
|
"@typescript-eslint/parser": "^5.5.0",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^8.3.0",
|
|
"http": "^0.0.1-security",
|
|
"jest": "^29.7.0",
|
|
"mocha": "^9.1.3",
|
|
"mongodb-memory-server": "^9.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.7.1",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.5",
|
|
"supertest": "^7.0.0",
|
|
"ts-jest": "^29.1.2",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.7.3",
|
|
"typescript": "^4.5.2"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"setupFilesAfterEnv": [
|
|
"./tests/_setupFile.ts"
|
|
]
|
|
}
|
|
}
|