Skip to content

Commit

Permalink
feat(@cubejs-client/playground): Export playground components (#1170)
Browse files Browse the repository at this point in the history
  • Loading branch information
RusovDmitriy committed Oct 2, 2020
1 parent ea088b3 commit fb22331
Show file tree
Hide file tree
Showing 4 changed files with 579 additions and 329 deletions.
8 changes: 8 additions & 0 deletions packages/cubejs-playground/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"presets": [
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-proposal-optional-chaining"
]
}
1 change: 1 addition & 0 deletions packages/cubejs-playground/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# production
/build
/dist

# misc
.DS_Store
Expand Down
8 changes: 6 additions & 2 deletions packages/cubejs-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"start": "SKIP_PREFLIGHT_CHECK=true EXTEND_ESLINT=true PORT=3080 react-app-rewired start",
"build": "SKIP_PREFLIGHT_CHECK=true EXTEND_ESLINT=true react-app-rewired --max-old-space-size=3072 build && rm -Rf ../cubejs-server-core/playground/** && cp -R build/ ../cubejs-server-core/playground/",
"eject": "SKIP_PREFLIGHT_CHECK=true EXTEND_ESLINT=true react-scripts eject",
"lint": "eslint src/*.js src/*.jsx"
"lint": "eslint src/*.js src/*.jsx",
"prepublish": "babel src -d dist --copy-files"
},
"browserslist": [
">0.2%",
Expand All @@ -64,12 +65,15 @@
"files": [
"src",
"public",
"build"
"build",
"dist"
],
"homepage": ".",
"proxy": "http://localhost:4000",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@types/react": "^16.9.35",
"@types/react-beautiful-dnd": "^13.0.0",
"eslint-config-airbnb": "^18.1.0",
Expand Down
Loading

0 comments on commit fb22331

Please sign in to comment.