Skip to content

Commit f169d2b

Browse files
committed
Docs for syncing typings
1 parent f3ad3dd commit f169d2b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ Scripts:
44

55
- `npm run dev` - run a local dev server. Files are served via port 1337. You'll need to hit reload on the Designer Extension for the changes to show up
66
- `npm run build` - generate a static bundle on the directory root (`bundle.zip`)
7+
- `npm run sync-typings` - Update the typings in the `src` folder based on `node_modules/@webflow/designer-extension-typings'`

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"vite:dev": "vite --port 1337",
88
"dev": "vite build && concurrently \"webflow extension serve\" \"vite\"",
99
"build": "vite build && webflow extension bundle",
10+
"sync-typings": "node ./scripts/sync-typings.js",
1011
"preview": "vite preview",
1112
"clean": "rm -rf dist node_modules && npm install",
1213
"postinstall": "node scripts/sync-typings.js"

0 commit comments

Comments
 (0)