mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
💄 use chalk in console.log
This commit is contained in:
parent
03c10c9a05
commit
b3b39fcfd5
@ -109,6 +109,7 @@
|
|||||||
"bisheng-plugin-description": "^0.1.4",
|
"bisheng-plugin-description": "^0.1.4",
|
||||||
"bisheng-plugin-react": "^1.0.0",
|
"bisheng-plugin-react": "^1.0.0",
|
||||||
"bisheng-plugin-toc": "^0.4.4",
|
"bisheng-plugin-toc": "^0.4.4",
|
||||||
|
"chalk": "^2.4.1",
|
||||||
"commander": "^2.18.0",
|
"commander": "^2.18.0",
|
||||||
"core-js": "^2.5.7",
|
"core-js": "^2.5.7",
|
||||||
"cross-env": "^5.2.0",
|
"cross-env": "^5.2.0",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
const $ = require('dekko');
|
const $ = require('dekko');
|
||||||
|
const chalk = require('chalk');
|
||||||
|
|
||||||
$('dist')
|
$('dist')
|
||||||
.isDirectory()
|
.isDirectory()
|
||||||
@ -8,4 +9,4 @@ $('dist')
|
|||||||
.hasFile('antd.min.js');
|
.hasFile('antd.min.js');
|
||||||
|
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
console.log('`dist` directory is valid.');
|
console.log(chalk.green('✨ `dist` directory is valid.'));
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
const $ = require('dekko');
|
const $ = require('dekko');
|
||||||
|
const chalk = require('chalk');
|
||||||
|
|
||||||
$('lib')
|
$('lib')
|
||||||
.isDirectory()
|
.isDirectory()
|
||||||
@ -20,4 +21,4 @@ $('lib/*/style')
|
|||||||
$('lib/style').hasFile('v2-compatible-reset.css');
|
$('lib/style').hasFile('v2-compatible-reset.css');
|
||||||
|
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
console.log('`lib` directory is valid.');
|
console.log(chalk.green('✨ `lib` directory is valid.'));
|
||||||
|
Loading…
Reference in New Issue
Block a user