watchdog-proxy/package.json

72 строки
2.4 KiB
JSON

{
"name": "watchdog-proxy",
"version": "0.0.1",
"description": "Rate limiting proxy for watchdog requests",
"scripts": {
"precommit": "lint-staged && npm run test:js",
"deploy": "cross-env NODE_ENV=production serverless deploy",
"deploy:dev": "cross-env NODE_ENV=development ENABLE_DEV_AUTH=1 serverless deploy",
"deploy:master": "cross-env STAGE=dev NODE_ENV=development ENABLE_DEV_AUTH=1 UPSTREAM_SERVICE_URL=https://watchdog-proxy.dev.mozaws.net/mock/upstream UPSTREAM_SERVICE_KEY=__MOCK__ METRICS_URL=https://watchdog-proxy.dev.mozaws.net/mock/log EMAIL_FROM=lorchard@mozilla.com serverless deploy",
"info": "serverless info",
"lint": "npm-run-all lint:*",
"lint:js": "eslint .",
"prettier": "prettier --trailing-comma=es5 --write \"{functions,lib,bin}/**/*.js\"",
"logs": "serverless logs",
"remove": "serverless remove",
"start": "npm run watch",
"test": "npm-run-all test:*",
"test:js": "mocha --require lib/test-setup.js --recursive \"{functions,lib}/**/*-test.js\"",
"watch": "npm-run-all --parallel watch:*",
"watch:lint": "onchange \"{functions,lib}/**/*.js\" -v -i -p -- npm run lint",
"watch:test": "onchange \"{functions,lib}/**/*.js\" -v -i -p -- npm run test",
"client": "node bin/client.js"
},
"engines": {
"node": ">=8"
},
"lint-staged": {
"*.js": [
"npm run prettier",
"git add"
]
},
"homepage": "https://github.com/mozilla/watchdog-proxy/",
"repository": {
"type": "git",
"url": "https://github.com/mozilla/watchdog-proxy.git"
},
"author": "Les Orchard <me@lmorchard.com>",
"license": "MPL-2.0",
"devDependencies": {
"aws-sdk": "2.411.0",
"chai": "4.2.0",
"commander": "2.19.0",
"cross-env": "5.2.0",
"eslint": "5.14.1",
"eslint-plugin-mozilla": "1.1.1",
"eslint-plugin-no-unsanitized": "3.0.2",
"husky": "1.3.1",
"lint-staged": "8.1.4",
"mocha": "6.0.2",
"mock-require": "3.0.3",
"npm-run-all": "4.1.5",
"onchange": "5.2.0",
"prettier": "1.16.4",
"serverless": "1.38.0",
"serverless-apigw-binary": "0.4.4",
"serverless-domain-manager": "2.6.13",
"serverless-s3-remover": "0.6.0",
"serverless-sqs-alarms-plugin": "0.1.7",
"sinon": "7.2.4"
},
"dependencies": {
"busboy": "0.3.0",
"eslint-plugin-node": "8.0.1",
"hawk": "7.0.10",
"raven": "2.6.4",
"mozlog": "2.2.0",
"request": "2.88.0",
"request-promise-native": "1.0.7"
}
}