Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 4.14 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 4.14 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
60
61
62
{
"name": "syncpoly-cloudfront-folder-router",
"version": "1.0.0",
"private": true,
"description": "CloudFront Function that maps domains to S3 client folders.",
"main": "cloudfront/domain-folder-router.js",
"bin": {
"find-no-website-companies": "bin/find-no-website-companies.js",
"syncpoly-site": "bin/syncpoly-site.js"
},
"scripts": {
"build": "node --check cloudfront/domain-folder-router.js && node --check lib/site-config-schema.js && node --check lib/site-upload.js && node --check lib/godaddy-dns.js && node --check lib/google-places-no-website.js && node --check bin/syncpoly-site.js && node --check bin/find-no-website-companies.js && node --check lambdas/auth/google-login/index.mjs && node --check lambdas/auth/authorizer/index.mjs && node --check lambdas/auth/me/index.mjs && node --check lambdas/auth/billing-summary/index.mjs && node --check lambdas/auth/pricing/index.mjs && node --check lambdas/auth/websites/index.mjs && node --check lambdas/auth/stripe-webhook/index.mjs && node --check test/cloudfront-function.test.js && node --check test/site-upload.test.js && node --check test/google-places-no-website.test.js",
"clawbot:start": "./bin/start-clawbot.sh",
"clawbot:check": "docker compose config --quiet",
"clawbot:openclaw": "./bin/openclaw-clawbot.sh",
"deploy:global-404": "./bin/upload-global-404.sh",
"companies:no-website": "node bin/find-no-website-companies.js",
"site": "node bin/syncpoly-site.js",
"site:upload-config": "node bin/syncpoly-site.js upload-config",
"site:upload-folder": "node bin/syncpoly-site.js upload-folder",
"site:upload-template": "node bin/syncpoly-site.js upload-template",
"site:upload-templates": "node bin/syncpoly-site.js upload-templates",
"site:upload-html": "node bin/syncpoly-site.js upload-site-html",
"site:upload-media": "node bin/syncpoly-site.js upload-media",
"site:upload-seo": "node bin/syncpoly-site.js upload-seo",
"site:validate-config": "node bin/syncpoly-site.js validate-config",
"site:make": "node bin/syncpoly-site.js make-site",
"site:make-input": "node bin/syncpoly-site.js make-input",
"site:make-config": "node bin/syncpoly-site.js make-siteconfig",
"site:make-seo": "node bin/syncpoly-site.js make-seo",
"site:media-manifest": "node bin/syncpoly-site.js media-manifest",
"site:audit": "node bin/syncpoly-site.js audit-site",
"site:add-route": "node bin/syncpoly-site.js add-route",
"site:launch-check": "node bin/syncpoly-site.js launch-check",
"site:make-outreach": "node bin/syncpoly-site.js make-outreach",
"site:screenshot": "node bin/syncpoly-site.js screenshot",
"site:screenshot-audit": "node bin/syncpoly-site.js screenshot-audit",
"site:build-client": "node bin/syncpoly-site.js build-client",
"site:publish": "node bin/syncpoly-site.js publish",
"godaddy:add-cname": "node bin/syncpoly-site.js add-cname",
"test": "node --test test/cloudfront-function.test.js test/site-upload.test.js test/google-places-no-website.test.js test/auth/*.unit.test.mjs test/auth/terraform-auth.test.mjs test/auth/*.integration.test.mjs test/auth/*.e2e.test.mjs",
"test:unit": "node --test test/cloudfront-function.test.js test/site-upload.test.js test/google-places-no-website.test.js test/auth/*.unit.test.mjs test/auth/terraform-auth.test.mjs",
"test:integration": "LOCALSTACK_ENDPOINT=${LOCALSTACK_ENDPOINT:-http://localhost:4566} node --test test/auth/*.integration.test.mjs",
"test:e2e": "LOCALSTACK_ENDPOINT=${LOCALSTACK_ENDPOINT:-http://localhost:4566} LOCALSTACK_E2E=1 node --test test/auth/*.e2e.test.mjs",
"test:localstack": "npm run test:integration && npm run test:e2e",
"terraform:fmt": "terraform -chdir=infra fmt -check",
"terraform:validate": "terraform -chdir=infra init -backend=false && terraform -chdir=infra validate"
},
"engines": {
"node": ">=20"
},
"optionalDependencies": {
"sharp": "^0.34.5"
},
"dependencies": {
"@aws-sdk/client-apigatewayv2": "^3.1058.0",
"@aws-sdk/client-dynamodb": "^3.1058.0",
"@aws-sdk/client-iam": "^3.1058.0",
"@aws-sdk/client-lambda": "^3.1058.0",
"@aws-sdk/client-secrets-manager": "^3.1058.0"
}
}