From a609c5a501de6743e98631afe02269ba6dc81218 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ian=20Miller=20=F0=9F=A6=90?= Date: Wed, 3 Feb 2021 23:31:19 -0500 Subject: [PATCH] add copy files so that icons json copies to build dir before publish --- README.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fa1812d..f77dc9d 100644 --- a/README.md +++ b/README.md @@ -85,3 +85,10 @@ The icons are all square, based on a 24x24 grid. The full list of icon names can be referenced at: [feathericons.com](https://feathericons.com/) + + +## Developing Locally +To build the bundled assets for consumption +`yarn build` + +Update this package to have a demo and some tests on icon rendering. diff --git a/package.json b/package.json index f3a0d3e..70f37fb 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "build/index.js", "scripts": { "test": "npm run test", - "build": "npm run lint && babel src -d build", + "build": "npm run lint && babel src -d build --copy-files", "lint": "eslint src", "lint:watch": "esw -w lib/**", "prepare": "npm run build"