-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.65 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
{
"name": "password-validator",
"version": "1.0.0",
"description": "with BackendTsKit By DevSazal",
"repository": {
"type": "git",
"url": "git+https://github.com/DevSazal/backend-ts-password.git"
},
"scripts": {
"build": "tsc -p ./tsconfig.json",
"lint": "npx --no-install prettier --check 'src/**/*.{js,ts}' 'cli/**/*.{js,ts}'",
"lintfix": "npx --no-install prettier --write 'src/**/*.{js,ts}' 'cli/**/*.{js,ts}'",
"eslint": "eslint src",
"test:unit": "jest",
"test": "npm run lint && npm run build && npm run test:unit",
"start": "nodemon --exec ts-node src/index.ts",
"cli": "ts-node cli/main.ts"
},
"dependencies": {
"body-parser": "^1.19.0",
"dotenv": "^16.0.3",
"express": "^4.17.1",
"mysql": "^2.18.1",
"supertest": "^6.3.3"
},
"devDependencies": {
"@types/express": "^4.17.15",
"@types/jest": "^29.2.5",
"@types/mysql": "^2.15.21",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"colors": "^1.4.0",
"eslint": "^8.3.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.25.3",
"husky": "^8.0.3",
"jest": "^29.3.1",
"nock": "^13.2.1",
"nodemon": "^2.0.15",
"prettier": "^2.8.4",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"husky": {
"hooks": {
"pre-commit": "make lint"
}
},
"jest": {
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testEnvironment": "node",
"preset": "ts-jest"
}
}