diff --git a/dev-flows/.gitignore b/example/.gitignore similarity index 100% rename from dev-flows/.gitignore rename to example/.gitignore diff --git a/dev-flows/README.md b/example/README.md similarity index 100% rename from dev-flows/README.md rename to example/README.md diff --git a/dev-flows/package-lock.json b/example/package-lock.json similarity index 100% rename from dev-flows/package-lock.json rename to example/package-lock.json diff --git a/dev-flows/package.json b/example/package.json similarity index 100% rename from dev-flows/package.json rename to example/package.json diff --git a/dev-flows/public/_redirects b/example/public/_redirects similarity index 100% rename from dev-flows/public/_redirects rename to example/public/_redirects diff --git a/dev-flows/public/favicon.ico b/example/public/favicon.ico similarity index 100% rename from dev-flows/public/favicon.ico rename to example/public/favicon.ico diff --git a/dev-flows/public/index.html b/example/public/index.html similarity index 100% rename from dev-flows/public/index.html rename to example/public/index.html diff --git a/dev-flows/public/robots.txt b/example/public/robots.txt similarity index 100% rename from dev-flows/public/robots.txt rename to example/public/robots.txt diff --git a/dev-flows/src/Basic/index.js b/example/src/Basic/index.js similarity index 100% rename from dev-flows/src/Basic/index.js rename to example/src/Basic/index.js diff --git a/dev-flows/src/CustomConnectionLine/ConnectionLine.js b/example/src/CustomConnectionLine/ConnectionLine.js similarity index 100% rename from dev-flows/src/CustomConnectionLine/ConnectionLine.js rename to example/src/CustomConnectionLine/ConnectionLine.js diff --git a/dev-flows/src/CustomConnectionLine/index.js b/example/src/CustomConnectionLine/index.js similarity index 100% rename from dev-flows/src/CustomConnectionLine/index.js rename to example/src/CustomConnectionLine/index.js diff --git a/dev-flows/src/CustomNode/ColorSelectorNode.js b/example/src/CustomNode/ColorSelectorNode.js similarity index 100% rename from dev-flows/src/CustomNode/ColorSelectorNode.js rename to example/src/CustomNode/ColorSelectorNode.js diff --git a/dev-flows/src/CustomNode/index.js b/example/src/CustomNode/index.js similarity index 100% rename from dev-flows/src/CustomNode/index.js rename to example/src/CustomNode/index.js diff --git a/dev-flows/src/EdgeTypes/index.js b/example/src/EdgeTypes/index.js similarity index 100% rename from dev-flows/src/EdgeTypes/index.js rename to example/src/EdgeTypes/index.js diff --git a/dev-flows/src/EdgeTypes/utils.js b/example/src/EdgeTypes/utils.js similarity index 100% rename from dev-flows/src/EdgeTypes/utils.js rename to example/src/EdgeTypes/utils.js diff --git a/dev-flows/src/Edges/CustomEdge.js b/example/src/Edges/CustomEdge.js similarity index 100% rename from dev-flows/src/Edges/CustomEdge.js rename to example/src/Edges/CustomEdge.js diff --git a/dev-flows/src/Edges/index.js b/example/src/Edges/index.js similarity index 100% rename from dev-flows/src/Edges/index.js rename to example/src/Edges/index.js diff --git a/dev-flows/src/Empty/index.js b/example/src/Empty/index.js similarity index 100% rename from dev-flows/src/Empty/index.js rename to example/src/Empty/index.js diff --git a/dev-flows/src/Hidden/index.js b/example/src/Hidden/index.js similarity index 100% rename from dev-flows/src/Hidden/index.js rename to example/src/Hidden/index.js diff --git a/dev-flows/src/Interaction/index.js b/example/src/Interaction/index.js similarity index 100% rename from dev-flows/src/Interaction/index.js rename to example/src/Interaction/index.js diff --git a/dev-flows/src/Overview/index.js b/example/src/Overview/index.js similarity index 100% rename from dev-flows/src/Overview/index.js rename to example/src/Overview/index.js diff --git a/dev-flows/src/Provider/Sidebar.js b/example/src/Provider/Sidebar.js similarity index 100% rename from dev-flows/src/Provider/Sidebar.js rename to example/src/Provider/Sidebar.js diff --git a/dev-flows/src/Provider/index.js b/example/src/Provider/index.js similarity index 100% rename from dev-flows/src/Provider/index.js rename to example/src/Provider/index.js diff --git a/dev-flows/src/Provider/provider.css b/example/src/Provider/provider.css similarity index 100% rename from dev-flows/src/Provider/provider.css rename to example/src/Provider/provider.css diff --git a/dev-flows/src/Stress/index.js b/example/src/Stress/index.js similarity index 100% rename from dev-flows/src/Stress/index.js rename to example/src/Stress/index.js diff --git a/dev-flows/src/Stress/utils.js b/example/src/Stress/utils.js similarity index 100% rename from dev-flows/src/Stress/utils.js rename to example/src/Stress/utils.js diff --git a/dev-flows/src/Validation/index.js b/example/src/Validation/index.js similarity index 100% rename from dev-flows/src/Validation/index.js rename to example/src/Validation/index.js diff --git a/dev-flows/src/Validation/validation.css b/example/src/Validation/validation.css similarity index 100% rename from dev-flows/src/Validation/validation.css rename to example/src/Validation/validation.css diff --git a/dev-flows/src/index.css b/example/src/index.css similarity index 100% rename from dev-flows/src/index.css rename to example/src/index.css diff --git a/dev-flows/src/index.js b/example/src/index.js similarity index 100% rename from dev-flows/src/index.js rename to example/src/index.js diff --git a/package.json b/package.json index a6bd2ea7..deedc800 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "scripts": { "build": "rollup -c --environment NODE_ENV:production", "start": "rollup -w -c", - "dev": "npm run build && npm start & cd dev-flows && npm start", - "start:devflows": "npm run build && cd dev-flows && npm start", - "dev:wait": "start-server-and-test start:devflows http-get://localhost:3000", - "build:devflows": "npm install && npm run build && cd dev-flows && npm install && npm run build", + "dev": "npm run build && npm start & cd example && npm start", + "start:dev": "npm run build && cd example && npm start", + "dev:wait": "start-server-and-test start:dev http-get://localhost:3000", + "build:dev": "npm install && npm run build && cd example && npm install && npm run build", "build:website": "cd website && npm install && GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true npm run build", "cy:open": "cypress open", "cypress": "npm run dev:wait cy:open",