NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/vxe-table/scripts/postinstall.js
2023-09-14 14:47:11 +08:00

17 lines
814 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const env = process.env;
const ADBLOCK = is(env.ADBLOCK);
const CI = is(env.CI);
const DISABLE_OPENCOLLECTIVE = is(env.DISABLE_OPENCOLLECTIVE);
function is(it) {
return !!it && it !== '0' && it !== 'false';
}
if (!ADBLOCK && !CI && !DISABLE_OPENCOLLECTIVE) {
console.log('\n\x1B[94m>\x1B[94m 感谢使用 vxe-table为了使项目能够健康持续的发展下去您可以通过捐赠来支持作者 \x1B[0m');
console.log('\x1B[96m>\x1B[96m https://xuliangzhan_admin.gitee.io/vxe-table/#/donation/api \x1B[0m\n\n');
console.log('\x1B[94m>\x1B[94m Thanks for using vxe-table. In order to keep the project healthy and sustainable, you can support the author through donation: \x1B[0m');
console.log('\x1B[96m>\x1B[96m https://xuliangzhan.com/vxe-table/index.html#/donation/api \x1B[0m\n\n');
}