uktrade / trade-elements

Front end pattern library for Department of International Trade
MIT License
5 stars 2 forks source link

Create a better npm package #12

Closed ztolley closed 7 years ago

ztolley commented 8 years ago

Pulling in this project as an NPM package ends up pulling in a whole load of packages and when others use this package they need to know to setup SASS to use this, gov uk elements, govuk jinja etc...

Move all packages needed to dev dependencies and make changes to the build script to move all source and dependent sass, images, templates into a dist folder and then package that up.

To test, create a simple project that just pulls this one dependency in and then in that project build test assets.

ztolley commented 8 years ago

Also, pull the images (crowns etc) from the toolkit project or wherever they came from and copy them into this project rather than duplicate them in the project.