forked from CMSgov/mgov-design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmsds.config.js
17 lines (16 loc) · 1.19 KB
/
cmsds.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module.exports = {
// The relative path to the directory containing the design system package `src`. The design system build files will be saved here under "dist".
sourceDir: './',
// The relative path to the directory containing the doc site `src`. The doc site build files will be saved here under "dist".
docsDir: './docs',
// Flag enabling typescript support. When `true`, .ts/.tsx files will be compilied and typescript definition files will be generated. Requires tsconfig.json to be defined.
typescript: true,
// The URL root path for the published docs site. I.e. if your docs site is hosted at www.domain.com/design/ your rootPath would be `design`. `rootPath` is only used when building for production.
rootPath: 'mgov-design-system',
// Name of the design system. This replaces the {{name}} template in documentation content.
name: 'Medicare.gov Design System',
// The URL for your GitHub repository. This replaces the {{github}} template in documentation content.
githubUrl: 'https://github.com/CMSgov/mgov-design-system',
// The name of your design system NPM package. This replaces the {{npm}} template in documentation content.'
npmPackage: '@cmsgov/ds-medicare-gov',
};