Skip to content
Snippets Groups Projects
Commit 4f7f6ceb authored by Piotr Gawron's avatar Piotr Gawron
Browse files

jspdf moved to npm dependency

parent 9cbdc5fc
No related branches found
No related tags found
1 merge request!290Frontend dependencies moved to npm
...@@ -24,6 +24,10 @@ ...@@ -24,6 +24,10 @@
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",
"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==" "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA=="
}, },
"adler32cs": {
"version": "github:chick307/adler32cs.js#7fd00ffa24bf173a1eeb987ce7a21ae214eff658",
"from": "github:chick307/adler32cs.js"
},
"admin-lte": { "admin-lte": {
"version": "2.3.7", "version": "2.3.7",
"resolved": "https://registry.npmjs.org/admin-lte/-/admin-lte-2.3.7.tgz", "resolved": "https://registry.npmjs.org/admin-lte/-/admin-lte-2.3.7.tgz",
...@@ -191,6 +195,11 @@ ...@@ -191,6 +195,11 @@
"get-intrinsic": "^1.0.0" "get-intrinsic": "^1.0.0"
} }
}, },
"cf-blob.js": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/cf-blob.js/-/cf-blob.js-0.0.1.tgz",
"integrity": "sha1-9at+EueYyvCMz4KMaaug8GPYP5k="
},
"clone": { "clone": {
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
...@@ -484,6 +493,10 @@ ...@@ -484,6 +493,10 @@
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
}, },
"filesaver.js": {
"version": "github:andyinabox/FileSaver.js#973b433b8fbaee9a11d53b9ae423b046742cfe32",
"from": "github:andyinabox/FileSaver.js"
},
"fontkit": { "fontkit": {
"version": "1.8.1", "version": "1.8.1",
"resolved": "https://registry.npmjs.org/fontkit/-/fontkit-1.8.1.tgz", "resolved": "https://registry.npmjs.org/fontkit/-/fontkit-1.8.1.tgz",
...@@ -663,6 +676,16 @@ ...@@ -663,6 +676,16 @@
"resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.12.1.tgz", "resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.12.1.tgz",
"integrity": "sha1-XAgV08xvkP9fqvWyaKbiO0ypBPo=" "integrity": "sha1-XAgV08xvkP9fqvWyaKbiO0ypBPo="
}, },
"jspdf": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/jspdf/-/jspdf-1.3.2.tgz",
"integrity": "sha1-ybEOU9HdCpibkBrJhn20ipM4A5A=",
"requires": {
"adler32cs": "github:chick307/adler32cs.js",
"cf-blob.js": "0.0.1",
"filesaver.js": "github:andyinabox/FileSaver.js"
}
},
"jszip": { "jszip": {
"version": "3.5.0", "version": "3.5.0",
"resolved": "https://registry.npmjs.org/jszip/-/jszip-3.5.0.tgz", "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.5.0.tgz",
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"icheck": "^1.0.2", "icheck": "^1.0.2",
"jquery": "^2.2.4", "jquery": "^2.2.4",
"jquery-ui-dist": "^1.12.1", "jquery-ui-dist": "^1.12.1",
"jspdf": "^1.3.2",
"jszip": "^3.5.0", "jszip": "^3.5.0",
"moment": "^2.11.2", "moment": "^2.11.2",
"moment-range": "^3.1.1", "moment-range": "^3.1.1",
......
...@@ -134,6 +134,7 @@ NPM_FILE_PATTERNS = { ...@@ -134,6 +134,7 @@ NPM_FILE_PATTERNS = {
'icheck': ['skins/*', 'icheck*'], 'icheck': ['skins/*', 'icheck*'],
'jquery': ['dist/*'], 'jquery': ['dist/*'],
'jquery-ui-dist': ['jquery-ui*', 'LICENSE.txt'], 'jquery-ui-dist': ['jquery-ui*', 'LICENSE.txt'],
'jspdf': ['dist/*'],
'jszip': ['dist/*'], 'jszip': ['dist/*'],
'moment': ['min/*'], 'moment': ['min/*'],
'moment-range': ['dist/*'], 'moment-range': ['dist/*'],
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
</script> </script>
{% include "includes/datepicker.js.html" %} {% include "includes/datepicker.js.html" %}
<script src="{% static 'js/daily_planning.js' %}"></script> <script src="{% static 'js/daily_planning.js' %}"></script>
<script src="{% static 'jspdf.min.js' %}"></script> <script src="{% static 'jspdf/dist/jspdf.min.js' %}"></script>
<script src="{% static 'html2canvas/dist/html2canvas.min.js' %}"></script> <script src="{% static 'html2canvas/dist/html2canvas.min.js' %}"></script>
{% endblock scripts %} {% endblock scripts %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment