diff --git a/archive/v0.1.2/change-log.html b/archive/v0.1.2/change-log.html index a8b25ba6..d81c9e97 100644 --- a/archive/v0.1.2/change-log.html +++ b/archive/v0.1.2/change-log.html @@ -63,9 +63,10 @@
v0.1.2 - maintenance
<script src="//cdn.jsdelivr.net/mithril/0.1.2/mithril.min.js"></script>
NPM is the default package manager for NodeJS. If you're using NodeJS already or planning on using Grunt to create a build system, you can use NPM to conveniently keep up-to-date with Mithril versions.
+Assuming you have NodeJS installed, you can download Mithril by typing this:
+npm install mithril
+Then, to use Mithril, point a script tag to the downloaded file:
+<script src="/node_modules/mithril/mithril.min.js"></script>
+Bower is a package manager for NodeJS. If you're using NodeJS already or planning on using Grunt to create a build system, you can use Bower to conveniently keep up-to-date with Mithril versions.
Assuming you have NodeJS installed, you can install Bower by typing this in the command line:
diff --git a/archive/v0.1.2/mithril.min.zip b/archive/v0.1.2/mithril.min.zip index 1c7f4b08..940bb1fb 100644 Binary files a/archive/v0.1.2/mithril.min.zip and b/archive/v0.1.2/mithril.min.zip differ diff --git a/docs/change-log.md b/docs/change-log.md index 58641782..98f6780c 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -4,9 +4,10 @@ ### News: -- There's now a [community mailing list](mailto:mithriljs@googlegroups.com). There's also [web interface](https://groups.google.com/forum/#!forum/mithriljs) +- There's now a [community mailing list](mailto:mithriljs@googlegroups.com). There's also a [web interface](https://groups.google.com/forum/#!forum/mithriljs) - Mithril is now on Travis CI. The build status can be found in the [project homepage](https://github.com/lhorie/mithril.js) - Mithril is now available via the CommonJS and AMD API +- Mithril can now [be installed via npm and bower](installation.md) ### Bug Fixes: diff --git a/docs/installation.md b/docs/installation.md index 82e5430e..1c5fe733 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -38,6 +38,24 @@ Content delivery networks allow the library to be cached across different websit --- +### NPM + +NPM is the default package manager for [NodeJS](http://nodejs.org/). If you're using NodeJS already or planning on using [Grunt](http://gruntjs.com/) to create a build system, you can use NPM to conveniently keep up-to-date with Mithril versions. + +Assuming you have NodeJS installed, you can download Mithril by typing this: + +``` +npm install mithril +``` + +Then, to use Mithril, point a script tag to the downloaded file: + +```markup + +``` + +--- + ### Bower [Bower](http://http://bower.io) is a package manager for [NodeJS](http://nodejs.org/). If you're using NodeJS already or planning on using [Grunt](http://gruntjs.com/) to create a build system, you can use Bower to conveniently keep up-to-date with Mithril versions.