Skip to content

Commit 5750ae4

Browse files
committed
v0.4.0 jspm migration
1 parent b40b497 commit 5750ae4

File tree

13 files changed

+148
-554
lines changed

13 files changed

+148
-554
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
Thumbs.db
33
node_modules
44
npm-debug.log
5+
jspm_packages

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Orbin
3+
Copyright (c) 2017 Orbin
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# pdf-invoice-simple
22
[![NPM Version][npm-image]][downloads-url] [![NPM Downloads][downloads-image]][downloads-url]
33

4-
**A simple pdf invoice template**
4+
**A Simple PDF Invoice Template**
5+
6+
Currently german only.
57

68
## Usage
79

@@ -49,7 +51,7 @@ simpleInvoice({
4951
total: 430,
5052
currency: "EUR",
5153
note: "Meine Notiz"
52-
}).print("invoice.pdf");
54+
}).download("invoice.pdf");
5355
```
5456

5557
## License

config.js

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
System.config({
2+
baseURL: "/",
3+
defaultJSExtensions: true,
4+
transpiler: "babel",
5+
babelOptions: {
6+
"optional": [
7+
"runtime",
8+
"optimisation.modules.system"
9+
]
10+
},
11+
paths: {
12+
"github:*": "jspm_packages/github/*",
13+
"npm:*": "jspm_packages/npm/*"
14+
},
15+
16+
map: {
17+
"babel": "npm:babel-core@5.8.38",
18+
"babel-runtime": "npm:babel-runtime@5.8.38",
19+
"core-js": "npm:core-js@1.2.7",
20+
"jquery": "npm:jquery@3.1.1",
21+
"moment": "npm:moment@2.17.1",
22+
"pdfmake": "github:bpampuch/pdfmake@0.1.25",
23+
"github:jspm/nodelibs-assert@0.1.0": {
24+
"assert": "npm:assert@1.4.1"
25+
},
26+
"github:jspm/nodelibs-buffer@0.1.0": {
27+
"buffer": "npm:buffer@3.6.0"
28+
},
29+
"github:jspm/nodelibs-path@0.1.0": {
30+
"path-browserify": "npm:path-browserify@0.0.0"
31+
},
32+
"github:jspm/nodelibs-process@0.1.2": {
33+
"process": "npm:process@0.11.9"
34+
},
35+
"github:jspm/nodelibs-util@0.1.0": {
36+
"util": "npm:util@0.10.3"
37+
},
38+
"github:jspm/nodelibs-vm@0.1.0": {
39+
"vm-browserify": "npm:vm-browserify@0.0.4"
40+
},
41+
"npm:assert@1.4.1": {
42+
"assert": "github:jspm/nodelibs-assert@0.1.0",
43+
"buffer": "github:jspm/nodelibs-buffer@0.1.0",
44+
"process": "github:jspm/nodelibs-process@0.1.2",
45+
"util": "npm:util@0.10.3"
46+
},
47+
"npm:babel-runtime@5.8.38": {
48+
"process": "github:jspm/nodelibs-process@0.1.2"
49+
},
50+
"npm:buffer@3.6.0": {
51+
"base64-js": "npm:base64-js@0.0.8",
52+
"child_process": "github:jspm/nodelibs-child_process@0.1.0",
53+
"fs": "github:jspm/nodelibs-fs@0.1.2",
54+
"ieee754": "npm:ieee754@1.1.8",
55+
"isarray": "npm:isarray@1.0.0",
56+
"process": "github:jspm/nodelibs-process@0.1.2"
57+
},
58+
"npm:core-js@1.2.7": {
59+
"fs": "github:jspm/nodelibs-fs@0.1.2",
60+
"path": "github:jspm/nodelibs-path@0.1.0",
61+
"process": "github:jspm/nodelibs-process@0.1.2",
62+
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
63+
},
64+
"npm:inherits@2.0.1": {
65+
"util": "github:jspm/nodelibs-util@0.1.0"
66+
},
67+
"npm:isarray@1.0.0": {
68+
"systemjs-json": "github:systemjs/plugin-json@0.1.2"
69+
},
70+
"npm:path-browserify@0.0.0": {
71+
"process": "github:jspm/nodelibs-process@0.1.2"
72+
},
73+
"npm:process@0.11.9": {
74+
"assert": "github:jspm/nodelibs-assert@0.1.0",
75+
"fs": "github:jspm/nodelibs-fs@0.1.2",
76+
"vm": "github:jspm/nodelibs-vm@0.1.0"
77+
},
78+
"npm:util@0.10.3": {
79+
"inherits": "npm:inherits@2.0.1",
80+
"process": "github:jspm/nodelibs-process@0.1.2"
81+
},
82+
"npm:vm-browserify@0.0.4": {
83+
"indexof": "npm:indexof@0.0.1"
84+
}
85+
}
86+
});

demo/index.html

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)