-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.22 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
{
"name": "smartbirds-server",
"version": "1.20.7",
"description": "SmartBirds Server",
"author": "Geno Roupsky",
"private": true,
"engines": {
"node": "16"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.6.6",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"jest": "^29.5.0",
"jest-runner-mocha": "^0.6.0",
"lint-staged": "^13.2.3",
"parallelshell": "^3.0.2",
"sequelize-fixtures": "^1.2.0",
"should": "^13.2.3",
"should-sinon": "^0.0.6",
"sinon": "^15.2.0",
"sqlite3": "^5.1.6",
"standard": "^17.0.0"
},
"scripts": {
"deploy": "yarn version && git push && git push --tags && while ! git push origin HEAD:production; do sleep 1m; done && echo 'ssh smartbirds.org \"smartbirds update-srv\"'",
"commit": "git-cz",
"help": "npm run ah -- help",
"start": "npm run ah -- start",
"ah": "/usr/bin/env PROJECT_ROOT=`pwd`/server node --max_old_space_size=2048 node_modules/.bin/actionhero",
"sq": "sequelize",
"jest": "NODE_ENV=test PROJECT_ROOT=`pwd`/server jest",
"less": "lessc",
"pretest": "standard",
"test": "npm run test:sqlite && npm run test:pg",
"test:sqlite": "TEST_DATABASE_URL='' npm run jest --",
"test:pg": "TEST_DATABASE_URL=${TEST_DATABASE_URL:=postgres://testuser:testpass@localhost:5434/testdb} npm run jest -- --config jest.pg.config.js",
"test:dbschema": "DB_SCHEMA=y npm run test:pg -- db-schema",
"test:watch": "npm run jest -- --watch",
"dev": "docker-compose start",
"prestart": "npm run migrate",
"migrate": "npm run ah -- db migrate",
"seed": "npm run sq -- db:seed",
"enqueue": "npm run ah -- task enqueue --name",
"heroku-postbuild": "npm run ah -- db migrate;(echo \"Promise.all(['organizations:export', 'stats:generate', 'banner:generate'].map(t => api.tasks.tasks[t].run(api, {}))).then(() => console.log('DONE'), (e) => console.error('BAD', e))\";sleep 10) | npm run ah console",
"prepare": "husky install"
},
"dependencies": {
"@sentry/node": "^7.57.0",
"actionhero": "^20.0.0",
"archiver": "^5.3.1",
"bcrypt": "^5.1.0",
"bluebird": "~3.7.2",
"blueimp-md5": "^2.19.0",
"boolean": "^3.2.0",
"concat-stream": "^2.0.0",
"content-addressable-blob-store": "^5.1.0",
"csv-parse": "~5.5.2",
"csv-stringify": "^6.4.0",
"date-fns": "^2.30.0",
"debug": "^4.3.3",
"ejs": "^3.1.9",
"email-templates": "^10.0.1",
"form-data": "^4.0.0",
"geolib": "^3.3.4",
"husky": "^8.0.3",
"ioredis": "^5.3.2",
"lodash": "^4.17.21",
"mailchimp-api-v3": "^1.15.0",
"mime-types": "^2.1.35",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"node-fetch": "^2.6.12",
"nodemailer-mailgun-transport": "^2.1.5",
"pg": "^8.11.1",
"pg-hstore": "^2.3.4",
"sequelize": "^5.22.3",
"sequelize-cli": "^6.6.2",
"sharp": "^0.32.5",
"umzug": "~3.2.1",
"uuid": "^9.0.1",
"validator": "~13.9.0"
},
"standard": {
"ignore": [
"**/test/",
"/public/"
]
},
"lint-staged": {
"*.js": [
"standard --fix"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}