https://github.com/netlify/sdk-build-event-handler-template
https://github.com/netlify/sdk-build-event-handler-template
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/netlify/sdk-build-event-handler-template
- Owner: netlify
- Created: 2023-10-13T10:01:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-31T10:44:39.000Z (over 1 year ago)
- Last Synced: 2025-02-24T08:47:57.904Z (4 months ago)
- Language: TypeScript
- Size: 62.5 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Netlify SDK Build Event Handler template
This is a template to show you how a Build Event Handler can be made using the Netlify SDK.
[](https://app.netlify.com/integration/start/deploy?repository=https://github.com/netlify/sdk-build-event-handler-template&integrationName=build-event-handler-template&integrationSlug=build-event-handler-template&integrationDescription=Build%20Event%20Handler%20Template&scopes=site:read&integrationLevel=site)
## Scripts
### Build
This builds the integration and puts it into the `.ntli` folder. This is the folder that Netlify uses to run the integration.
```bash
npm run build
```### Dev
This bundles your integration code and starts a local GraphQL server for any Connectors you have defined. This is useful for testing your integration locally.
```bash
npm run dev
```### Preview
This bundles your integration code and starts a preview server. This is useful for previewing your integration UI locally.
```bash
npm run preview
```