mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-22 13:53:48 +01:00
updated to jspm 0.17
This commit is contained in:
parent
d67cf46a04
commit
a7bb60f461
37
config.js
37
config.js
@ -1,37 +0,0 @@
|
||||
System.config({
|
||||
baseURL: "/",
|
||||
defaultJSExtensions: true,
|
||||
transpiler: "babel",
|
||||
babelOptions: {
|
||||
"optional": [
|
||||
"runtime"
|
||||
],
|
||||
"stage": 0
|
||||
},
|
||||
paths: {
|
||||
"github:*": "jspm_packages/github/*",
|
||||
"npm:*": "jspm_packages/npm/*"
|
||||
},
|
||||
|
||||
map: {
|
||||
"babel": "npm:babel-core@5.7.4",
|
||||
"babel-runtime": "npm:babel-runtime@5.7.0",
|
||||
"casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master",
|
||||
"core-js": "npm:core-js@0.9.18",
|
||||
"github/fetch": "github:github/fetch@0.9.0",
|
||||
"jquery": "github:components/jquery@2.1.4",
|
||||
"traceur": "github:jmcriffey/bower-traceur@0.0.90",
|
||||
"traceur-runtime": "github:jmcriffey/bower-traceur-runtime@0.0.90",
|
||||
"github:jspm/nodelibs-process@0.1.1": {
|
||||
"process": "npm:process@0.10.1"
|
||||
},
|
||||
"npm:babel-runtime@5.7.0": {
|
||||
"process": "github:jspm/nodelibs-process@0.1.1"
|
||||
},
|
||||
"npm:core-js@0.9.18": {
|
||||
"fs": "github:jspm/nodelibs-fs@0.1.2",
|
||||
"process": "github:jspm/nodelibs-process@0.1.1",
|
||||
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
|
||||
}
|
||||
}
|
||||
});
|
@ -4,7 +4,7 @@
|
||||
<title>Doodle3D Box</title>
|
||||
|
||||
<script type="text/javascript" src="../jspm_packages/system.js"></script>
|
||||
<script type="text/javascript" src="../config.js"></script>
|
||||
<script type="text/javascript" src="../jspm.config.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
|
51
jspm.config.js
Normal file
51
jspm.config.js
Normal file
@ -0,0 +1,51 @@
|
||||
SystemJS.config({
|
||||
paths: {
|
||||
"github:": "jspm_packages/github/",
|
||||
"npm:": "jspm_packages/npm/",
|
||||
"Doodle3D-API/": "src/"
|
||||
},
|
||||
browserConfig: {
|
||||
"baseURL": "/"
|
||||
},
|
||||
devConfig: {
|
||||
"map": {
|
||||
"babel-runtime": "npm:babel-runtime@5.8.38",
|
||||
"core-js": "npm:core-js@1.2.7",
|
||||
"traceur": "github:jmcriffey/bower-traceur@0.0.90",
|
||||
"traceur-runtime": "github:jmcriffey/bower-traceur-runtime@0.0.90",
|
||||
"process": "github:jspm/nodelibs-process@0.2.0-alpha",
|
||||
"fs": "github:jspm/nodelibs-fs@0.2.0-alpha",
|
||||
"plugin-babel": "npm:systemjs-plugin-babel@0.0.12",
|
||||
"path": "github:jspm/nodelibs-path@0.2.0-alpha"
|
||||
}
|
||||
},
|
||||
transpiler: "plugin-babel",
|
||||
babelOptions: {
|
||||
"optional": [
|
||||
"runtime"
|
||||
],
|
||||
"stage": 0
|
||||
},
|
||||
map: {
|
||||
"babel": "npm:babel-core@5.7.4"
|
||||
},
|
||||
packages: {
|
||||
"Doodle3D-API": {
|
||||
"main": "index.js"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
SystemJS.config({
|
||||
packageConfigPaths: [
|
||||
"npm:@*/*.json",
|
||||
"npm:*.json",
|
||||
"github:*/*.json"
|
||||
],
|
||||
map: {
|
||||
"casperlamboo/EventDispatcher": "github:casperlamboo/EventDispatcher@master",
|
||||
"github/fetch": "github:github/fetch@0.9.0",
|
||||
"jquery": "github:components/jquery@2.2.4"
|
||||
},
|
||||
packages: {}
|
||||
});
|
40
package.json
40
package.json
@ -1,6 +1,7 @@
|
||||
{
|
||||
"jspm": {
|
||||
"main": "./index.js",
|
||||
"name": "Doodle3D-API",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
"lib": "src"
|
||||
},
|
||||
@ -10,11 +11,44 @@
|
||||
"jquery": "github:components/jquery@^2.1.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel": "npm:babel-core@^5.1.13",
|
||||
"babel-runtime": "npm:babel-runtime@^5.1.13",
|
||||
"core-js": "npm:core-js@^0.9.4",
|
||||
"core-js": "npm:core-js@^1.2.0",
|
||||
"fs": "github:jspm/nodelibs-fs@^0.2.0-alpha",
|
||||
"path": "github:jspm/nodelibs-path@^0.2.0-alpha",
|
||||
"plugin-babel": "npm:systemjs-plugin-babel@^0.0.12",
|
||||
"process": "github:jspm/nodelibs-process@^0.2.0-alpha",
|
||||
"traceur": "github:jmcriffey/bower-traceur@0.0.90",
|
||||
"traceur-runtime": "github:jmcriffey/bower-traceur-runtime@0.0.90"
|
||||
},
|
||||
"overrides": {
|
||||
"github:components/jquery@2.2.4": {
|
||||
"main": "jquery"
|
||||
},
|
||||
"github:jmcriffey/bower-traceur-runtime@0.0.90": {
|
||||
"format": "global",
|
||||
"meta": {
|
||||
"traceur-runtime.js": {
|
||||
"exports": "$traceurRuntime",
|
||||
"format": "global"
|
||||
}
|
||||
}
|
||||
},
|
||||
"github:jmcriffey/bower-traceur@0.0.90": {
|
||||
"format": "global",
|
||||
"meta": {
|
||||
"traceur.js": {
|
||||
"exports": "traceur",
|
||||
"format": "global"
|
||||
}
|
||||
}
|
||||
},
|
||||
"npm:babel-runtime@5.8.38": {
|
||||
"main": false,
|
||||
"dependencies": {},
|
||||
"optionalDependencies": {
|
||||
"core-js": "^1.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user