mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
863f61d908
Co-authored-by: afc163 <afc163@gmail.com>
17 lines
434 B
JavaScript
17 lines
434 B
JavaScript
const $ = require('dekko');
|
|
const chalk = require('chalk');
|
|
|
|
$('dist')
|
|
.isDirectory()
|
|
.hasFile('antd-with-locales.js')
|
|
.hasFile('antd-with-locales.js.map')
|
|
.hasFile('antd-with-locales.min.js')
|
|
.hasFile('antd-with-locales.min.js.map')
|
|
.hasFile('antd.js')
|
|
.hasFile('antd.js.map')
|
|
.hasFile('antd.min.js')
|
|
.hasFile('antd.min.js.map')
|
|
.hasFile('reset.css');
|
|
|
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|