This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
api/package.json
2021-10-24 04:06:16 +02:00

147 lines
3.8 KiB
JSON

{
"name": "@thream/api",
"version": "0.0.0-development",
"private": true,
"release-it": {
"git": {
"commit": false,
"push": false,
"tag": false
},
"gitlab": {
"release": false
},
"npm": {
"publish": false
},
"hooks": {
"before:init": [
"npm run lint:docker",
"npm run lint:editorconfig",
"npm run lint:markdown",
"npm run lint:typescript",
"npm run build",
"npm run test"
]
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"setupFiles": [
"./__test__/setEnvsVars.ts"
],
"setupFilesAfterEnv": [
"./__test__/setup.ts"
],
"rootDir": "./src",
"collectCoverage": true,
"coverageDirectory": "../coverage/",
"coverageReporters": [
"text",
"cobertura"
]
},
"ts-standard": {
"ignore": [
"build",
"coverage",
"node_modules",
"uploads"
],
"envs": [
"node",
"jest"
],
"report": "stylish"
},
"scripts": {
"build": "rimraf ./build && tsc",
"start": "cross-env NODE_ENV=production node build/index.js",
"dev": "concurrently --kill-others --names \"TypeScript,Node\" --prefix \"[{name}]\" --prefix-colors \"blue,green\" \"tsc --watch\" \"cross-env NODE_ENV=development nodemon -e js,json,yaml build/index.js\"",
"lint:commit": "commitlint",
"lint:docker": "dockerfilelint './Dockerfile' && dockerfilelint './Dockerfile.production'",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint '**/*.md' --dot --ignore node_modules",
"lint:typescript": "ts-standard",
"release": "release-it",
"test": "jest",
"postinstall": "husky install"
},
"dependencies": {
"@thream/socketio-jwt": "2.1.0",
"axios": "0.21.1",
"bcryptjs": "2.4.3",
"cors": "2.8.5",
"dotenv": "8.2.0",
"ejs": "3.1.6",
"express": "4.17.1",
"express-async-errors": "3.1.1",
"express-fileupload": "1.2.1",
"express-rate-limit": "5.2.6",
"express-validator": "6.10.0",
"helmet": "4.5.0",
"jsonwebtoken": "8.5.1",
"morgan": "1.10.0",
"ms": "2.1.3",
"mysql2": "2.2.5",
"nodemailer": "6.5.0",
"reflect-metadata": "0.1.13",
"sequelize": "6.6.2",
"sequelize-typescript": "2.1.0",
"socket.io": "4.0.1",
"swagger-jsdoc": "6.1.0",
"swagger-ui-express": "4.1.6",
"uuid": "8.3.2"
},
"devDependencies": {
"@commitlint/cli": "12.1.1",
"@commitlint/config-conventional": "12.1.1",
"@release-it/conventional-changelog": "2.0.1",
"@types/bcryptjs": "2.4.2",
"@types/cors": "2.8.10",
"@types/ejs": "3.0.6",
"@types/express": "4.17.11",
"@types/express-fileupload": "1.1.6",
"@types/express-rate-limit": "5.1.1",
"@types/jest": "26.0.22",
"@types/jsonwebtoken": "8.5.1",
"@types/mock-fs": "4.13.0",
"@types/morgan": "1.9.2",
"@types/ms": "0.7.31",
"@types/node": "14.14.41",
"@types/nodemailer": "6.4.1",
"@types/server-destroy": "1.0.1",
"@types/supertest": "2.0.11",
"@types/swagger-jsdoc": "6.0.0",
"@types/swagger-ui-express": "4.1.2",
"@types/uuid": "8.3.0",
"@types/validator": "13.1.3",
"concurrently": "6.0.2",
"cross-env": "7.0.3",
"dockerfilelint": "1.8.0",
"editorconfig-checker": "4.0.2",
"husky": "6.0.0",
"jest": "26.6.3",
"markdownlint-cli": "0.27.1",
"mock-fs": "4.13.0",
"nodemon": "2.0.7",
"release-it": "14.6.1",
"rimraf": "3.0.2",
"server-destroy": "1.0.1",
"socket.io-client": "4.0.1",
"sqlite": "4.0.21",
"sqlite3": "5.0.2",
"supertest": "6.1.3",
"ts-jest": "26.5.5",
"ts-standard": "10.0.0",
"typescript": "4.2.4"
}
}