-
- Downloads
faster, nicer, with web-worker !
Showing
- .gitlab-ci.yml 2 additions, 2 deletions.gitlab-ci.yml
- package.json 2 additions, 0 deletionspackage.json
- public/index.html 17 additions, 0 deletionspublic/index.html
- public/main.js 34 additions, 23 deletionspublic/main.js
- public/style.css 8 additions, 0 deletionspublic/style.css
- public/worker.js 11 additions, 0 deletionspublic/worker.js
... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
"main": "public/index.html", | "main": "public/index.html", | ||
"scripts": { | "scripts": { | ||
"postinstall": "node build.js", | "postinstall": "node build.js", | ||
"build":"rollup public/worker.js --format iife --file public/generated.worker.js", | |||
"test": "echo open public/test.html in your browser" | "test": "echo open public/test.html in your browser" | ||
}, | }, | ||
"repository": { | "repository": { | ||
... | @@ -18,6 +19,7 @@ | ... | @@ -18,6 +19,7 @@ |
"tweetnacl": "^1.0.0" | "tweetnacl": "^1.0.0" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"rollup": "^0.58.1", | |||
"jasmine-core": "^3.1.0" | "jasmine-core": "^3.1.0" | ||
} | } | ||
} | } |
public/worker.js
0 → 100644
Please register or sign in to comment