patternplate-core contains shared functionality of all patternplate projects. Its primary task is traversal and comprehension of pattern trees.
patternplate-core is available on npm.
npm install --save patternplate-core
patternplate-core exposes its API as commonjs module. Functionalities are grouped in namespaces. See API Documentation for details.
import core from 'patternplate-core'; const schema = core.manifest.schema;
You dig patternplate-core and want to submit a pull request? Awesome! Be sure to read the contribution guide and you should be good to go. Here are some notes to get you coding real quick.
Fetch, install and start the default watch task
git clone https://github.com/marionebl/patternplate-core.git cd patternplate-core npm install npm start
This will watch all files in
source and start the appropriate tasks when changes are detected.
See development for more details.