Skip to content

Commit

Permalink
Add croppic-js package (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes authored Mar 3, 2021
2 parents 7442733 + d3063ac commit 7fc5b9c
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 0 deletions.
3 changes: 3 additions & 0 deletions croppic-js/CHANGES.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<p>
See the <a href="https://github.com/sconsult/croppic"> croppic changelog</a>
</p>
1 change: 1 addition & 0 deletions croppic-js/LICENSE.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<p>Croppic is licensed under the <a href="https://github.com/fussraider/croppic.js/blob/master/LICENSE">MIT License</a>.</p>
49 changes: 49 additions & 0 deletions croppic-js/croppic.dnn
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<dotnetnuke type="Package" version="5.0">
<packages>
<package name="croppic-js" type="JavaScript_Library" version="<~=version~>">
<friendlyName>croppic-js</friendlyName>
<description>
<![CDATA[Croppic is an image cropping jquery plugin that will satisfy your needs and much more.]]>
</description>
<owner>
<name>Engage Software</name>
<organization>Engage Software</organization>
<url>https://engagesoftware.com/</url>
<email>[email protected]</email>
</owner>
<license src="LICENSE.htm" />
<releaseNotes src="CHANGES.htm" />
<azureCompatible>true</azureCompatible>
<dependencies>
<dependency type="managedPackage" version="3.4.1">jQuery</dependency>
</dependencies>
<components>
<component type="JavaScript_Library">
<javaScriptLibrary>
<libraryName>croppic-js</libraryName>
<fileName>croppic.min.js</fileName>
<preferredScriptLocation>BodyBottom</preferredScriptLocation>
<objectName>Croppic</objectName>
<cdnUrl>https://cdn.jsdelivr.net/npm/croppic-js@<~=version~>/croppic.min.js</cdnUrl>
</javaScriptLibrary>
</component>
<component type="JavaScriptFile">
<jsfiles>
<libraryFolderName>croppic-js</libraryFolderName>
<jsfile>
<name>croppic.min.js</name>
</jsfile>
</jsfiles>
</component>
<component type="ResourceFile">
<resourceFiles>
<basePath>Resources\Libraries\croppic-js\<~=versionFolder~></basePath>
<resourceFile>
<name>Resources.zip</name>
</resourceFile>
</resourceFiles>
</component>
</components>
</package>
</packages>
</dotnetnuke>
4 changes: 4 additions & 0 deletions croppic-js/dnn-library.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"files": ["node_modules/croppic-js/croppic.min.js"],
"resources": ["node_modules/croppic-js/**"]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"chart.js": "2.9.4",
"chosen-js": "1.8.7",
"clipboard": "2.0.6",
"croppic-js": "1.0.3",
"datatables.net-buttons-dt": "2.2.0",
"datatables.net-dt": "1.10.23",
"eonasdan-bootstrap-datetimepicker": "4.17.49",
Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,13 @@ create-error-class@^3.0.0:
dependencies:
capture-stack-trace "^1.0.0"

[email protected]:
version "1.0.3"
resolved "https://registry.yarnpkg.com/croppic-js/-/croppic-js-1.0.3.tgz#c3f09de7903b9265344850145c20b2797c85a914"
integrity sha512-wJ7rOS8bbt3qxg0DQMhoTeY7/4ex1AAlZoaOCCSmpGXDDt7CAVJg3/2X1zEaxuBoRJ3bL4nHQhiMz/GyCIJETw==
dependencies:
jquery "^3.4.1"

cross-fetch@^3.0.6:
version "3.0.6"
resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.0.6.tgz#3a4040bc8941e653e0e9cf17f29ebcd177d3365c"
Expand Down Expand Up @@ -3460,6 +3467,11 @@ jquery@*, [email protected], "jquery@>= 3.1.1", jquery@>=1.11.3, jquery@>=1.7, "jquer
resolved "https://registry.yarnpkg.com/jquery/-/jquery-2.2.4.tgz#2c89d6889b5eac522a7eea32c14521559c6cbf02"
integrity sha1-LInWiJterFIqfuoywUUhVZxsvwI=

jquery@^3.4.1:
version "3.6.0"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.6.0.tgz#c72a09f15c1bdce142f49dbf1170bdf8adac2470"
integrity sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw==

js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
Expand Down

0 comments on commit 7fc5b9c

Please sign in to comment.