-
Notifications
You must be signed in to change notification settings - Fork 9
Developing on the Toolkit itself
Jorge Antunes edited this page Jul 23, 2016
·
4 revisions
First, let's install and link the dev-toolkit
.
- git clone
dev-toolkit
repo into a folder (example:repos/local_modules/dev-toolkit
) - run
npm install
inside the folder to install all the dependencies - now link the toolkit using just
npm link
Second, we need to link the toolkit to dev-toolkit-starter
.
- git clone
dev-toolkit-starter
into a different folder (example:repos/dev-toolkit-starter
) - if it has the
dev-toolkit
-dependency, remove it for npm link to work - run
npm install
inside the folder to install all the dependencies - now link the toolkit using
npm link dev-toolkit
This is very much an iteration phase, you'll encounter mystical errors that you'll have to fix, caching problems and whatnot. Good luck!
- inside the
dev-toolkit
folder, runnpm run watch
to convert all ES2015+ files into ES5 - then, run
npm run dev
insidedev-toolkit-starter
to simulate running the toolkit on an example project - make any desired changes to
dev-toolkit
and confirm everything is working correctly by re-runningnpm run dev
- document what you did
- make a PR with suggestions?