-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
62 lines (62 loc) · 2.44 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
{
"name": "trademebooks",
"version": "1.0.0",
"description": "A Classified Website for Books",
"engines": {
"node": "=12"
},
"main": "server.js",
"scripts": {
"start": "node server",
"server": "nodemon server",
"client": "npm start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client",
"mongo:start": "docker run --name trademebooks-mongodb --rm -d -p 27017:27017 mongo",
"test:ci": "npm run test:mac && npm run test:nowatch --prefix client",
"test:ci:client": "NODE_ENV=ci npm run test:nowatch --prefix client",
"test:ci:api": "NODE_ENV=ci ./client/node_modules/.bin/jest --config=api/config/jest.config.js --maxWorkers=1",
"test:mac": "NODE_ENV=testing ./client/node_modules/.bin/jest --config=api/config/jest.config.js --maxWorkers=1",
"test:mac:dev": "NODE_ENV=testing ./client/node_modules/.bin/jest --config=api/config/jestDev.config.js --maxWorkers=1",
"test:windows": "set NODE_ENV=testing && ./client/node_modules/.bin/jest --config=api/config/jest.config.js --maxWorkers=1",
"db:seed": "node ./api/tests/seeds",
"db:seed:prod": "NODE_ENV=production node ./api/tests/seeds",
"format:check": "npx prettier --check .",
"format:fix": "npx prettier --write .",
"lint:check": "npm run lint:check --prefix api && npm run lint:check --prefix client",
"lint:fix": "npm run lint:fix --prefix api && npm run lint:fix --prefix client",
"scripts:env": "node ./scripts/env.js"
},
"author": "Yichen Zhu",
"dependencies": {
"@sendgrid/mail": "^7.2.6",
"aws-sdk": "^2.939.0",
"axios": "^0.21.1",
"bcrypt": "^5.0.0",
"body-parser": "^1.19.0",
"client": "file:client",
"connect-mongo": "^3.2.0",
"express": "^4.17.1",
"express-session": "^1.17.1",
"express-socket.io-session": "^1.3.5",
"express-validator": "^6.4.0",
"faker": "^4.1.0",
"moment": "^2.29.1",
"mongoose": "^5.12.7",
"node-fetch": "^2.6.1",
"passport": "^0.4.1",
"passport-facebook": "^3.0.0",
"passport-github2": "^0.1.12",
"passport-google-oauth20": "^2.0.0",
"passport-linkedin-oauth2": "^2.0.0",
"passport-twitter": "^1.0.4",
"socket.io": "^2.4.1",
"validatorjs": "^3.18.1"
},
"devDependencies": {
"concurrently": "^5.1.0",
"husky": "4.3.0",
"nodemon": "^2.0.2",
"prettier": "2.1.2"
}
}