-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
168 lines (168 loc) · 9.13 KB
/
package.json
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "tmh-web3",
"version": "1.0.0",
"description": "The Meeting House Website",
"main": "index.js",
"engines": {
"node": ">=16.14.1"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "VERSION=`sentry-cli releases propose-version`;echo export const version ={git:\\\"$VERSION\\\"}>src/version.js;npx prettier -w src/version.js;HTTPS=true PORT=3006 react-scripts start",
"start3": "react-scripts start",
"build": "export SENTRY_ORG=the-meeting-house;VERSION=`sentry-cli releases propose-version`;sentry-cli releases new -p the-meeting-house $VERSION;sentry-cli releases set-commits --auto $VERSION;echo export const version ={git:\\\"$VERSION\\\"}>src/version.js;npx prettier -w src/version.js;react-scripts build;sentry-cli releases finalize $VERSION;sentry-cli releases deploys $VERSION new -e prod;",
"test": "react-scripts test ",
"publish": "COMMIT=`git rev-parse --short HEAD`;amplify publish -c;curl --header 'Content-Type: application/json' --request POST --data '{\"content\":\"Published a new version from commit: '$COMMIT'\"}' $DISCORD_WEBHOOK_WEB",
"eject": "react-scripts eject",
"lint": "eslint '*/**/*.{js,ts,tsx}'",
"cy:open": "cypress open",
"cy:run": "cypress run",
"testPayments": "START_SERVER_AND_TEST_INSECURE=1 start-server-and-test start https://localhost:3006 cy:open",
"amplify:themeetinghousetmhShared": "cd amplify/backend/function/themeetinghousetmhShared/lib/nodejs && tsc && cd -",
"amplify:cognitodevtmhPreTokenGeneration": "cd amplify/backend/function/cognitodevtmhPreTokenGeneration/src && tsc && cd -",
"amplify:cognitodevtmhPostAuthentication": "cd amplify/backend/function/cognitodevtmhPostAuthentication/src && tsc && cd -",
"amplify:tmhPinpointCreateCampaign": "cd amplify/backend/function/tmhPinpointCreateCampaign/src && tsc && cd -",
"amplify:tmhClearCache": "cd amplify/backend/function/tmhClearCache/src && tsc && cd -",
"amplify:tmhPinpointListSegments": "cd amplify/backend/function/tmhPinpointListSegments/src && tsc && cd -",
"amplify:tmhPinpointCleanupEndpoints": "cd amplify/backend/function/tmhPinpointCleanupEndpoints/src && tsc && cd -",
"amplify:tmhF1HomeChurch": "cd amplify/backend/function/tmhF1HomeChurch/src && tsc && cd -",
"amplify:tmhStripeAddCustomer": "cd amplify/backend/function/tmhStripeAddCustomer/src && tsc && cd -",
"amplify:tmhStripeAddPaymentMethod": "cd amplify/backend/function/tmhStripeAddPaymentMethod/src && tsc && cd -",
"amplify:tmhStripeAddSubscription": "cd amplify/backend/function/tmhStripeAddSubscription/src && tsc && cd -",
"amplify:tmhStripeAddPayment": "cd amplify/backend/function/tmhStripeAddPayment/src && tsc && cd -",
"amplify:tmhStripeDeletePaymentMethod": "cd amplify/backend/function/tmhStripeDeletePaymentMethod/src && tsc && cd -",
"amplify:tmhStripeDeleteSubscription": "cd amplify/backend/function/tmhStripeDeleteSubscription/src && tsc && cd -",
"amplify:tmhStripeListPaymentMethods": "cd amplify/backend/function/tmhStripeListPaymentMethods/src && tsc && cd -",
"amplify:tmhStripeListSubscriptions": "cd amplify/backend/function/tmhStripeListSubscriptions/src && tsc && cd -",
"amplify:tmhF1LinkUser": "cd amplify/backend/function/tmhF1LinkUser/src && tsc && cd -",
"amplify:tmhF1SearchContributionReceipts": "cd amplify/backend/function/tmhF1SearchContributionReceipts/src && tsc && cd -",
"amplify:tmhF1SyncGroupPermissions": "cd amplify/backend/function/tmhF1SyncGroupPermissions/src && tsc && cd -",
"amplify:tmhF1AssignmentSync": "cd amplify/backend/function/tmhF1AssignmentSync/src && tsc && cd -",
"amplify:themeetinghousea5cd4619": "cd amplify/backend/function/themeetinghousea5cd4619/src && rm -rf node_modules/sharp && SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm install --arch=x64 --libc=glibc --platform=linux sharp",
"backup": "export z=$(date +%Y%m%d%H%M%S); mkdir backup/$z; cd backup/$z; dynamodump export-all-data --region=us-east-1 --profile tmhprodnew",
"images": "mkdir ./public/static/images-sized;batch-image-resizer -i ./public/static/images -o ./public/static/images-sized -s '[50, 500, 1000, 1500]'",
"createTestList": "find . -exec echo -n '\"{}\" ', \\; | sed 's/.json//g' | sed 's|./||g'",
"syncProd": "for z in $(find ./public/static -name \"*.json\"); do npx jsonlint $z -q; if [ $? -eq 1 ] ; then echo $z; exit;fi; done; aws s3 sync ./public/static s3://heeetingouse-20190312104205-hostingbucket-tmhprod/static ; aws cloudfront create-invalidation --distribution-id EYO80SQB3QGL --paths '/static/*' --profile amplify",
"syncBeta": "for z in $(find ./public/static -name \"*.json\"); do npx jsonlint $z -q; if [ $? -eq 1 ] ; then echo $z; exit;fi; done; aws s3 sync ./public/static s3://heeetingouse-20190312104205-hostingbucket-dev/static ; aws cloudfront create-invalidation --distribution-id E57FJUWPGBGGI --paths '/static/*' --profile amplify",
"syncProdDry": "for z in $(find ./public/static -name \"*.json\"); do npx jsonlint $z -q; if [ $? -eq 1 ] ; then echo $z; exit;fi; done; aws s3 sync ./public/static s3://heeetingouse-20190312104205-hostingbucket-tmhprod/static --dryrun ; aws cloudfront create-invalidation --distribution-id EYO80SQB3QGL --paths '/static/*' --profile amplify",
"syncBetaDry": "for z in $(find ./public/static -name \"*.json\"); do npx jsonlint $z -q; if [ $? -eq 1 ] ; then echo $z;exit; fi; done; aws s3 sync ./public/static s3://heeetingouse-20190312104205-hostingbucket-dev/static --dryrun; aws cloudfront create-invalidation --distribution-id E57FJUWPGBGGI --paths '/static/*' --profile amplify",
"syncTest": "for z in $(find ./public/static -name \"*.json\"); do npx jsonlint $z -q; if [ $? -eq 1 ] ; then echo $z; exit;fi; done;"
},
"repository": {
"type": "git",
"url": "https://github.com/themeetinghouse/web"
},
"keywords": [
"tmh"
],
"author": "George Bell",
"license": "ISC",
"dependencies": {
"@aws-amplify/ui-react": "^3.0.3",
"@react-hook/resize-observer": "^1.2.6",
"@sentry/browser": "^7.3.1",
"@stripe/react-stripe-js": "^1.4.1",
"@stripe/stripe-js": "^1.17.1",
"aws-amplify": "^4.2.9",
"bootstrap": "^5.3.2",
"date-fns": "^2.16.1",
"draft-js": "^0.11.7",
"draftjs-to-html": "^0.9.1",
"eslint-plugin-prettier": "^4.0.0",
"google-maps-react": "github:fullstackreact/google-maps-react",
"html-react-parser": "^4.2.2",
"html-to-draftjs": "^1.5.0",
"jquery": "^3.5.1",
"moment": "^2.29.1",
"moment-timezone": "^0.5.32",
"react": "^17.0.0",
"react-cookie": "^4.0.1",
"react-datetime": "^3.2.0",
"react-datepicker": "^4.0.0",
"react-device-detect": "^2.1.2",
"react-dom": "^17.0.0",
"react-draft-wysiwyg": "^1.14.5",
"react-ga": "^3.3.0",
"react-hamburger-menu": "^1.2.1",
"react-helmet": "^6.1.0",
"react-highlight-words": "^0.17.0",
"react-infinite-scroll-component": "^5.1.0",
"react-minimal-pie-chart": "^8.1.0",
"react-router-dom": "^6.17.0",
"react-scripts": "^5.0.0",
"react-select": "^5.0.0",
"react-share": "^4.3.1",
"react-youtube": "^9.0.2",
"reactstrap": "^8.10.0",
"sass": "^1.35.2",
"use-onclickoutside": "^0.4.0",
"uuid": "^8.3.2"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@cypress/code-coverage": "^3.9.11",
"@cypress/webpack-preprocessor": "^5.5.0",
"@sentry/cli": "^2.2.0",
"@testing-library/react": "^12.1.5",
"@types/draft-js": "^0.11.5",
"@types/draftjs-to-html": "^0.8.1",
"@types/googlemaps": "^3.43.3",
"@types/html-to-draftjs": "^1.4.0",
"@types/jest": "^28.1.4",
"@types/react": "^17.0.21",
"@types/react-datepicker": "^3.1.8",
"@types/react-dom": "^17.0.9",
"@types/react-draft-wysiwyg": "^1.13.3",
"@types/react-hamburger-menu": "^0.0.4",
"@types/react-helmet": "^6.1.5",
"@types/react-highlight-words": "^0.16.3",
"@types/react-router-dom": "^5.1.9",
"@types/react-select": "^3.1.2",
"@types/uuid": "^8.3.1",
"@typescript-eslint/eslint-plugin": "^5.10.1",
"@typescript-eslint/parser": "^5.10.1",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-expo": "^9.0.2",
"cypress": "^10.3.0",
"cypress-file-upload": "^5.0.2",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-react": "^7.25.1",
"husky": "^4.3.8",
"jest": "^29.0.3",
"jest-watch-typeahead": "^2.2.0",
"lint-staged": "^13.0.3",
"prettier": "^2.4.0",
"source-map-explorer": "^2.5.2",
"start-server-and-test": "^1.14.0",
"ts-jest": "^29.0.3",
"typescript": "^4.4.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "bash ./scripts/commit-msg.sh"
}
},
"lint-staged": {
"*.{js,ts,tsx}": "eslint --cache --fix",
"*.{js,jsx,ts,tsx,html,css,scss,md}": "prettier --write",
"./public/static/**/*.json": "python3 ./scripts/json-lint.py"
},
"prettier": {
"singleQuote": true,
"semi": true
}
}