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-05-31 03:35:51 +03:00
|
|
|
"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",
|
2018-05-11 22:43:36 +03:00
|
|
|
"info": "serverless info",
|
2018-05-08 23:54:11 +03:00
|
|
|
"lint": "npm-run-all lint:*",
|
|
|
|
"lint:js": "eslint functions lib test",
|
2018-05-14 21:47:35 +03:00
|
|
|
"prettier": "prettier --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-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-06-25 03:38:47 +03:00
|
|
|
"aws-sdk": "2.263.1",
|
2018-05-04 23:06:39 +03:00
|
|
|
"chai": "4.1.2",
|
2018-05-04 23:01:45 +03:00
|
|
|
"commander": "2.15.1",
|
2018-06-18 04:23:12 +03:00
|
|
|
"cross-env": "5.2.0",
|
2018-06-25 23:23:12 +03:00
|
|
|
"eslint": "5.0.0",
|
2018-06-25 05:06:39 +03:00
|
|
|
"eslint-plugin-mozilla": "0.14.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-06-11 11:27:01 +03:00
|
|
|
"lint-staged": "7.2.0",
|
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-05-07 18:25:17 +03:00
|
|
|
"onchange": "4.0.0",
|
2018-06-11 06:41:03 +03:00
|
|
|
"prettier": "1.13.5",
|
2018-05-21 23:48:50 +03:00
|
|
|
"serverless": "github:serverless/serverless#0001b7e5fe0bc6f2a9e0684e147d183163a05c80",
|
2018-05-14 03:29:53 +03:00
|
|
|
"serverless-apigw-binary": "0.4.4",
|
2018-05-21 23:48:50 +03:00
|
|
|
"serverless-domain-manager": "github:lmorchard/serverless-domain-manager#certificateArn-config",
|
2018-06-25 05:07:08 +03:00
|
|
|
"serverless-s3-remover": "0.5.0",
|
2018-05-05 16:22:15 +03:00
|
|
|
"serverless-sqs-alarms-plugin": "0.1.7",
|
2018-06-18 05:31:13 +03:00
|
|
|
"sinon": "6.0.0"
|
2018-05-01 20:49:43 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-05-07 23:34:17 +03:00
|
|
|
"busboy": "0.2.14",
|
2018-05-04 23:01:45 +03:00
|
|
|
"hawk": "7.0.7",
|
2018-05-28 07:31:05 +03:00
|
|
|
"request": "2.87.0",
|
2018-05-04 23:06:39 +03:00
|
|
|
"request-promise-native": "1.0.5"
|
2018-05-01 20:49:43 +03:00
|
|
|
}
|
|
|
|
}
|