-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 2.42 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
86
{
"name": "back-end",
"version": "1.0.0",
"main": "src/server.ts",
"repository": "git@github.com:Best-Markdown-Editor/back-end.git",
"author": "JimmyMcBride <mcbride967@gmail.com>",
"license": "MIT",
"private": false,
"lint-staged": {
"*.ts": [
"yarn lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"scripts": {
"dev": "nodemon src/server.ts",
"start": "ts-node src/server.ts",
"db-remake": "psql -U postgres -f remakeDatabase.sql",
"knex-refresh": "knex migrate:rollback && knex migrate:latest && knex seed:run",
"total-reset": "yarn db-remake && yarn knex-refresh",
"test": "cross-env NODE_ENV=testing jest --verbose --runInBand --forceExit",
"coverage": "cross-env NODE_ENV=testing jest --coverage --detectOpenHandles --forceExit || true",
"lint": "npx tsc --noEmit && eslint .",
"lint:fix": "eslint --fix .",
"format": "prettier --write \"**/*.+(js|jsx|json|yml|yaml|css|md)\""
},
"dependencies": {
"@types/bcrypt": "^3.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/connect-redis": "^0.0.14",
"@types/express-session": "^1.17.0",
"@types/ioredis": "^4.16.7",
"@types/node": "^14.0.14",
"@types/uuid": "^8.0.0",
"apollo-server-express": "^2.15.0",
"apollo-server-testing": "^2.15.0",
"bcrypt": "^5.0.0",
"bcryptjs": "^2.4.3",
"connect-redis": "^4.0.4",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"express-session": "^1.17.1",
"graphql-tools": "^6.0.11",
"ioredis": "^4.17.3",
"knex": "^0.21.1",
"moment": "^2.27.0",
"pg": "^8.2.1",
"pg-connection-string": "^2.4.0",
"prettier": "^2.1.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.5",
"uuid": "^8.2.0"
},
"devDependencies": {
"@types/jest": "^26.0.3",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"husky": "^4.3.0",
"jest": "^26.1.0",
"lint-staged": "^10.4.0",
"nodemon": "^2.0.4",
"ts-jest": "^26.1.1"
},
"jest": {
"clearMocks": true,
"displayName": "Markdown Server",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"/node_modules/"
],
"verbose": true,
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/node_modules/**",
"!**/vendor/**",
"!**/__tests__/**"
]
}
}