hakuban 0.8.0 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hakuban-with-wasm.js +82 -73
- package/hakuban-with-wasm.js.map +1 -1
- package/hakuban-with-wasm.min.js +1 -1
- package/hakuban-with-wasm.min.js.map +1 -1
- package/hakuban.js +82 -73
- package/hakuban.js.map +1 -1
- package/hakuban.min.js +1 -1
- package/hakuban.min.js.map +1 -1
- package/hakuban_bg.wasm +0 -0
- package/package.json +8 -6
- package/hakuban.wasm +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hakuban",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "Wasm build of Hakuban library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data",
|
|
@@ -16,20 +16,22 @@
|
|
|
16
16
|
"exports": {
|
|
17
17
|
".": "./hakuban-with-wasm.js",
|
|
18
18
|
"./hakuban-with-wasm.js": "./hakuban-with-wasm.js",
|
|
19
|
+
"./hakuban-with-wasm.min.js": "./hakuban-with-wasm.min.js",
|
|
19
20
|
"./hakuban.js": "./hakuban.js",
|
|
20
|
-
"./hakuban.
|
|
21
|
+
"./hakuban.min.js": "./hakuban.min.js",
|
|
22
|
+
"./hakuban_bg.wasm": "./hakuban_bg.wasm"
|
|
21
23
|
},
|
|
22
24
|
"repository": {
|
|
23
25
|
"type": "git",
|
|
24
26
|
"url": "https://gitlab.com/yunta/hakuban/"
|
|
25
27
|
},
|
|
26
28
|
"scripts": {
|
|
27
|
-
"clean": "rm -rf hakuban*.js hakuban*.map hakuban*.wasm* hakuban-*.tgz all-top.js all-top.html basic.js basic.html",
|
|
28
|
-
"build": "RUSTFLAGS=\"--remap-path-prefix $HOME=/\" wasm-pack build --target web --release -- --no-default-features --features wasm && rm -rf hakuban*.js hakuban*.map hakuban*.wasm* hakuban-*.tgz all-top.js all-top.html && cp pkg/hakuban_bg.wasm
|
|
29
|
-
"build-debug": "wasm-pack build --target web --debug -- --no-default-features --features wasm && rm -rf hakuban*.js hakuban*.map hakuban*.wasm* hakuban-*.tgz all-top.js all-top.html && cp pkg/hakuban_bg.wasm
|
|
29
|
+
"clean": "rm -rf pkg/ hakuban*.js hakuban*.map hakuban*.wasm* hakuban-*.tgz all-top.js all-top.html basic.js basic.html",
|
|
30
|
+
"build": "rm -rf pkg/ && RUSTFLAGS=\"--remap-path-prefix $HOME=/\" wasm-pack build --target web --release -- --no-default-features --features wasm && rm -rf hakuban*.js hakuban*.map hakuban*.wasm* hakuban-*.tgz all-top.js all-top.html && cp pkg/hakuban_bg.wasm . && gzip --keep --best pkg/hakuban_bg.wasm && node_modules/.bin/rollup -c rollup.config.js",
|
|
31
|
+
"build-debug": "rm -rf pkg/ && wasm-pack build --target web --debug -- --no-default-features --features wasm && rm -rf hakuban*.js hakuban*.map hakuban*.wasm* hakuban-*.tgz all-top.js all-top.html && cp pkg/hakuban_bg.wasm . && gzip --keep --best pkg/hakuban_bg.wasm && node_modules/.bin/rollup -c rollup.config.js "
|
|
30
32
|
},
|
|
31
33
|
"files": [
|
|
32
|
-
"
|
|
34
|
+
"hakuban_bg.wasm",
|
|
33
35
|
"hakuban.js",
|
|
34
36
|
"hakuban.js.map",
|
|
35
37
|
"hakuban.min.js",
|
package/hakuban.wasm
DELETED
|
Binary file
|