forked from mozilla/blurts-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 4.98 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
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "blurts-server",
"description": "Blurts backend Server",
"version": "0.0.1",
"author": "Nihanth Subramanya",
"bugs": {
"url": "https://github.com/mozilla/blurts-server/issues"
},
"dependencies": {
"@sentry/node": "5.27.2",
"arg": "4.1.3",
"babel-minify": "0.5.1",
"basic-auth": "2.0.1",
"body-parser": "1.19.0",
"clean-css-cli": "4.3.0",
"client-oauth2": "4.3.2",
"concat": "1.0.3",
"connect-redis": "5.0.0",
"cpr": "3.0.1",
"csurf": "1.11.0",
"dotenv": "8.2.0",
"express": "4.17.1",
"express-bearer-token": "2.4.0",
"express-handlebars": "5.1.0",
"express-session": "1.17.1",
"fluent": "0.12.0",
"fluent-langneg": "0.2.0",
"full-icu": "1.3.1",
"git-rev-sync": "1.12.0",
"got": "8.3.2",
"helmet": "4.2.0",
"intl-pluralrules": "1.2.1",
"isemail": "3.2.0",
"knex": "0.21.12",
"knex-paginate": "1.2.2",
"lodash": "4.17.19",
"mozlog": "3.0.1",
"nodemailer": "4.7.0",
"nodemailer-express-handlebars": "3.3.0",
"npm-run-all": "4.1.5",
"pg": "7.18.2",
"redis": "3.0.2",
"sns-validator": "0.3.4",
"uuid": "3.4.0"
},
"devDependencies": {
"@wdio/cli": "5.23.0",
"@wdio/dot-reporter": "5.22.4",
"@wdio/firefox-profile-service": "5.21.0",
"@wdio/local-runner": "5.23.0",
"@wdio/mocha-framework": "5.23.0",
"@wdio/selenium-standalone-service": "5.16.10",
"@wdio/spec-reporter": "5.23.0",
"@wdio/sync": "5.23.0",
"chai": "4.2.0",
"clean-css-cli": "4.3.0",
"coveralls": "3.1.0",
"eslint": "7.12.1",
"eslint-plugin-node": "6.0.1",
"faucet": "0.0.1",
"htmllint-cli": "0.0.7",
"jest": "26.4.2",
"jest-tap-reporter": "1.9.0",
"node-mocks-http": "1.9.0",
"nodemon": "2.0.4",
"npm-audit-ci-wrapper": "3.0.1",
"onchange": "6.1.1",
"postcss-cli": "6.1.3",
"redis-mock": "0.52.0",
"stylelint": "9.10.1",
"stylelint-config-standard": "18.3.0",
"uglify-js": "3.11.5",
"wdio-docker-service": "2.4.0",
"wdio-image-comparison-service": "1.13.6",
"wdio-video-reporter": "2.0.1"
},
"engines": {
"node": "10"
},
"homepage": "https://github.com/mozilla/blurts-server",
"license": "MPL-2.0",
"main": "server.js",
"nodemonConfig": {
"ignore": [
"version.json"
]
},
"jest": {
"collectCoverageFrom": [
"**/*.js",
"!coverage/**/**.js",
"!db/seeds/**.js",
"!db/migrations/**.js",
"!public/**/**.js",
"!scripts/*.js",
"!loadtests/**/**.js",
"!.eslintrc.js"
],
"setupFilesAfterEnv": [
"./tests/jest.setup.js"
]
},
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/blurts-server.git"
},
"scripts": {
"js:minify": "minify public/dist/app.min.js -o public/dist/app.min.js",
"js:concat": "concat -o public/dist/app.min.js public/js/*.js",
"js:allBreaches": "minify public/js/all-breaches/all-breaches.js -o public/dist/all-breaches.min.js",
"css:minify": "cleancss -o public/dist/app.min.css public/dist/app.min.css",
"css:concat": "concat -o public/dist/app.min.css public/css/*.css",
"build:css": "run-s css:concat css:minify",
"build:js": "run-s js:concat js:allBreaches js:minify",
"build:polyfills": "minify public/js/polyfills/edge.js -o public/dist/edge.min.js",
"watch:js": "onchange 'public/js/*.js' -- npm run build:js",
"watch:css": "onchange 'public/css/*.css' -- npm run build:css",
"watch:all": "run-p watch:css watch:js",
"build:dev": "run-s build:js build:css watch:all",
"build:all": "run-s build:js build:css build:polyfills",
"db:migrate": "knex migrate:latest --knexfile db/knexfile.js",
"docker:build": "docker build -t blurts-server .",
"docker:run": "docker run -p 6060:6060 blurts-server",
"lint": "npm-run-all lint:*",
"lint:js": "eslint .",
"lint:css": "stylelint --fix 'public/css/**/*.css'",
"lint:audit": "npm-audit-ci-wrapper -t 'high'",
"get-hashsets": "node scripts/get-hashsets",
"server": "NODE_ICU_DATA=./node_modules/full-icu nodemon server.js",
"start": "run-p build:all watch:all server",
"test:db:migrate": "NODE_ENV=tests knex migrate:latest --knexfile db/knexfile.js --env tests",
"test:tests": "NODE_ENV=tests HIBP_THROTTLE_DELAY=1000 HIBP_THROTTLE_MAX_TRIES=3 jest --runInBand --coverage tests/",
"test:coveralls": "cat ./coverage/lcov.info | coveralls",
"test:integration": "wdio tests/integration/wdio.conf.js",
"test:integration-headless": "MOZ_HEADLESS=1 wdio tests/integration/wdio.conf.js",
"test:integration-headless-ci": "MOZ_HEADLESS=1 ERROR_SHOTS=1 wdio tests/integration/wdio.conf.js",
"test:integration-docker": "MOZ_HEADLESS=1 wdio tests/integration/wdio.docker.js",
"test": "run-s test:db:migrate test:tests test:coveralls"
},
"supportedLocales": "cak,cs,cy,da,de,el,en,en-CA,en-GB,es-AR,es-CL,es-ES,es-MX,fi,fr,fy-NL,gn,hu,kab,ia,id,it,ja,nb-NO,nl,nn-NO,pt-BR,pt-PT,ro,ru,sk,sl,sq,sv-SE,tr,uk,vi,zh-CN,zh-TW"
}