Skip to content

Commit

Permalink
restore demo builds (#3781)
Browse files Browse the repository at this point in the history
  • Loading branch information
acao authored Sep 15, 2024
1 parent bab0558 commit 53c4b2c
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 && mkdirp ../../packages/graphiql/cm6 && cp -r 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 && mkdirp ../../packages/graphiql/monaco && cp -r dist/* ../../packages/graphiql/monaco/"
},
"dependencies": {
"graphql": "^16.9.0",
Expand Down

0 comments on commit 53c4b2c

Please sign in to comment.