Skip to content

Commit

Permalink
ci: add prepare script to build icon files on npm install and `np…
Browse files Browse the repository at this point in the history
…m publish`
  • Loading branch information
cheton committed Mar 7, 2024
1 parent 4096112 commit 9407c7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@trendmicro/tmicon",
"version": "1.39.0",
"version": "1.39.1",
"description": "",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand All @@ -13,7 +13,8 @@
"scripts": {
"clean": "del dist/cjs dist/esm src/icons/*",
"build": "npm run build-icon-files && cross-env PACKAGE_NAME=index INPUT=src OUTPUT_DIRECTORY=dist rollup --config rollup.config.mjs",
"build-icon-files": "node ./script/build-icon-files.js"
"build-icon-files": "node ./script/build-icon-files.js",
"prepare": "npm run clean && npm run build"
},
"contributors": [
{
Expand Down

0 comments on commit 9407c7d

Please sign in to comment.