2016-11-12 16:21:11 +08:00
|
|
|
const $ = require('dekko');
|
2018-12-23 17:45:31 +08:00
|
|
|
const chalk = require('chalk');
|
2016-11-12 16:21:11 +08:00
|
|
|
|
|
|
|
$('dist')
|
|
|
|
.isDirectory()
|
2019-04-02 19:04:38 +08:00
|
|
|
.hasFile('antd-with-locales.js')
|
|
|
|
.hasFile('antd-with-locales.min.js')
|
2016-11-12 16:21:11 +08:00
|
|
|
.hasFile('antd.js')
|
2019-04-02 19:04:38 +08:00
|
|
|
.hasFile('antd.min.js')
|
2022-07-05 21:55:21 +08:00
|
|
|
.hasFile('reset.css');
|
2016-11-12 16:21:11 +08:00
|
|
|
|
2020-04-03 15:02:11 +08:00
|
|
|
// eslint-disable-next-line no-console
|
2018-12-23 17:45:31 +08:00
|
|
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|