watchdog-proxy/package.json

69 строки
2.5 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 DOMAIN=dev NODE_ENV=development ENABLE_DEV_AUTH=1 UPSTREAM_SERVICE_URL=__MOCK__ UPSTREAM_SERVICE_KEY=__MOCK__ METRICS_URL=https://watchdog-proxy.dev.mozaws.net/mock/log serverless deploy",
"info": "serverless info",
"lint": "npm-run-all lint:*",
"lint:js": "eslint functions lib test",
"prettier": "prettier --write \"{functions,lib,bin}/**/*.js\"",
"logs": "serverless logs",
"postlint": "nsp check -o summary",
"nsp": "nsp check",
"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"
},
"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.263.1",
"chai": "4.1.2",
"commander": "2.15.1",
"cross-env": "5.2.0",
"eslint": "4.19.1",
"eslint-plugin-mozilla": "0.14.0",
"eslint-plugin-no-unsanitized": "3.0.2",
"husky": "0.14.3",
"lint-staged": "7.2.0",
"mocha": "5.2.0",
"mock-require": "3.0.2",
"npm-run-all": "4.1.3",
"nsp": "3.2.1",
"onchange": "4.0.0",
"prettier": "1.13.5",
"serverless": "github:serverless/serverless#0001b7e5fe0bc6f2a9e0684e147d183163a05c80",
"serverless-apigw-binary": "0.4.4",
"serverless-domain-manager": "github:lmorchard/serverless-domain-manager#certificateArn-config",
"serverless-s3-remover": "0.5.0",
"serverless-sqs-alarms-plugin": "0.1.7",
"sinon": "6.0.0"
},
"dependencies": {
"busboy": "0.2.14",
"hawk": "7.0.7",
"request": "2.87.0",
"request-promise-native": "1.0.5"
}
}