Skip to content

Commit

Permalink
Updated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Feb 17, 2018
1 parent 6e468de commit a1d617f
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 126 deletions.
3 changes: 3 additions & 0 deletions bin/jsencrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -5270,6 +5270,9 @@ var JSEncrypt$1 = /** @class */ (function () {
return JSEncrypt;
}());

window = window || {};
window.JSEncrypt = JSEncrypt$1;

exports.JSEncrypt = JSEncrypt$1;
exports['default'] = JSEncrypt$1;

Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsencrypt",
"version": "2.3.1",
"version": "3.0.0-beta.1",
"description": "A Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.",
"license": "MIT",
"main": "bin/jsencrypt.js",
Expand Down Expand Up @@ -33,21 +33,21 @@
"devDependencies": {
"expect.js": "^0.3.1",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.0",
"gulp-concat": "^2.6.1",
"gulp-copy": "^1.0.1",
"gulp-eslint": "^2.0.0",
"gulp-eslint": "^4.0.2",
"gulp-insert": "^0.5.0",
"gulp-rename": "^1.2.2",
"gulp-tslint": "^8.1.2",
"gulp-typescript": "^3.2.3",
"gulp-uglify": "^1.5.3",
"gulp-watch": "^4.3.5",
"gulp-wrap": "^0.11.0",
"mocha": "^4.0.1",
"rollup": "^0.52.1",
"gulp-typescript": "^4.0.1",
"gulp-uglify": "^3.0.0",
"gulp-watch": "^5.0.0",
"gulp-wrap": "^0.13.0",
"mocha": "^5.0.1",
"rollup": "^0.56.1",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^2.0.1",
"rollup-plugin-uglify": "^3.0.0",
"ts-loader": "^3.2.0",
"tslib": "^1.8.1",
"tslint": "^5.8.0",
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import JSEncrypt from "./JSEncrypt";

(window as any) = window || {};
(window as any).JSEncrypt = JSEncrypt;
export { JSEncrypt };
export default JSEncrypt;
Loading

0 comments on commit a1d617f

Please sign in to comment.