-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
76 lines (76 loc) · 2.5 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
{
"name": "e_commerce",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"client": "cd client && yarn start",
"start": "babel-node index.js",
"server": "nodemon index.js --exec babel-node index.js",
"server:prod": "cross-env NODE_ENV=production nodemon index.js --exec babel-node index.js",
"build": "yarn && cd client && yarn && yarn build",
"test": "cross-env NODE_ENV=test jest --testTimeout=10000",
"test:coverage": "jest --coverage",
"test:coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"dev": "cross-env NODE_ENV=development concurrently --kill-others-on-fail \"yarn server\" \"yarn client\"",
"prod": "cross-env NODE_ENV=production concurrently --kill-others-on-fail \"yarn start\" \"yarn client\"",
"eslint": "eslint ./src/ && eslint index.js",
"eslint-fix": "eslint ./src/ --fix && eslint index.js --fix",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false yarn --prefix client && yarn build --prefix client"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/register": "^7.8.6",
"@babel/runtime": "^7.8.7",
"coveralls": "^3.0.11",
"cross-env": "^7.0.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"jest": "^25.1.0",
"nodemon": "^2.0.2",
"supertest": "^4.0.2"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@hapi/joi": "^17.1.1",
"axios": "^0.21.1",
"bcryptjs": "^2.4.3",
"bootstrap": "^4.4.1",
"concurrently": "^5.1.0",
"connect-mongo": "^3.2.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-session": "^1.17.0",
"helmet": "^3.21.3",
"joi-objectid": "^3.0.1",
"lodash": "^4.17.20",
"mongoose": "^5.12.3",
"morgan": "^1.9.1"
},
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/",
"/client/",
"/coverage/",
"/src/index.js",
"/src/config/index.js"
],
"collectCoverageFrom": [
"**/*.js",
"!data/keyMap.js",
"!/node_modules/",
"!/client/"
]
}
}