69 строки
2.4 KiB
JSON
69 строки
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 functions lib",
|
|
"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.304.0",
|
|
"chai": "4.1.2",
|
|
"commander": "2.17.0",
|
|
"cross-env": "5.2.0",
|
|
"eslint": "5.4.0",
|
|
"eslint-plugin-mozilla": "0.15.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.1.0",
|
|
"prettier": "1.14.2",
|
|
"serverless": "1.29.2",
|
|
"serverless-apigw-binary": "0.4.4",
|
|
"serverless-domain-manager": "2.6.0",
|
|
"serverless-s3-remover": "0.6.0",
|
|
"serverless-sqs-alarms-plugin": "0.1.7",
|
|
"sinon": "6.1.5"
|
|
},
|
|
"dependencies": {
|
|
"busboy": "0.2.14",
|
|
"hawk": "7.0.7",
|
|
"request": "2.87.0",
|
|
"request-promise-native": "1.0.5"
|
|
}
|
|
}
|