-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.55 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "splitcloud-serverless-charts",
"version": "2.0.0",
"description": "charts based on ga reports for most listened songs on SplitCloud app",
"main": "index.js",
"scripts": {
"start": "node cli.js",
"validate-config": "node ./scripts/validate-config-format",
"deploy:dev": "source .env && npm run validate-config && serverless deploy -v --stage dev",
"deploy:prod": "echo \"CONFIRM PROD DEPLOY?\" && read -n 1 && source .env && npm run validate-config && serverless deploy -v --stage prod",
"test": "echo \"Error: no test specified\" && exit 1",
"discovery:dev": "serverless invoke -f discovery -l --stage dev",
"discovery:prod": "serverless invoke -f discovery -l --stage prod",
"country-charts:prod": "sls invoke -f country_charts_pub --stage=prod -l",
"country-charts:dev": "sls invoke -f country_charts_pub --stage=dev -l",
"check-token:prod": "sls invoke -f token --staged=prod -l",
"check-token:dev": "sls invoke -f token --stage=dev -l",
"ga-extract-daily:local": "serverless invoke local -f rawGaEventExtractor --data='{ \"Records\": [{ \"messageAttributes\": { \"targetDate\": { \"stringValue\": \"2021-04-24\" }, \"eventAction\": { \"stringValue\": \"PLAYBACK-COMPLETED\" } } }] }' -l --stage dev",
"lint": "eslint \"{,!(node_modules)/**/}*.js\"",
"format": "prettier --config ./.prettierrc --write \"{,!(node_modules)/**/}*.js\"",
"pre-commit": "npm run format && npm run lint",
"cli": "BUCKET=www.splitcloud-app.com node -r esm ./scripts/cli.js",
"prefetch": "node -r esm ./scripts/prefetchWrapped.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"author": "",
"license": "ISC",
"dependencies": {
"athena-express": "^7.0.3",
"aws-embedded-metrics": "^1.1.1",
"aws-sdk": "2.902.0",
"axios": "0.18.0",
"cheerio": "^1.0.0-rc.5",
"egm0121-rn-common-lib": "git+ssh://git@github.com/egm0121/egm0121-rn-common-lib.git#release/v6.8",
"esm": "^3.2.25",
"googleapis": "36.0.0",
"moment": "2.23.0",
"semver-compare": "^1.0.0"
},
"devDependencies": {
"eslint": "^5.11.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^4.3.8",
"prettier": "^1.15.3",
"serverless-api-gateway-throttling": "^1.0.1",
"serverless-domain-manager": "^3.3.0",
"serverless-offline": "^6.8.0",
"serverless-prune-plugin": "^1.4.3"
}
}