dockview/scripts/package.js
Matthew O'Connor 8a357ba223 init storybook
2020-11-25 20:57:23 +00:00

12 lines
529 B
JavaScript

const fs = require("fs-extra");
const path = require("path");
const output = path.join(__dirname, "../output");
const docsDir = path.join(__dirname, "../packages/splitview/typedocs");
const webpackAppDir = path.join(__dirname, "../packages/splitview-demo/dist");
const storybookAppDir = path.join(__dirname, "../packages/splitview-demo/storybook-static");
fs.copySync(docsDir, path.join(output,'docs'));
fs.copySync(webpackAppDir, path.join(output,'build'));
fs.copySync(storybookAppDir, path.join(output,'storybook-static'));