Skip to content

Commit

Permalink
restore demo builds
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Sep 15, 2024
1 parent bab0558 commit 1147c13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/cm6-graphql-parcel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"private": true,
"scripts": {
"start": "parcel src/index.html -p 8080",
"build": "parcel build src/index.html --public-url /"
"build": "parcel build src/index.html --public-url /",
"build-demo": "yarn build && mkdir ../../packages/graphiql/cm6 && copy dist ../../packages/graphiql/cm6/"
},
"browserslist": {
"production": [
Expand Down
3 changes: 2 additions & 1 deletion examples/monaco-graphql-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"description": "A simple monaco example with webpack and typescript",
"scripts": {
"build": "cross-env NODE_ENV=production webpack-cli",
"start": "cross-env NODE_ENV=development webpack-cli serve"
"start": "cross-env NODE_ENV=development webpack-cli serve",
"build-demo": "yarn build && copy dist ../../packages/graphiql/monaco/"
},
"dependencies": {
"graphql": "^16.9.0",
Expand Down

0 comments on commit 1147c13

Please sign in to comment.