-
Notifications
You must be signed in to change notification settings - Fork 88
/
Copy pathpackage.json
94 lines (94 loc) · 3.45 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
84
85
86
87
88
89
90
91
92
93
94
{
"name": "zc-company-files",
"version": "1.0.0",
"description": "Zuri Chat ~ Company Files Management Plug-In",
"main": "server.js",
"scripts": {
"build:npm": "cd frontend && npm install && npm run build-npm && cd ../root-config && npm install && npm run build-npm",
"build": "yarn build-step-1",
"build-step-1": "cd frontend && yarn install && yarn build && cd ../ && yarn build-step-2",
"build-step-2": "cd root-config && yarn install && yarn build",
"build:local": "yarn build && cd root-config && node generateDevTestFile",
"build:local-npm": "npm run build:npm && cd root-config && node generateDevTestFile",
"client:dev": "concurrently \"yarn start --prefix root-config\" \"yarn start --prefix frontend\"",
"dev": "nodemon .",
"install-setup": "yarn install && cd frontend && yarn install && cd ../root-config && yarn install",
"install-setup:npm": "npm install && cd frontend && npm install && cd ../root-config && npm install",
"lint:backend": "eslint -c backend/.eslintrc.js backend/** --ext .js",
"lint:backend:fix": "yarn lint:backend --fix && cd frontend && yarn lint:fix",
"prepare": "husky install",
"start": "node server.js",
"test": "cross-env NODE_ENV=test mocha --timeout=10000 --recursive --exit",
"test:debug": "cross-env NODE_ENV=test mocha --runInBand --recursive --verbose",
"test:watch": "cross-env NODE_ENV=test mocha --watch --verbose",
"test:cover": "cross-env NODE_ENV=test nyc --reporter=html --reporter=text yarn test"
},
"repository": "git+https://github.com/zurichat/zc_plugin_company_files.git",
"author": "Team Galileo / HNGi8",
"license": "MIT",
"bugs": {
"url": "https://github.com/zurichat/zc_plugin_company_files/issues"
},
"homepage": "https://github.com/zurichat/zc_plugin_company_files#readme",
"dependencies": {
"@outofsync/memory-cache": "^1.4.1",
"axios": "^0.21.1",
"bcrypt": "^5.0.1",
"busboy": "^0.3.1",
"cloudinary": "^1.26.3",
"colors": "^1.4.0",
"compression": "^1.7.4",
"concurrently": "^6.2.1",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-fileupload": "^1.2.1",
"fs": "0.0.1-security",
"joi": "^17.4.2",
"joi-objectid": "^3.0.1",
"mime-types": "^2.1.33",
"node-crontab": "^0.0.8",
"slugify": "^1.6.0",
"swagger-ui-express": "^4.1.6",
"uuid": "^8.3.2"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"chai": "^4.3.4",
"chai-http": "^4.3.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-eslint": "^7.0.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"husky": "^7.0.4",
"jest": "^27.2.0",
"lint-staged": "^11.1.2",
"mocha": "^9.1.2",
"morgan": "^1.10.0",
"nock": "^13.1.3",
"nodemon": "^2.0.12",
"nyc": "^15.1.0",
"prettier": "^2.3.2",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"supertest": "^6.1.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "git pull upstream dev",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,jsx}": ["eslint --fix", "prettier --ignore-unknown --write"]
}
}