-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·120 lines (120 loc) · 4.7 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
{
"name": "maxfacts",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "babel-node ./bin/www.js",
"start:dev": "DEBUG=maxfacts node-dev ./bin/www.js",
"backup": "rm -rf data/dump/* && mongodump -d maxfacts -o data/dump && mv data/dump/maxfacts/* data/dump && rm -r data/dump/maxfacts",
"backup:copy": "npm run backup && copy; cp -R data/dump /shared/storage/cs/staffstore/lt696/maxfacts-backups/$(date \"+%Y-%m-%d-%Hh-%Mm\")",
"restore": "mongo maxfacts --eval \"db.dropDatabase();\"; cd data/dump; mongorestore -d maxfacts maxfacts",
"docker:staging": "docker-compose -f docker-compose.yaml -f docker-compose.staging.yaml up -d",
"docker:build": "gulp clean && gulp && docker built -t laurenkt/maxfacts:latest .",
"docker:restart": "docker-compose restart app nginx",
"docker:backup": "docker exec -it $(docker container ls -qf\"name=maxfacts\") npm run backup",
"docker:test": "docker exec -it $(docker container ls -qf \"name=maxfacts_app\") npm run test:integrations",
"test": "TEST=maxfacts node_modules/.bin/nyc --reporter=html --reporter=text mocha --compilers js:@babel/register test --grep integrations --invert",
"test:integrations": "HOSTNAME=$(hostname -i) TEST=maxfacts node_modules/.bin/nyc --compilers js:@babel/register --reporter=html --reporter=text mocha test",
"precommit": "npm run test"
},
"dependencies": {
"@babel/core": "^7.1.5",
"@babel/node": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.1.5",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@handlebars/allow-prototype-access": "^1.0.5",
"@types/connect-mongo": "0.0.39",
"@types/dotenv": "^6.1.0",
"@types/express": "^4.16.0",
"@types/express-flash-2": "^1.0.3",
"@types/express-handlebars": "0.0.30",
"@types/express-session": "^1.15.11",
"@types/joi": "^14.0.0",
"@types/mongoose": "^5.3.1",
"@types/morgan": "^1.7.35",
"@types/node": "^10.12.3",
"@types/passport": "^0.4.7",
"babel-loader": "^8.0.4",
"babel-plugin-lodash": "^3.3.4",
"body-parser": "^1.18.3",
"chai": "^4.0.2",
"chai-html": "^1.2.1",
"chalk": "^1.1.3",
"connect-ensure-login": "^0.1.1",
"connect-mongo": "^1.3.2",
"cookie-parser": "~1.4.3",
"debug": "~2.6.8",
"del": "^3.0.0",
"domutils": "^1.6.2",
"dotenv": "^4.0.0",
"esm": "^3.0.80",
"etag": "^1.8.1",
"express": "^4.16.3",
"express-flash-2": "^1.0.1",
"express-handlebars": "^3.0.0",
"express-rate-limit": "^2.13.1",
"express-session": "^1.14.0",
"file-loader": "^0.11.2",
"gulp": "^4.0.0",
"gulp-autoprefixer": "^4.0.0",
"gulp-babel": "^7.0.1",
"gulp-concat": "^2.6.1",
"gulp-imagemin": "^3.3.0",
"gulp-rename": "^1.4.0",
"gulp-sass": "^5.0.0",
"gulp-sourcemaps": "^2.6.0",
"gulp-tap": "^1.0.1",
"gulp-uglify": "^3.0.1",
"gulp-uglifycss": "^1.1.0",
"htmlclean": "^3.0.8",
"htmlparser2": "^3.9.2",
"isemail": "^2.2.1",
"joi": "^10.6.0",
"js-beautify": "^1.6.14",
"lodash": "^4.17.10",
"mocha": "^3.2.0",
"mongodb": "^2.2.36",
"mongoose": "^4.13.15",
"morgan": "^1.9.0",
"multer": "^1.3.1",
"node-dev": "^3.1.3",
"node-fetch": "^2.6.6",
"nodemailer": "^4.6.8",
"nyc": "^11.9.0",
"passport": "^0.3.2",
"passport-google-oauth20": "^2.0.0",
"prettier": "^1.14.3",
"recursive-readdir": "^2.2.2",
"sass": "^1.43.4",
"serve-favicon": "~2.4.3",
"sinon": "^2.3.2",
"slate-soft-break": "^0.3.0",
"supertest": "^3.1.0",
"ts-node": "^7.0.1",
"typescript": "^3.1.6",
"yargs": "^17.2.1"
},
"devDependencies": {
"css-loader": "^0.28.11",
"eslint": "^3.2.2",
"eslint-plugin-mocha": "^4.12.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^0.13.3",
"node-cli": "^0.1.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-youtube": "^7.6.0",
"sanitize-html": "github:laurenkt/sanitize-html#filter-contexts",
"slate": "^0.21.0",
"style-loader": "^0.18.2",
"ts-node-dev": "^1.0.0-pre.30",
"url-loader": "^0.5.9",
"webpack": "^3.12.0",
"webpack-dev-middleware": "^1.11.0",
"webpack-stream": "^3.2.0",
"webpack2-stream-watch": "^3.2.2"
}
}