panther-engine
v3.0.0
Published
A living style guide generator
Downloads
54
Keywords
Readme
Panther core engine
Please refer to the Panther documentation website.
Using NPM Link during development
If you need to make changes to the Panther codebase, then you may find it useful to temporarily link your local copy of the panther-engine
repository to the project that's using it. You can use NPM link to achieve this.
Create a temporary symbolic link between the packages
The following example assumes you've cloned both repos into ~/projects
:
cd ~/projects/panther-engine # go into engine package directory
npm link # create global link
cd ~/projects/your-pattern-library # go into client package directory
npm link panther-engine # link/install the package
Delete the link when you're finished working
cd ~/projects/your-pattern-library # go into client package directory
npm unlink panther-engine # unlink/uninstall the package
npm install panther-engine # re-install the package
cd ~/projects/panther-engine # go into engine package directory
npm unlink # delete global link