This repository has been archived by the owner on Mar 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
129 lines (129 loc) · 4.43 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
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "express-objection-starter",
"private": true,
"scripts": {
"setup": "is-ci && echo 'skipping build...' || yarn build && yarn migrate",
"start": "pm2 start pm2.config.js",
"start:web": "pm2-runtime start pm2.config.js --only server",
"start:worker": "pm2-runtime start pm2.config.js --only worker",
"dev": "yarn build && run-p dev:* watch",
"dev:web": "nodemon bin/www",
"dev:worker": "wait-on http://localhost:1080 && nodemon bin/worker",
"dev:mail": "maildev",
"migrate": "knex migrate:latest",
"migrate:one": "knex migrate:up",
"migrate:make": "knex migrate:make",
"migrate:list": "knex migrate:list",
"rollback": "knex migrate:rollback",
"rollback:one": "knex migrate:down",
"seed": "knex seed:run",
"seed:make": "knex seed:make",
"build": "run-s build:*",
"build:yaml": "yaml2json config --save --recursive",
"build:mjml": "node scripts/generate-templates",
"build:hbs": "handlebars views/emails -e hbs -f views/emails/index.js",
"watch": "run-p watch:*",
"watch:yaml": "onchange -k 'config/**/*.json' -- yarn build:yaml",
"watch:mjml": "onchange -k 'views/**/*.mjml' -- yarn build:mjml",
"watch:hbs": "onchange -k 'views/**/*.hbs' -- yarn build:hbs",
"pretest": "yarn setup",
"test": "run-p dev:mail 'test:unit {@}' --race -- --",
"test:ci": "yarn test --ci --reporters=default --reporters=jest-junit",
"test:watch": "run-p watch 'test --watch'",
"test:unit": "wait-on http://localhost:1080 && jest --forceExit",
"lint": "run-s lint:*",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check '**/*.{js,md,json,yml,yaml,css,html}'",
"docs": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:publish": "surge docs/.vuepress/dist \"$SURGE_URL\"",
"clean": "rimraf logs/*.log docs/.vuepress/dist reports coverage config/**/*.json config/*.json views/**/html.hbs views/emails/index.js",
"compile-workflow": "yaml2json .github/workflow-templates/nodejs.yml > .github/workflows/nodejs.yml"
},
"dependencies": {
"@casl/ability": "^3.4.0",
"bull": "^3.16.0",
"connect-redis": "^4.0.4",
"cors": "^2.8.5",
"dayjs": "^1.8.30",
"disposable-email-domains": "^1.0.56",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-query-boolean": "^2.0.0",
"express-rate-limit": "^5.1.3",
"express-request-id": "^1.4.1",
"express-session": "^1.17.1",
"express-ws": "^4.0.0",
"glob": "^7.1.6",
"got": "^11.5.0",
"handlebars": "^4.7.6",
"helmet": "^3.23.3",
"http-assert": "^1.4.1",
"husky": "^4.2.5",
"ioredis": "^4.17.3",
"is-ci": "^2.0.0",
"jsonwebtoken": "^8.5.1",
"knex": "^0.21.2",
"lodash": "^4.17.11",
"mjml": "^4.6.3",
"ms": "^2.1.2",
"mssql": "^6.2.1",
"mysql2": "^2.1.0",
"nanoid": "^2.1.11",
"nconf": "^0.10.0",
"nodemailer": "^6.4.10",
"normalize-email": "^1.1.1",
"objection": "^2.2.2",
"objection-authorize": "^3.1.1",
"objection-hashid": "^1.4.1",
"objection-password": "^2.0.0",
"objection-table-name": "^1.2.2",
"objection-visibility": "^1.1.0",
"passport": "^0.4.1",
"passport-local": "^1.0.0",
"pg": "^8.3.0",
"pino": "^5.17.0",
"pm2": "^4.4.0",
"rate-limit-redis": "^2.0.0",
"sqlite3": "^5.0.0",
"ua-parser-js": "^0.7.21",
"yamljs": "^0.3.0"
},
"optionalDependencies": {
"bufferutil": "^4.0.1",
"utf-8-validate": "^5.0.2"
},
"devDependencies": {
"@types/jest": "^26.0.8",
"cross-env": "^7.0.2",
"dotenv": "^8.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.5",
"eslint-plugin-standard": "^4.0.1",
"jest": "^26.1.0",
"jest-junit": "^11.1.0",
"lint-staged": "^10.2.11",
"maildev": "^1.1.0",
"morgan": "^1.10.0",
"nodemon": "^2.0.4",
"npm-run-all": "^4.1.5",
"objection-gen": "^0.5.3",
"onchange": "^7.0.2",
"pino-pretty": "^3.6.1",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"string-natural-compare": "^3.0.1",
"supertest": "^4.0.2",
"supertest-session": "^4.0.0",
"surge": "^0.21.5",
"vuepress": "^1.5.2",
"vuepress-theme-default-prefers-color-scheme": "^1.1.0",
"wait-on": "^5.1.0"
}
}