tm-nucleus

Release notes can be found in our changelog.

Usage no npm install needed!

<script type="module">
  import tmNucleus from 'https://cdn.skypack.dev/tm-nucleus';
</script>

README

TM Nucleus

alt tag

Changelog

Release notes can be found in our changelog.

Dependencies

node - v4.2.6. If you need to run a different version of node for other projects, check out either nvm or n.

scss lint - 0.41.0.

To install:

$ gem install scss_lint -v 0.41.0

gulp - Gulp comes as part of the package.json and is accessed via the npm run commands above. However, if you wish to run individual gulp tasks directly from the command line, you'll need to install the cli.

$ npm install --global gulp

svg4everybody - IE9-12 do not recognize externally referenced SVG files, so we use this polyfill to fill the gap. The minified version of the polyfill is included with the project. For more information, see: svg4everybody

Getting Started

In your terminal, enter the following from within the nucleus directory:

$ npm install
$ npm run app

This will automatically open up a new browser tab with Nucleus loaded. It will also monitor source files for any changes and compile them as needed. The browser will refresh automatically for changes.

Linting

To lint SASS files, run the following command in the terminal:

$ npm run lint

Distribution files

To update Nucleus's distribution files (minified css, images, fonts), run the following command:

$ npm run dist

License

MIT License