forked from eledx/slack-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2 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
{
"name": "slack-clone",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node .",
"start:watch": "nodemon .",
"test:data-access": "DATABASE_URL=postgres://slack_clone_test_user:123456@localhost:5432/slack_clone_test jest data-access.spec.js --forceExit",
"test:app-e2e": "DATABASE_URL=postgres://slack_clone_test_user:123456@localhost:5432/slack_clone_test jest app.e2e.spec.js --forceExit",
"test:server": "npm run test:data-access && npm run test:app-e2e",
"test": "npm run test-server && cd webapp && npm test",
"build": "npm run migrate & npm run build-webapp",
"build-webapp": "cd webapp && npm install && npm run build",
"migrate": "db-migrate up --config db-migrate-config.js --env pg"
},
"jest": {
"testPathIgnorePatterns": [
"webapp",
"webappmobile"
]
},
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.19.0",
"cheerio": "^1.0.0-rc.3",
"cookie-parser": "^1.4.4",
"db-migrate": "^0.11.11",
"db-migrate-pg": "^1.0.0",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"express-ws": "^4.0.0",
"lodash": "^4.17.15",
"morgan": "^1.9.1",
"node-fetch": "^2.6.0",
"pg": "^7.12.1",
"ws": "^7.2.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"eslint": "^6.6.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-flowtype": "^4.6.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"lint-staged": "^9.4.2",
"nodemon": "^1.19.3",
"prettier": "^1.19.1",
"prettierrc": "0.0.0-5",
"supertest": "^4.0.2",
"util": "^0.12.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
}
}