73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
|
"name": "api",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "dist/server.js",
|
|
"private": "true",
|
|
"keywords": [],
|
|
"author": "Filip Rojek <filip@filiprojek.cz> (https://filiprojek.cz)",
|
|
"repository": "github:username/repo",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"start": "node dist/server.js",
|
|
"start:dev": "nodemon src/server.ts",
|
|
"test": "jest",
|
|
"clean": "rimraf dist/*",
|
|
"copy-assets": "npx ts-node src/utils/copyAssets",
|
|
"tsc": "tsc -p .",
|
|
"build": "npm-run-all clean tsc copy-assets",
|
|
"format": "npx prettier --write ."
|
|
},
|
|
"dependencies": {
|
|
"colors": "1.4.0",
|
|
"cookie-parser": "^1.4.5",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^8.2.0",
|
|
"ejs": "^3.1.6",
|
|
"express": "^4.17.1",
|
|
"express-validator": "^6.14.2",
|
|
"fs-extra": "^10.0.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"mariadb": "^3.2.3",
|
|
"mongoose": "^8.0.3",
|
|
"sequelize": "^6.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cookie-parser": "^1.4.2",
|
|
"@types/cors": "^2.8.10",
|
|
"@types/ejs": "^3.0.6",
|
|
"@types/express": "^4.17.11",
|
|
"@types/fs-extra": "^9.0.12",
|
|
"@types/jest": "^27.5.2",
|
|
"@types/jsonwebtoken": "^8.5.8",
|
|
"@types/mongoose": "^5.11.97",
|
|
"@types/morgan": "^1.9.2",
|
|
"@types/node": "^14.14.41",
|
|
"@types/shelljs": "^0.8.9",
|
|
"jest": "^27.0.6",
|
|
"morgan": "^1.10.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"shelljs": "^0.8.4",
|
|
"ts-jest": "^27.1.5",
|
|
"ts-node": "^10.8.1",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node"
|
|
},
|
|
"nodemonConfig": {
|
|
"ignore": [
|
|
"**/*.test.ts",
|
|
"**/*.spec.ts",
|
|
".git",
|
|
"node_modules"
|
|
],
|
|
"watch": [
|
|
"src"
|
|
],
|
|
"ext": "ts, js"
|
|
}
|
|
}
|