{"name":"di","version":"2.0.0-pre-13","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.33","es6-shim":"~0.11.0"},"devDependencies":{"rtts-assert":"git+https://github.com/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","gitHead":"a52ee977d278bf8dd1bd56e830355c55696a3dbe","_id":"di@2.0.0-pre-13","_shasum":"63f1ea3da8c301c5eee1d116289f5613b94c0c1c","_from":".","_npmVersion":"1.5.0-alpha-3","_npmUser":{"name":"angularcore","email":"angular-core+npm@google.com"},"maintainers":[{"name":"vojtajina","email":"vojta.jina@gmail.com"},{"name":"angularcore","email":"angular-core+npm@google.com"}],"dist":{"shasum":"63f1ea3da8c301c5eee1d116289f5613b94c0c1c","tarball":"http://registry-npm.ywwl.com/di/download/di-2.0.0-pre-13.tgz","integrity":"sha512-Zpl9uKGgaBI3TnpLOCQ9DqicsMYOZhrO7Iim1SBaZnFGbWFLgpy9vSiscWGt4jnLM3aevRwSBUMmJX19/jvqzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD44aebrV0KwJMegcJWHlgNZoRlTRQ1pw9pDFODklxHNwIhAOswzhsR0xqiNakYISkE4Bs3zEGWAa0DsrTLFeNSw3u7"}],"size":25802,"noattachment":false,"key":"/di/-/di-2.0.0-pre-13.tgz"},"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":1423010924490,"_cnpm_publish_time":1423010924490,"dist-tags":{"latest":"0.0.1","v2":"2.0.0-pre-14"}}