add copy files so that icons json copies to build dir before publish

This commit is contained in:
Ian Miller 🦐 2021-02-03 23:31:19 -05:00
parent 80e1b89fcd
commit a609c5a501
2 changed files with 8 additions and 1 deletions

View File

@ -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/) 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.

View File

@ -5,7 +5,7 @@
"main": "build/index.js", "main": "build/index.js",
"scripts": { "scripts": {
"test": "npm run test", "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": "eslint src",
"lint:watch": "esw -w lib/**", "lint:watch": "esw -w lib/**",
"prepare": "npm run build" "prepare": "npm run build"