Skip to content

Commit b6df481

Browse files
authored
feat: add stackblitz field info (SchemaStore#4629)
1 parent bac2616 commit b6df481

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

src/schemas/json/package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,41 @@
12261226
}
12271227
},
12281228
"additionalProperties": false
1229+
},
1230+
"stackblitz": {
1231+
"description": "Defines the StackBlitz configuration for the project.",
1232+
"type": "object",
1233+
"properties": {
1234+
"installDependencies": {
1235+
"description": "StackBlitz automatically installs npm dependencies when opening a project.",
1236+
"type": "boolean"
1237+
},
1238+
"startCommand": {
1239+
"description": "A terminal command to be executed when opening the project, after installing npm dependencies.",
1240+
"type": [
1241+
"string",
1242+
"boolean"
1243+
]
1244+
},
1245+
"compileTrigger": {
1246+
"description": "The compileTrigger option controls how file changes in the editor are written to the WebContainers in-memory filesystem. ",
1247+
"oneOf": [
1248+
{
1249+
"type": "string",
1250+
"enum": [
1251+
"auto",
1252+
"keystroke",
1253+
"save"
1254+
]
1255+
}
1256+
]
1257+
},
1258+
"env": {
1259+
"description": "A map of default environment variables that will be set in each top-level shell process.",
1260+
"type": "object"
1261+
}
1262+
},
1263+
"additionalProperties": false
12291264
}
12301265
},
12311266
"anyOf": [

0 commit comments

Comments
 (0)