{
  "name": "systemjs",
  "version": "0.18.17",
  "description": "System loader extension for flexible AMD & CommonJS support",
  "repository": {
    "type": "git",
    "url": "git://github.com/systemjs/systemjs"
  },
  "author": {
    "name": "Guy Bedford"
  },
  "license": "MIT",
  "dependencies": {
    "es6-module-loader": "^0.17.4",
    "when": "^3.7.2"
  },
  "devDependencies": {
    "babel-core": "^5.8.22",
    "qunit": "^0.6.2",
    "traceur": "0.0.91",
    "typescript": "next",
    "uglify-js": "~2.4.23"
  },
  "scripts": {
    "test:browser": "make test",
    "build": "make",
    "test": "npm run test:babel && npm run test:traceur && npm run test:typescript",
    "test:babel": "qunit -c s:./index.js -t ./test/test-babel.js",
    "test:traceur": "qunit -c s:./index.js -t ./test/test-traceur.js",
    "test:typescript": "qunit -c s:./index.js -t ./test/test-typescript.js"
  },
  "readme": "SystemJS\n========\n\n[![Build Status][travis-image]][travis-url]\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/systemjs/systemjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) \n\n_For upgrading to SystemJS 0.17 / 0.18, see the [SystemJS 0.17 release upgrade notes for more information](https://github.com/systemjs/systemjs/releases/tag/0.17.0), or read the updated [SystemJS Overview](docs/overview.md) guide._\n\nUniversal dynamic module loader - loads ES6 modules, AMD, CommonJS and global scripts in the browser and NodeJS. Works with both Traceur and Babel.\n\n* [Loads any module format](docs/module-formats.md) with [exact circular reference and binding support](https://github.com/ModuleLoader/es6-module-loader/blob/v0.17.0/docs/circular-references-bindings.md).\n* Loads [ES6 modules compiled into the `System.register` bundle format for production](docs/production-workflows.md), maintaining circular references support.\n* Supports RequireJS-style [map](docs/overview.md#map-config), [paths](docs/overview.md#paths-config), [bundles](docs/production-workflows.md#bundle-extension) and [global shims](docs/module-formats.md#shim-dependencies).\n* [Loader plugins](docs/overview.md#plugins) allow loading assets through the module naming system such as CSS, JSON or images.\n\nBuilt on top of the [ES6 Module Loader polyfill](https://github.com/ModuleLoader/es6-module-loader).\n\n~14KB minified and gzipped, runs in IE8+ and NodeJS.\n\nFor discussion, [see the Google Group](https://groups.google.com/group/systemjs).\n\nFor a list of guides and tools, see the [Third-Party Resources Wiki](https://github.com/systemjs/systemjs/wiki/Third-Party-Resources).\n\nDocumentation\n---\n\n* [ES6 Modules Overview](docs/es6-modules-overview.md)\n* [SystemJS Overview](docs/overview.md)\n* [Config API](docs/config-api.md)\n* [Module Formats](docs/module-formats.md)\n* [Production Workflows](docs/production-workflows.md)\n* [System API](docs/system-api.md)\n* [Creating Plugins](docs/creating-plugins.md)\n\nBasic Use\n---\n\n### Browser\n\n```html\n<script src=\"system.js\"></script>\n<script>\n  // set our baseURL reference path\n  System.config({\n    baseURL: '/app'\n  });\n\n  // loads /app/main.js\n  System.import('main.js');\n</script>\n```\n\nTo load ES6, locate a transpiler ([`traceur.js`](https://github.com/jmcriffey/bower-traceur), ['browser.js' from Babel](https://github.com/babel/babel), or ['typescript.js' from TypeScript](https://github.com/Microsoft/TypeScript)) \nin the baseURL path, then set the transpiler:\n\n```html\n<script>\n  System.config({\n    // or 'traceur' or 'typescript'\n    transpiler: 'babel'\n    // or traceurOptions or typescriptOptions\n    babelOptions: {\n\n    }\n  });\n</script>\n```\n\nAlternatively a custom path to Babel or Traceur can also be set through paths:\n\n```javascript\nSystem.config({\n  map: {\n    traceur: 'path/to/traceur.js'\n  }\n});\n```\n\n### Polyfills\n\nSystemJS relies on `Promise` and `URL` being present in the environment. When these are not available it will send a request out to the `system-polyfills.js` file located in the dist folder which will polyfill `window.Promise` and `window.URLPolyfill`.\n\nThis is typically necessary in IE, so ensure to keep this file in the same folder as SystemJS.\n\nAlternatively the polyfills can be loaded manually or via other polyfill implementations as well.\n\n### NodeJS\n\nTo load modules in NodeJS, install SystemJS with:\n\n```\n  npm install systemjs\n```\n\nIf transpiling ES6, also install the transpiler:\n\n```\n  npm install traceur babel typescript \n```\n\nWe can then load modules equivalently to in the browser:\n\n```javascript\nvar System = require('systemjs');\n\nSystem.transpiler = 'traceur';\n\n// loads './app.js' from the current directory\nSystem.import('./app').then(function(m) {\n  console.log(m);\n});\n```\n\nIf using TypeScript, set `global.ts = require('typescript')` before importing to ensure it is loaded correctly.\n\n### Plugins\n\nSupported loader plugins:\n\n* [CSS](https://github.com/systemjs/plugin-css) `System.import('my/file.css')`\n* [Image](https://github.com/systemjs/plugin-image) `System.import('some/image.png!image')`\n* [JSON](https://github.com/systemjs/plugin-json) `System.import('some/data.json')`\n* [Text](https://github.com/systemjs/plugin-text) `System.import('some/text.txt!text')`\n\nAdditional Plugins:\n\n* [CoffeeScript](https://github.com/forresto/plugin-coffee) `System.import('./test.coffee')`\n* [Jade](https://github.com/johnsoftek/plugin-jade)\n* [Jade VirtualDOM](https://github.com/WorldMaker/system-jade-virtualdom)\n* [JSX](https://github.com/floatdrop/plugin-jsx) `System.import('template.jsx')`\n* [Markdown](https://github.com/guybedford/plugin-md) `System.import('app/some/project/README.md').then(function(html) {})`\n* [WebFont](https://github.com/guybedford/plugin-font) `System.import('google Port Lligat Slab, Droid Sans !font')`\n* [Handlebars](https://github.com/davis/plugin-hbs) `System.import('template.hbs!')`\n* [Ember Handlebars](https://github.com/n-fuse/plugin-ember-hbs) `System.import('template.hbs!')`\n* [raw](https://github.com/matthewbauer/plugin-raw) `System.import('file.bin!raw').then(function(data) {})`\n* [jst](https://github.com/podio/plugin-jst) Underscore templates\n\n[Read about using plugins here](docs/overview.md#plugin-loaders)\n[Read the guide here on creating plugins](docs/creating-plugins.md).\n\n#### Running the tests\n\nTo install the dependencies correctly, run `bower install` from the root of the repo, then open `test/test.html` in a browser with a local server\nor file access flags enabled.\n\nLicense\n---\n\nMIT\n\n[travis-url]: https://travis-ci.org/systemjs/systemjs\n[travis-image]: https://travis-ci.org/systemjs/systemjs.svg?branch=master\n",
  "readmeFilename": "README.md",
  "bugs": {
    "url": "https://github.com/systemjs/systemjs/issues"
  },
  "_id": "systemjs@0.18.17",
  "_from": "systemjs@^0.18.10"
}
