{"name":"di","version":"2.0.0-pre-3","description":"A DI framework.","main":"node/index.js","homepage":"https://github.com/angular/di.js","repository":{"type":"git","url":"git://github.com/angular/di.js.git"},"bugs":{"url":"https://github.com/angular/di.js/issues"},"dependencies":{"traceur":"0.0.20","es6-shim":"~0.9.2","q":"~1.0.0"},"devDependencies":{"pipe":"git://github.com/angular/pipe#assert","gulp-connect":"~0.3.0","requirejs":"2.1.10"},"scripts":{"test":"karma start --single-run"},"author":{"name":"Vojta Jína","email":"vojta.jina@gmail.com"},"license":"Apache-2.0","_id":"di@2.0.0-pre-3","dist":{"shasum":"b4ea44969b24b8ea99e20c878b7cceeaf526982e","tarball":"http://registry-npm.ywwl.com/di/download/di-2.0.0-pre-3.tgz","integrity":"sha512-1tzrR+MHCPcwDeo1cKutRtT6Pgpu/Pnsqns55AVl/lbuet9pRE/0XjufGwUeuOifSfCpQ75+PRK8kf/uvAfmqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgJFczbO3nCgZ7FU7Cr0WReo/g/qA4Fj5pyySXyNHwzwIgX/6idsNw4MSFg2MWCMXPn6AllPu+TdqCxBgTkvIoVdo="}],"size":150257,"noattachment":false,"key":"/di/-/di-2.0.0-pre-3.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"vojtajina","email":"vojta.jina@gmail.com"},"maintainers":[{"name":"vojtajina","email":"vojta.jina@gmail.com"}],"directories":{},"readme":"[![Build Status](https://travis-ci.org/angular/di.js.png?branch=master)](https://travis-ci.org/angular/di.js)\n\n## Dependency Injection v2\n\nThis readme describes how to set up your working space in order to run the tests and hack on it. See [How can I use it](./docs/how-can-i-use-it.md) on how to use this DI framework in your project.\n\n### Installation\n```bash\n# Clone this repo (or your fork).\ngit clone https://github.com/angular/di.js.git\n\n# Install all the the dev dependencies, such as Karma, Gulp, etc.\nnpm install\n\n# If you wanna use \"karma\" or \"gulp\" commands, install also:\nnpm install -g karma-cli\nnpm install -g gulp\n```\n\n### Running the [tests](./test/)\nThis will start Karma and Chrome (with `--harmony` enabled). Karma will watch the source code and run the tests anytime you save a change.\n\n```bash\nkarma start\n```\n\n### Transpiling ES6\nAll the source code is written in the upcoming version of JavaScript - ES6. In order to use it in the current browsers you need to transpile the code into ES5 using [Traceur].\n\n\n```bash\n# Transpile ES6 into ./compiled/*\ngulp build\n\n# Watch all the sources and transpile on any change\ngulp watch\n```\n\n\n### Examples\n```bash\ngulp build_examples\ngulp serve\n```\n\n\n### More stuff\n\nI talked about this DI framework at the [ng-conf], here are some more links...\n\n  - [video](http://www.youtube.com/watch?v=_OGGsf1ZXMs)\n  - [slides](https://dl.dropboxusercontent.com/u/36607830/talks/ng-conf-di-v2.pdf) ([annotated version](https://dl.dropboxusercontent.com/u/36607830/talks/ng-conf-di-v2-annotated.pdf))\n\nAlso, [here](https://docs.google.com/document/d/1fTR4TcTGbmExa5w2SRNAkM1fsB9kYeOvfuiI99FgR24/edit?usp=sharing) is the original design doc, which is quickly becoming out-dated ;-)\n\n[Traceur]: https://github.com/google/traceur-compiler\n[ng-conf]: http://ng-conf.org/\n","publish_time":1394479388508,"_cnpm_publish_time":1394479388508,"dist-tags":{"latest":"0.0.1","v2":"2.0.0-pre-14"}}