You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
596 B

#! /usr/bin/env node
'use strict';
// Ensure that data directory exist.
require('mkdirp').sync('./_data');
const buildDemosList = require('./build-demos-list');
buildDemosList(['./components', './docs'], './_data/demos-list.js');
const buildCommon = require('./build-common');
buildCommon([
'./components',
'./docs/react',
'./CHANGELOG.md',
], './_data/react-components.js');
buildCommon('./docs/practice', './_data/practice.js');
buildCommon('./docs/pattern', './_data/pattern.js');
buildCommon('./docs/spec', './_data/spec.js');
buildCommon('./docs/resource', './_data/resource.js');