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-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": {
|
2019-02-26 22:24:00 +03:00
|
|
|
"aws-sdk": "2.411.0",
|
2018-10-08 04:52:43 +03:00
|
|
|
"chai": "4.2.0",
|
2018-10-15 04:36:59 +03:00
|
|
|
"commander": "2.19.0",
|
2018-06-18 04:23:12 +03:00
|
|
|
"cross-env": "5.2.0",
|
2019-02-21 23:10:16 +03:00
|
|
|
"eslint": "5.14.1",
|
2019-02-12 02:24:32 +03:00
|
|
|
"eslint-plugin-mozilla": "1.1.1",
|
2018-05-30 17:05:37 +03:00
|
|
|
"eslint-plugin-no-unsanitized": "3.0.2",
|
2019-01-05 02:18:21 +03:00
|
|
|
"husky": "1.3.1",
|
2021-05-09 23:37:02 +03:00
|
|
|
"lint-staged": "9.0.0",
|
2019-02-26 22:24:00 +03:00
|
|
|
"mocha": "6.0.2",
|
2019-01-30 11:58:06 +03:00
|
|
|
"mock-require": "3.0.3",
|
2018-11-26 12:44:52 +03:00
|
|
|
"npm-run-all": "4.1.5",
|
2018-12-10 11:13:58 +03:00
|
|
|
"onchange": "5.2.0",
|
2019-02-12 02:24:32 +03:00
|
|
|
"prettier": "1.16.4",
|
2019-02-21 23:10:16 +03:00
|
|
|
"serverless": "1.38.0",
|
2018-05-14 03:29:53 +03:00
|
|
|
"serverless-apigw-binary": "0.4.4",
|
2019-01-30 11:58:06 +03:00
|
|
|
"serverless-domain-manager": "2.6.13",
|
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",
|
2019-02-21 23:10:16 +03:00
|
|
|
"sinon": "7.2.4"
|
2018-05-01 20:49:43 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2019-01-14 14:55:51 +03:00
|
|
|
"busboy": "0.3.0",
|
2019-01-05 02:18:21 +03:00
|
|
|
"eslint-plugin-node": "8.0.1",
|
2018-11-05 03:42:10 +03:00
|
|
|
"hawk": "7.0.10",
|
2018-09-11 20:27:10 +03:00
|
|
|
"raven": "2.6.4",
|
2018-09-12 01:24:06 +03:00
|
|
|
"mozlog": "2.2.0",
|
2018-09-10 03:15:20 +03:00
|
|
|
"request": "2.88.0",
|
2019-02-21 23:10:16 +03:00
|
|
|
"request-promise-native": "1.0.7"
|
2018-05-01 20:49:43 +03:00
|
|
|
}
|
|
|
|
}
|