Skip to content

Commit 55dd96b

Browse files
committed
Update JSPM sample
1 parent b8fb228 commit 55dd96b

File tree

6 files changed

+3075
-15
lines changed

6 files changed

+3075
-15
lines changed

jspm/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jspm_packages

jspm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
```
33
npm install -g jspm@beta
44
jspm install
5-
5+
jspm dl-loader --edge
66
```
77

88
**run:**

jspm/config.js

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,59 @@
11
System.config({
2-
"baseURL": "/",
3-
"defaultJSExtensions": true,
4-
"transpiler": "typescript",
5-
"paths": {
2+
baseURL: "/",
3+
defaultJSExtensions: true,
4+
transpiler: "typescript",
5+
paths: {
66
"*": "src/*",
77
"src": "src",
88
"github:*": "jspm_packages/github/*",
99
"npm:*": "jspm_packages/npm/*"
1010
},
11-
"packages": {
11+
12+
packages: {
1213
"/src": {
1314
"defaultExtension": "ts"
1415
}
15-
}
16-
});
16+
},
1717

18-
System.config({
19-
"map": {
18+
map: {
2019
"core-js": "npm:core-js@0.9.18",
21-
"typescript": "github:mhegazy/typescript@v1.5-beta2",
20+
"typescript": "npm:typescript@1.5.3",
21+
"github:jspm/nodelibs-buffer@0.1.0": {
22+
"buffer": "npm:buffer@3.4.3"
23+
},
24+
"github:jspm/nodelibs-os@0.1.0": {
25+
"os-browserify": "npm:os-browserify@0.1.2"
26+
},
27+
"github:jspm/nodelibs-path@0.1.0": {
28+
"path-browserify": "npm:path-browserify@0.0.0"
29+
},
2230
"github:jspm/nodelibs-process@0.1.1": {
2331
"process": "npm:process@0.10.1"
2432
},
33+
"npm:buffer@3.4.3": {
34+
"base64-js": "npm:base64-js@0.0.8",
35+
"ieee754": "npm:ieee754@1.1.6",
36+
"is-array": "npm:is-array@1.0.1"
37+
},
2538
"npm:core-js@0.9.18": {
2639
"fs": "github:jspm/nodelibs-fs@0.1.2",
2740
"process": "github:jspm/nodelibs-process@0.1.1",
2841
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
42+
},
43+
"npm:os-browserify@0.1.2": {
44+
"os": "github:jspm/nodelibs-os@0.1.0"
45+
},
46+
"npm:path-browserify@0.0.0": {
47+
"process": "github:jspm/nodelibs-process@0.1.1"
48+
},
49+
"npm:typescript@1.5.3": {
50+
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
51+
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
52+
"fs": "github:jspm/nodelibs-fs@0.1.2",
53+
"os": "github:jspm/nodelibs-os@0.1.0",
54+
"path": "github:jspm/nodelibs-path@0.1.0",
55+
"process": "github:jspm/nodelibs-process@0.1.1",
56+
"readline": "github:jspm/nodelibs-readline@0.1.0"
2957
}
3058
}
3159
});
32-

jspm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"core-js": "npm:core-js@^0.9.4"
66
},
77
"devDependencies": {
8-
"typescript": "npm:typescript"
8+
"typescript": "npm:typescript@1.5.3"
99
}
1010
}
1111
}

0 commit comments

Comments
 (0)