Created
June 12, 2015 14:14
-
-
Save OliverJAsh/418007daa5f61eb89c2a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.config({ | |
"defaultJSExtensions": true, | |
"transpiler": "babel", | |
"babelOptions": { | |
"optional": [ | |
"runtime" | |
] | |
}, | |
"paths": { | |
"github:*": "jspm_packages/github/*", | |
"npm:*": "jspm_packages/npm/*" | |
} | |
}); | |
System.config({ | |
"map": { | |
"babel": "npm:[email protected]", | |
"babel-runtime": "npm:[email protected]", | |
"core-js": "npm:[email protected]", | |
"lodash": "npm:[email protected]", | |
"github:jspm/[email protected]": { | |
"process": "npm:[email protected]" | |
}, | |
"npm:[email protected]": { | |
"process": "github:jspm/[email protected]" | |
}, | |
"npm:[email protected]": { | |
"fs": "github:jspm/[email protected]", | |
"process": "github:jspm/[email protected]", | |
"systemjs-json": "github:systemjs/[email protected]" | |
}, | |
"npm:[email protected]": { | |
"process": "github:jspm/[email protected]" | |
} | |
} | |
}); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="/assets/jspm_packages/system.src.js"></script> | |
<script src="/assets/config.js"></script> | |
<script> | |
System.config({ | |
baseURL: '/assets' | |
}); | |
System.import('lodash').then(console.log.bind(console)); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jspm": { | |
"directories": {}, | |
"dependencies": { | |
"lodash": "npm:[email protected]" | |
}, | |
"devDependencies": { | |
"babel": "npm:babel-core@^5.4.3", | |
"babel-runtime": "npm:babel-runtime@^5.4.3", | |
"core-js": "npm:core-js@^0.9.10" | |
} | |
}, | |
"dependencies": { | |
"jspm": "^0.16.0-beta" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http-server -c1 -o -p 7000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment