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.
|
|
|
const $ = require('dekko');
|
|
|
|
const chalk = require('chalk');
|
|
|
|
|
|
|
|
$('dist')
|
|
|
|
.isDirectory()
|
|
|
|
.hasFile('antd-with-locales.js')
|
|
|
|
.hasFile('antd-with-locales.min.js')
|
|
|
|
.hasFile('antd.css')
|
|
|
|
.hasFile('antd.min.css')
|
|
|
|
.hasFile('antd.js')
|
|
|
|
.hasFile('antd.min.js')
|
|
|
|
.hasFile('antd.less')
|
|
|
|
.hasFile('dark.less')
|
|
|
|
.hasFile('dark.js');
|
|
|
|
|
|
|
|
// eslint-disable-next-line
|
|
|
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|