File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
ds.mjs
2
2
ds.wasm
3
+ ds.d.ts
Original file line number Diff line number Diff line change 1
1
{
2
2
"scripts" : {
3
- "emcc" : " emcc jsds/ds.cc src/*.cc -Iinclude -lembind -o jsds/ds.mjs -O3 -ffast-math -flto -s ALLOW_MEMORY_GROWTH=1 -s MODULARIZE=1 -s EXPORT_ES6 =1 -s SINGLE_FILE=1" ,
3
+ "emcc" : " emcc jsds/ds.cc src/*.cc -Iinclude -lembind -o jsds/ds.mjs --emit-tsd ds.d.ts - O3 -ffast-math -flto -s ALLOW_MEMORY_GROWTH=1 -s SINGLE_FILE=1" ,
4
4
"build" : " npx rollup --config" ,
5
- "test" : " cross-env NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' jest --testMatch '**/test_*.mjs' --transform '{}' -- coverage" ,
5
+ "test" : " cross-env NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' jest --testMatch '**/test_*.mjs' --coverage" ,
6
6
"all" : " run-s emcc build test"
7
7
},
8
8
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments