express-typescript-jest-supertest
Version:
Tool to generate express boilerplate application
45 lines (44 loc) • 1.18 kB
JSON
{
"name": "Express-app",
"scripts": {
"start": "npm run build && NODE_PATH=./build node ./build/index.js",
"dev": "NODE_PATH=./src nodemon ./src/index.ts",
"test": "npx jest --detectOpenHandles",
"test:watch": "npx jest --watch",
"lint": "npx eslint ./src",
"swagger": "npx swagger-jsdoc -d swaggerDef.js ./src/**/***/**.ts && cat ./swagger.json",
"build": "npx tsc"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"express": "4.17.1",
"swagger-jsdoc": "4.3.1"
},
"devDependencies": {
"@tsed/multipartfiles": "5.65.9",
"@types/express": "4.17.8",
"@types/jest": "26.0.15",
"@types/node": "14.14.2",
"@types/supertest": "2.0.10",
"@types/swagger-jsdoc": "3.0.2",
"@typescript-eslint/eslint-plugin": "4.5.0",
"@typescript-eslint/parser": "4.5.0",
"eslint": "7.12.0",
"husky": "4.3.0",
"jest": "26.6.1",
"nodemon": "2.0.6",
"supertest": "5.0.0",
"ts-jest": "26.4.2",
"ts-node": "9.0.0",
"typescript": "4.0.3"
},
"description": "",
"husky": {
"hooks": {
"pre-commit": "npm run lint",
"pre-push": "npm run test"
}
}
}