forked from luizomf/clean-architecture-api-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.33 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "clean",
"version": "1.0.0",
"description": "",
"main": "index.js",
"directories": {
"doc": "docs"
},
"scripts": {
"dev": "ts-node-dev -r 'dotenv/config' -r 'tsconfig-paths/register' src/infrastructure/express/server.ts",
"start": "NODE_ENV=production node -r 'dotenv/config' dist/infrastructure/express/server.js",
"build": "rm -R dist ; babel src --extensions \".ts,.js\" --out-dir dist --copy-files --no-copy-ignored",
"buildAndStart": "npm run build && NODE_ENV=production npm start",
"test": "jest --bail --runInBand --silent --setupFiles dotenv/config",
"test:lintStaged": "npm test -- --findRelatedTests",
"test:coverage": "npm test -- --coverage",
"test:watch": "npm test -- --watch",
"test:watchAll": "npm test -- --watchAll",
"test:watchUnit": "npm run test:watch -- --testMatch \"**/?*.spec.ts?(x)\"",
"test:watchIntegration": "npm run test:watch -- --testMatch \"**/?*.test.ts?(x)\"",
"lint:log": "eslint 'src/**/*.ts'",
"lint": "eslint 'src/**/*.ts' --fix --max-warnings 0",
"lint:ts": "tsc --noEmit",
"prePush": "npm run test:coverage && npm run lint && npm run lint:ts && npm run build",
"migrate:make": "knex --knexfile src/infrastructure/knex/knexfile.ts migrate:make -x ts",
"migrate:dev": "knex --knexfile ./src/infrastructure/knex/knexfile.ts migrate:latest --env development",
"migrate:prod": "knex --knexfile ./src/infrastructure/knex/knexfile.ts migrate:latest --env production",
"rollback:dev": "knex --knexfile ./src/infrastructure/knex/knexfile.ts migrate:rollback --env development",
"rollback:prod": "knex --knexfile ./src/infrastructure/knex/knexfile.ts migrate:rollback --env production",
"database:up": "docker-compose up -d",
"database:down": "docker-compose down",
"docker:dropAll": "docker stop $(docker ps -a -q) && docker system prune -f"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.0.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-rate-limit": "^5.2.3",
"helmet": "^4.2.0",
"jsonwebtoken": "^8.5.1",
"knex": "^0.21.12",
"pg": "^8.5.1",
"sanitize-html": "^2.2.0",
"validator": "^13.5.1"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/node": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@types/bcrypt": "^3.0.0",
"@types/express": "^4.17.9",
"@types/express-rate-limit": "^5.1.0",
"@types/jest": "^26.0.18",
"@types/jsonwebtoken": "^8.5.0",
"@types/knex": "^0.16.1",
"@types/node": "^14.14.12",
"@types/sanitize-html": "^1.27.0",
"@types/supertest": "^2.0.10",
"@types/validator": "^13.1.1",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"babel-plugin-module-resolver": "^4.0.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.2.0",
"eslint-plugin-react": "^7.21.5",
"git-commit-msg-linter": "^3.0.0",
"husky": "^4.3.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"sqlite3": "^5.0.0",
"supertest": "^6.0.1",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.1.2"
}
}