{"name":"di","version":"2.0.0-pre-8","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":"vojtajina/traceur-compiler#add-es6-pure-transformer-dist","es6-shim":"~0.9.2"},"devDependencies":{"rtts-assert":"angular/assert","gulp":"^3.5.6","gulp-connect":"~1.0.5","gulp-traceur":"vojtajina/gulp-traceur#traceur-as-peer","gulp-git":"vojtajina/gulp-git#hacked","karma":"^0.12.1","karma-script-launcher":"~0.1.0","karma-chrome-launcher":"~0.1.2","karma-firefox-launcher":"~0.1.3","karma-phantomjs-launcher":"~0.1.2","karma-sauce-launcher":"~0.2.4","karma-jasmine":"^0.2.2","karma-requirejs":"^0.2.1","karma-traceur-preprocessor":"vojtajina/karma-traceur-preprocessor#traceur-as-peer","pipe":"angular/pipe#remove-transitive-deps","requirejs":"2.1.10","through2":"~0.4.1"},"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-8","dist":{"shasum":"b759543027654ac2a1bb9c33f88554beec3f594f","tarball":"http://registry-npm.ywwl.com/di/download/di-2.0.0-pre-8.tgz","integrity":"sha512-u+a3OYFVEpVMvgQAotU1J3U8+Ymh/2+rHkrMuzsZvvYM2PnNxokp7SJBFexr4RKnlhqnKGxq8A6wxC0wuaSYcg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnUKjrarFuBOAU7XIyEGV3DGOMaUG9um/8KComtNlimwIgP35wiygaYc/Ef2O7Ahs4Ibt0mf37hbbhmgyfvFZp88M="}],"size":146795,"noattachment":false,"key":"/di/-/di-2.0.0-pre-8.tgz"},"_from":".","_npmVersion":"1.3.24","_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":1396914316244,"_cnpm_publish_time":1396914316244,"dist-tags":{"latest":"0.0.1","v2":"2.0.0-pre-14"}}