-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
117 lines (117 loc) · 3.88 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "babajka-backend",
"version": "2.0.2",
"description": "Express & Node.js app",
"engines": {
"node": "~15",
"npm": "~7"
},
"scripts": {
"start": "nodemon -w index.js -w . --exec node -r esm esm.js",
"start-prod": "node -r esm esm.js",
"start-secret": "npm start -- --secret-path=src/config/secret.json",
"init-db": "babel-node src/db/scripts/initAll.js",
"init-db-secret": "npm run init-db -- --secret-path=src/config/secret.json",
"import-articles": "babel-node src/db/scripts/importArticles.js",
"import-diaries": "babel-node src/db/scripts/importDiaries.js",
"grant-permissions": "babel-node src/db/scripts/grantPermissions.js",
"set-password": "babel-node src/db/scripts/setPassword.js",
"lint": "npm run prettify && eslint index.js src/ --fix",
"prettier": "prettier --config .prettierrc --write",
"prettify": "npm run prettier 'src/**/*.{js,md}' '*.js' '*.md'",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"test": "npm run test:subset",
"test:subset": "f(){ find ./src$1 -name '*tests.js' | cross-env NODE_ENV=testing xargs mocha --exit -r @babel/register ;};f",
"test:with-coverage": "cross-env NODE_ENV=testing nyc npm run test && npm run coverage",
"deploy-dev-from-local": "bash bin/deploy/deploy-from-local.sh dev",
"deploy-prod-from-local": "bash bin/deploy/deploy-from-local.sh prod",
"patch-package": "patch-package",
"postinstall": "npm run patch-package",
"gds": "github-deploy-status -u babajka -p babajka-backend"
},
"dependencies": {
"@hapi/joi": "^15.1.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.17.2",
"cloudinary": "^1.13.2",
"command-line-args": "^5.1.1",
"connect-mongo": "^3.2.0",
"cors": "^2.8.3",
"ejs": "^2.6.1",
"esm": "^3.0.84",
"express": "^4.15.3",
"express-session": "^1.15.4",
"fibery-unofficial": "^0.2.1",
"gm": "^1.23.1",
"google-spreadsheet": "^2.0.7",
"http-status-codes": "^1.3.0",
"joigoose": "^4.0.8",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.20",
"mailchimp-api-v3": "^1.12.1",
"md5": "^2.2.1",
"module-alias": "^2.1.0",
"mongoose": "^5.9.4",
"morgan": "^1.9.1",
"multer": "^2.0.0-alpha.6",
"music-metadata": "^6.3.0",
"node-fetch": "^2.6.1",
"node-http-error": "^2.0.0",
"passport": "^0.4.0",
"passport-google-oauth": "^1.0.0",
"passport-jwt": "^4.0.0",
"passport-local": "^1.0.0",
"patch-package": "^6.1.2",
"qs": "^6.8.0",
"request": "^2.88.0",
"rss": "^1.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/babajka/babajka-backend.git"
},
"author": "babajka team <github.com/babajka>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/babajka/babajka-backend/issues"
},
"homepage": "https://github.com/babajka/babajka-backend#readme",
"main": "index.js",
"moduleRoots": [
"./src"
],
"_moduleDirectories": [
"./src"
],
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.3.3",
"@babel/node": "^7.2.2",
"@babel/preset-env": "^7.3.1",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-plugin-module-resolver": "^3.1.1",
"chai": "^4.1.1",
"chai-spies": "^1.0.0",
"coveralls": "^3.0.1",
"cross-env": "^5.1.1",
"dirty-chai": "^2.0.1",
"eslint": "^5.14.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-import-resolver-babel-module": "^5.0.0-beta.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-mocha": "^5.2.0",
"eslint-plugin-prettier": "^3.0.0",
"github-deploy-status": "^1.4.1",
"glob": "^7.1.2",
"husky": "^1.1.2",
"lint-staged": "^7.3.0",
"mocha": "^5.2.0",
"mocha-lcov-reporter": "^1.3.0",
"nodemon": "^1.17.5",
"nyc": "^14.1.1",
"prettier": "^1.14.3",
"supertest": "^3.0.0"
}
}