diff --git a/package.json b/package.json index 752a84b66..1b07e2763 100644 --- a/package.json +++ b/package.json @@ -152,7 +152,6 @@ "minimist": "^1.2.0", "mkdirp": "^0.5.1", "mockdate": "^2.0.2", - "node-emoji": "^1.10.0", "nprogress": "^0.2.0", "optimize-css-assets-webpack-plugin": "^5.0.1", "postcss": "^7.0.6", diff --git a/scripts/postinstall.js b/scripts/postinstall.js index 9b399bc43..7870c9967 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -1,6 +1,3 @@ -/* eslint-disable max-len */ -const emoji = require('node-emoji'); - const env = process.env; const ADBLOCK = is(env.ADBLOCK); const CI = is(env.CI); @@ -23,16 +20,11 @@ if (!ADBLOCK && !CI && !DISABLE_OPENCOLLECTIVE && !SILENT) { ); log( '\u001B[96mThe project needs your help! Please consider supporting of ant-design-vue on Open Collective or Patreon: ' + - emoji.get('pray') + '\u001B[0m', ); log('\u001B[96m>\u001B[94m https://opencollective.com/ant-design-vue \u001B[0m'); log('\u001B[96m>\u001B[94m https://www.patreon.com/tangjinzhou \u001B[0m\n'); - log( - '\u001B[96m更多赞助方式(支付宝、微信、Paypal)请查看如下链接: ' + - emoji.get('pray') + - '\u001B[0m', - ); + log('\u001B[96m更多赞助方式(支付宝、微信、Paypal)请查看如下链接: ' + '\u001B[0m'); log('\u001B[96m>\u001B[94m https://www.antdv.com/docs/vue/sponsor-cn \u001B[0m\n'); log('\u001B[96mAnt Design Vue 官方网站: \u001B[0m'); log('\u001B[96m>\u001B[94m https://www.antdv.com/ \u001B[0m\n');