54 lines
1.6 KiB
JSON
54 lines
1.6 KiB
JSON
{
|
|
"name": "Shelf_backend",
|
|
"version": "0.1.0",
|
|
"description": "",
|
|
"main": "server.ts",
|
|
"scripts": {
|
|
"start": "nodemon src/server.ts",
|
|
"dev": "db-migrate --env dev up && nodemon src/server.ts",
|
|
"watch": "tsc-watch --esModuleInterop src/server.ts --outDir ./dist --onSuccess \"node ./dist/server.js\"",
|
|
"test": "db-migrate --env test up && ENV=test jasmine-ts --config jasmine.json && db-migrate --env test down",
|
|
"build": "npx tsc",
|
|
"up": "db-migrate up",
|
|
"down": "db-migrate down",
|
|
"lint": "eslint --ext .ts",
|
|
"prettier": "prettier \"src/**/*.ts\" --write",
|
|
"tsc": "tsc"
|
|
},
|
|
"author": "AnisB",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"bcrypt": "^5.0.1",
|
|
"body-parser": "^1.19.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^16.0.0",
|
|
"express": "^4.17.1",
|
|
"lodash": "^4.17.21",
|
|
"nodemon": "^2.0.15",
|
|
"pg": "^8.5.1",
|
|
"typescript": "^4.1.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bcrypt": "^5.0.0",
|
|
"@types/express": "^4.17.9",
|
|
"@types/jasmine": "^3.6.3",
|
|
"@types/pg": "^7.14.7",
|
|
"@types/supertest": "^2.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.10.1",
|
|
"@typescript-eslint/parser": "^5.10.1",
|
|
"db-migrate": "^0.11.13",
|
|
"db-migrate-pg": "^1.2.2",
|
|
"eslint": "^7.27.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-plugin-prettier": "^3.4.0",
|
|
"jasmine": "^3.6.4",
|
|
"jasmine-spec-reporter": "^6.0.0",
|
|
"jasmine-ts": "^0.3.0",
|
|
"prettier": "^2.3.0",
|
|
"supertest": "^6.1.3",
|
|
"ts-node": "^9.1.1",
|
|
"tsc-watch": "^4.2.9",
|
|
"typescript": "^4.5.4"
|
|
}
|
|
}
|