mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
18 lines
430 B
JavaScript
18 lines
430 B
JavaScript
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('antd-dark.less')
|
|
.hasFile('antd-dark.js');
|
|
|
|
// eslint-disable-next-line
|
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|