2018-05-01 20:49:43 +03:00
|
|
|
{
|
|
|
|
"name": "watchdog-proxy",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"description": "Rate limiting proxy for watchdog requests",
|
|
|
|
"scripts": {
|
2018-05-08 08:36:05 +03:00
|
|
|
"precommit": "lint-staged && npm run test:js",
|
2018-05-11 22:43:36 +03:00
|
|
|
"deploy": "cross-env NODE_ENV=production serverless deploy",
|
|
|
|
"deploy:dev": "cross-env NODE_ENV=development ENABLE_DEV_AUTH=1 serverless deploy",
|
2018-07-26 23:34:42 +03:00
|
|
|
"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",
|
2018-05-11 22:43:36 +03:00
|
|
|
"info": "serverless info",
|
2018-05-08 23:54:11 +03:00
|
|
|
"lint": "npm-run-all lint:*",
|
2018-08-31 22:29:47 +03:00
|
|
|
"lint:js": "eslint .",
|
2018-09-04 22:39:03 +03:00
|
|
|
"prettier": "prettier --trailing-comma=es5 --write \"{functions,lib,bin}/**/*.js\"",
|
2018-05-01 20:49:43 +03:00
|
|
|
"logs": "serverless logs",
|
2018-05-08 23:54:11 +03:00
|
|
|
"postlint": "nsp check -o summary",
|
|
|
|
"nsp": "nsp check",
|
2018-05-04 20:36:06 +03:00
|
|
|
"remove": "serverless remove",
|
2018-05-09 21:27:08 +03:00
|
|
|
"start": "npm run watch",
|
2018-05-08 23:54:11 +03:00
|
|
|
"test": "npm-run-all test:*",
|
2018-05-09 21:27:08 +03:00
|
|
|
"test:js": "mocha --require lib/test-setup.js --recursive \"{functions,lib}/**/*-test.js\"",
|
2018-05-08 23:54:11 +03:00
|
|
|
"watch": "npm-run-all --parallel watch:*",
|
2018-05-09 21:27:08 +03:00
|
|
|
"watch:lint": "onchange \"{functions,lib}/**/*.js\" -v -i -p -- npm run lint",
|
|
|
|
"watch:test": "onchange \"{functions,lib}/**/*.js\" -v -i -p -- npm run test",
|
2018-05-04 23:01:45 +03:00
|
|
|
"client": "node bin/client.js"
|
2018-05-01 20:49:43 +03:00
|
|
|
},
|
2018-08-31 22:29:47 +03:00
|
|
|
"engines": {
|
|
|
|
"node": ">=8"
|
|
|
|
},
|
2018-05-08 08:36:05 +03:00
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"npm run prettier",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
2018-05-01 20:49:43 +03:00
|
|
|
"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": {
|
2018-09-10 03:15:20 +03:00
|
|
|
"aws-sdk": "2.311.0",
|
2018-05-04 23:06:39 +03:00
|
|
|
"chai": "4.1.2",
|
2018-09-10 03:15:20 +03:00
|
|
|
"commander": "2.18.0",
|
2018-06-18 04:23:12 +03:00
|
|
|
"cross-env": "5.2.0",
|
2018-09-04 22:35:08 +03:00
|
|
|
"eslint": "5.5.0",
|
2018-09-10 03:15:20 +03:00
|
|
|
"eslint-plugin-mozilla": "0.16.0",
|
2018-05-30 17:05:37 +03:00
|
|
|
"eslint-plugin-no-unsanitized": "3.0.2",
|
2018-05-08 08:36:05 +03:00
|
|
|
"husky": "0.14.3",
|
2018-09-10 03:15:20 +03:00
|
|
|
"lint-staged": "7.2.2",
|
2018-05-21 18:40:23 +03:00
|
|
|
"mocha": "5.2.0",
|
2018-06-04 03:32:43 +03:00
|
|
|
"mock-require": "3.0.2",
|
2018-05-06 21:15:48 +03:00
|
|
|
"npm-run-all": "4.1.3",
|
2018-05-08 23:54:11 +03:00
|
|
|
"nsp": "3.2.1",
|
2018-07-18 00:16:12 +03:00
|
|
|
"onchange": "4.1.0",
|
2018-08-20 06:34:06 +03:00
|
|
|
"prettier": "1.14.2",
|
2018-09-04 22:47:40 +03:00
|
|
|
"serverless": "1.30.3",
|
2018-05-14 03:29:53 +03:00
|
|
|
"serverless-apigw-binary": "0.4.4",
|
2018-07-10 22:50:22 +03:00
|
|
|
"serverless-domain-manager": "2.6.0",
|
2018-08-20 07:41:06 +03:00
|
|
|
"serverless-s3-remover": "0.6.0",
|
2018-05-05 16:22:15 +03:00
|
|
|
"serverless-sqs-alarms-plugin": "0.1.7",
|
2018-09-10 03:15:20 +03:00
|
|
|
"sinon": "6.2.0"
|
2018-05-01 20:49:43 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-05-07 23:34:17 +03:00
|
|
|
"busboy": "0.2.14",
|
2018-08-31 22:29:47 +03:00
|
|
|
"eslint-plugin-node": "7.0.1",
|
2018-05-04 23:01:45 +03:00
|
|
|
"hawk": "7.0.7",
|
2018-09-11 20:27:10 +03:00
|
|
|
"raven": "2.6.4",
|
2018-09-10 03:15:20 +03:00
|
|
|
"request": "2.88.0",
|
2018-05-04 23:06:39 +03:00
|
|
|
"request-promise-native": "1.0.5"
|
2018-05-01 20:49:43 +03:00
|
|
|
}
|
|
|
|
}
|