Skip to content

Commit

Permalink
wasm-bindgen package.json에 keywords 생성하지 않는 문제 임시조치
Browse files Browse the repository at this point in the history
  • Loading branch information
freestrings committed Apr 13, 2019
1 parent d0e572f commit 8a580e3
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 195 deletions.
15 changes: 0 additions & 15 deletions benches/bench_bin/.idea/bench_bin.iml

This file was deleted.

4 changes: 0 additions & 4 deletions benches/bench_bin/.idea/encodings.xml

This file was deleted.

9 changes: 0 additions & 9 deletions benches/bench_bin/.idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions benches/bench_bin/.idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions benches/bench_bin/.idea/vcs.xml

This file was deleted.

152 changes: 0 additions & 152 deletions benches/bench_bin/.idea/workspace.xml

This file was deleted.

1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ cp -r "${WASM_BROWSER_PKG}" "${WASM_ALL_PKG}/" && \
> "${WASM_ALL_PKG}/jsonpath_wasm_nodejs.js" && \
jq ".files += [\"jsonpath_wasm_nodejs.js\"]" ${WASM_ALL_PKG}/package.json \
| jq ".main = \"jsonpath_wasm_main.js\"" \
| jq ".keywords += [\"jsonpath\", \"json\", \"webassembly\", \"parsing\", \"rust\"]" \
> ${WASM_ALL_PKG}/temp.json && \
mv -v "${WASM_ALL_PKG}/temp.json" "${WASM_ALL_PKG}/package.json" && \
cd "${WASM_ALL_PKG}" && npm link
Expand Down
4 changes: 3 additions & 1 deletion wasm/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ target
**/*.rs.bk
Cargo.lock
bin/
pkg/
browser_pkg
nodejs_pkg
all_pkg
wasm-pack.log
.idea/*
.vscode

0 comments on commit 8a580e3

Please sign in to comment.