blurts-server/package.json

122 строки
4.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": "^4.2.3",
"arg": "^2.0.0",
"basic-auth": "^2.0.0",
"body-parser": "^1.18.3",
"client-oauth2": "^4.2.1",
"client-sessions": "^0.8.0",
"cpr": "^3.0.1",
"csurf": "^1.9.0",
"dotenv": "^5.0.1",
"express": "^4.16.2",
"express-bearer-token": "^2.2.0",
"express-handlebars": "^3.0.0",
"fluent": "^0.10.0",
"fluent-langneg": "^0.1.0",
"full-icu": "^1.3.0",
"git-rev-sync": "^1.12.0",
"got": "^8.3.1",
"helmet": "^3.21.1",
"intl-pluralrules": "^0.2.1",
"isemail": "^3.1.3",
"knex": "^0.19.5",
"knex-paginate": "^1.1.0",
"lodash": "^4.17.13",
"mozlog": "^2.2.0",
"nodemailer": "^4.6.4",
"nodemailer-express-handlebars": "^3.0.0",
"pg": "^7.4.3",
"sns-validator": "^0.3.4",
"uuid": "^3.2.1"
},
"devDependencies": {
"babel-minify": "^0.4.3",
"clean-css-cli": "^4.2.1",
"concat": "^1.0.3",
"coveralls": "^3.0.1",
"eslint": "^4.18.1",
"eslint-plugin-node": "^6.0.1",
"faucet": "^0.0.1",
"htmllint-cli": "^0.0.6",
"jest": "^24.3.0",
"jest-tap-reporter": "^1.9.0",
"node-mocks-http": "^1.7.0",
"nodemon": "^1.18.7",
"npm-audit-ci-wrapper": "^2.2.1",
"npm-run-all": "^4.1.5",
"onchange": "^6.1.0",
"postcss-cli": "^6.1.2",
"stylelint": "^9.10.1",
"stylelint-config-standard": "^18.2.0",
"uglify-js": "^3.4.9"
},
"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": "run-s test:db:migrate test:tests test:coveralls"
}
}