-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.24 KB
/
Copy pathpackage.json
File metadata and controls
29 lines (29 loc) · 1.24 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
{
"name": "webflow-adpages-schema-helper",
"version": "0.1.0",
"description": "Static Webflow Designer helper for LocalBusiness JSON-LD, meta checklist notes, and UTM snippets.",
"type": "module",
"private": true,
"license": "MIT",
"keywords": [
"webflow",
"webflow-app",
"designer-extension",
"local-seo",
"json-ld",
"utm"
],
"files": [
"README.md",
"webflow.json",
"src/index.html",
"src/app.js"
],
"scripts": {
"check": "node --check src/app.js && node -e \"const fs=require('node:fs'); JSON.parse(fs.readFileSync('package.json','utf8')); JSON.parse(fs.readFileSync('webflow.json','utf8')); const html=fs.readFileSync('src/index.html','utf8'); const js=fs.readFileSync('src/app.js','utf8'); if(/<(script|link|img|iframe)[^>]+(src|href)=['\\\"]https?:\\/\\//i.test(html) || /fetch\\s*\\(|XMLHttpRequest|sendBeacon|WebSocket|EventSource/.test(js)) throw new Error('Unexpected remote asset or network API');\"",
"smoke": "node -e \"const fs=require('node:fs'); const js=fs.readFileSync('src/app.js','utf8'); for (const token of ['buildLocalBusinessSchema','buildUtmUrl','buildMetaChecklist']) if (!js.includes(token)) throw new Error('Missing '+token);\""
},
"engines": {
"node": ">=18"
}
}