From a920f6a37a23406d7bc29aecab68b349d20f82ed Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Sun, 1 Nov 2020 19:47:34 +0800 Subject: [PATCH] build: clean build commands --- build/{build-icon.js => build-icons.js} | 0 package.json | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename build/{build-icon.js => build-icons.js} (100%) diff --git a/build/build-icon.js b/build/build-icons.js similarity index 100% rename from build/build-icon.js rename to build/build-icons.js diff --git a/package.json b/package.json index 1734f4e99..616d0475b 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "scripts": { "start": "npm run dev", "build:fonts": "npm run clean && node build/build-fonts.js", - "build:icon": "npm run clean && node build/build-icon.js", + "build:icons": "npm run clean && node build/build-icons.js", "build:js": "npm run generate && npm run clean && rollup -c", + "build:package": "npm run generate && npm run clean && node build/build-fonts.js && node build/build-icons.js && rollup -c", "build:demo": "npm run build && npm run demo", "build:doc": "npm run generate && npm run build && rm -rf build-doc/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.js", - "build": "npm run clean && node build/build-fonts.js && node build/build-icon.js && rollup -c", "clean": "rm -rf lib && rm -rf es && rm -rf dist", "demo": "npm run generate && cross-env NODE_ENV=production webpack-dev-server --config build/webpack.demo.js", "dev": "npm run generate && cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.js",