-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.05 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
{
"name": "Bears-Team-1",
"version": "0.1.0",
"engines": {
"node": "9.11.1"
},
"private": true,
"cacheDirectories": ["node_modules"],
"dependencies": {
"axios": "^0.18.0",
"body-parser": "^1.18.2",
"cookie-session": "^2.0.0-beta.3",
"cors": "^2.8.4",
"dotenv": "^4.0.0",
"express": "^4.16.3",
"lodash": "^4.17.10",
"moment": "^2.22.1",
"mongoose": "^5.0.16",
"passport": "^0.4.0",
"passport-google-oauth20": "^1.0.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-router-dom": "^4.2.2"
},
"proxy": {
"/auth/*": {
"target": "http://localhost:3001"
},
"/user/*": {
"target": "http://localhost:3001"
},
"/tweet/*": {
"target": "http://localhost:3001"
},
"/api/*": {
"target": "http://localhost:3001"
}
},
"scripts": {
"start": "node server/server.js",
"start-server": "nodemon server/server.js",
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css":
"npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-scripts start",
"dev": "npm-run-all -p start-server watch-css start-js",
"heroku-postbuild":
"npm install --only=dev --no-shrinkwrap && npm run build",
"build": "react-scripts build",
"test": "mocha server/**/*.test.js",
"test-watch": "nodemon --exec 'npm test'",
"jest": "jest",
"eject": "react-scripts eject",
"precommit": "lint-staged"
},
"devDependencies": {
"@types/jest": "^22.2.3",
"concurrently": "^3.5.1",
"expect": "^22.4.3",
"husky": "^0.14.3",
"jest": "^22.4.3",
"lint-staged": "^7.0.5",
"mocha": "^5.1.1",
"nodemon": "^1.17.3",
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.2",
"prettier": "^1.12.1",
"react-scripts": "1.1.1",
"supertest": "^3.0.0"
},
"lint-staged": {
"*.{js,scss,css,json,md}": ["prettier --write", "git add"],
"mocha": "^5.0.1",
"supertest": "^3.0.0"
},
"jest": {
"testRegex": "(/__tests__/.|(\\.|/)(test|spec))\\.jsx?$"
}
}