blurts-server/package.json

143 строки
5.0 KiB
JSON

{
"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.21",
"mozlog": "3.0.2",
"nodemailer": "4.7.0",
"nodemailer-express-handlebars": "3.3.0",
"npm-run-all": "4.1.5",
"pg": "7.18.2",
"redis": "3.1.1",
"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": "^8.3.1",
"redis-mock": "0.52.0",
"stylelint": "^13.13.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"
}