-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.57 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
{
"name": "share-clipboard",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node -r dotenv/config dist/index.js",
"start:server": "babel-node -r dotenv/config server/index.js",
"watch:client": "cd client && yarn start",
"watch:server": "nodemon --exec babel-node -r dotenv/config server/index.js",
"dev": "concurrently \"yarn watch:server\" \"yarn watch:client\"",
"prod": "yarn build:client && cross-env NODE_ENV=production yarn watch:server",
"build:client": "cd client && yarn build",
"build:server": "babel server --out-dir dist",
"build": "yarn build:client && yarn build:server",
"heroku-prebuild": "cd client && yarn install --dev",
"heroku-postbuild": "yarn build",
"clean": "rimraf node_modules client/node_modules",
"lint": "eslint \"**/*.{js,jsx}\"",
"lint:fix": "eslint \"**/*.{js,jsx}\" --fix",
"format": "prettier \"**/*.{js,jsx,css}\" --write",
"format:staged": "pretty-quick --staged",
"lf": "yarn lint && yarn format"
},
"author": "Rohit Bakoliya",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"(server|client)/**/*.{js,jsx}": [
"yarn format:staged",
"eslint --cache --fix"
]
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/polyfill": "^7.12.1",
"axios": "^0.21.1",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-mongo-sanitize": "^2.0.2",
"express-rate-limit": "^5.2.6",
"express-static-gzip": "^2.1.1",
"helmet": "^4.4.1",
"http-status-codes": "^2.1.4",
"joi": "^17.4.0",
"memory-cache": "^0.2.0",
"mongoose": "^5.12.2",
"morgan": "^1.10.0",
"nanoid": "^3.1.22",
"xss-clean": "^0.1.1"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/node": "^7.13.12",
"@babel/preset-env": "^7.13.12",
"babel-eslint": "^10.1.0",
"babel-register": "^6.26.0",
"concurrently": "^6.0.0",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-security": "^1.4.0",
"husky": "4.3.8",
"lint-staged": "^10.5.4",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2"
}
}