Created
March 22, 2023 23:30
-
-
Save o-az/5ce7231e41a3169a633d775b494eed0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "WebContainer project configuration", | |
| "description": "https://developer.stackblitz.com/docs/platform/project-config/", | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "installDependencies": { | |
| "title": "Install npm dependencies when opening the project.", | |
| "description": "Defaults to true. Set to false to disable.", | |
| "default": true, | |
| "type": "boolean" | |
| }, | |
| "startCommand": { | |
| "title": "Execute a custom command when opening the project.", | |
| "description": "If not provided, a command may be inferred based on the project files (e.g. running `npm start`).", | |
| "default": true, | |
| "type": ["boolean", "string"] | |
| }, | |
| "env": { | |
| "title": "Expose environment variables to the terminal.", | |
| "type": "object", | |
| "propertyNames": { | |
| "pattern": "^[a-zA-Z_]+[a-zA-Z0-9_]*$" | |
| }, | |
| "additionalProperties": { | |
| "type": ["boolean", "string", "number"] | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment