Skip to content

Commit 1528111

Browse files
authored
Add CodeSandbox configuration (#362)
* Add CodeSandbox configuration * Update package.json
1 parent 96fdd01 commit 1528111

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/javascript-cjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"version": "0.0.1",
55
"scripts": {
66
"start": "node index.js",
7+
"prestart": "npm run build-client",
78
"build-client": "graphclient build --fileType json",
89
"graphiql": "graphclient serve-dev",
910
"check": "exit 0"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"template": "node",
3+
"container": {
4+
"node": "16",
5+
"port": 4000
6+
}
7+
}

0 commit comments

Comments
 (0)