File tree 5 files changed +9
-5
lines changed
5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 15
15
16
16
"scripts" : {
17
17
"dev" : " tsup --watch" ,
18
- "build" : " tsup --dts-resolve"
18
+ "build" : " tsup --dts-resolve" ,
19
+ "test" : " vitest run --coverage"
19
20
},
20
21
"dependencies" : {
21
22
"@inquirer/prompts" : " ^3.3.0" ,
Original file line number Diff line number Diff line change 7
7
"main" : " dist/index.js" ,
8
8
"type" : " module" ,
9
9
"scripts" : {
10
- "build" : " tsup --dts-resolve"
10
+ "build" : " tsup --dts-resolve" ,
11
+ "test" : " echo \" Error: no test specified\" && exit 1"
11
12
},
12
13
"exports" : {
13
14
"." : {
Original file line number Diff line number Diff line change 4
4
set -ex
5
5
6
6
# Clone the repository
7
- git clone --depth 1 --branch v1.0.0-alpha.12 https://github.com/dojoengine/dojo.c dojo.c
7
+ git clone --depth 1 https://github.com/dojoengine/dojo.c dojo.c
8
8
cd dojo.c
9
9
10
10
# Build for web (browser)
Original file line number Diff line number Diff line change 8
8
"type" : " module" ,
9
9
"scripts" : {
10
10
"build-wasm" : " sh ./build.sh" ,
11
- "build" : " npm run build-wasm && tsc"
11
+ "build" : " npm run build-wasm && tsc" ,
12
+ "test" : " echo \" Error: no test specified\" && exit 1"
12
13
},
13
14
"module" : " ./pkg/web/dojo_c.js" ,
14
15
"types" : " ./pkg/web/dojo_c.d.ts" ,
Original file line number Diff line number Diff line change 8
8
"type" : " module" ,
9
9
"scripts" : {
10
10
"build-wasm" : " cd crate && ./build.sh" ,
11
- "build" : " npm run build-wasm && tsc"
11
+ "build" : " npm run build-wasm && tsc" ,
12
+ "test" : " echo \" Error: no test specified\" && exit 1"
12
13
},
13
14
"files" : [
14
15
" ./pkg/utils_wasm_bg.wasm" ,
You can’t perform that action at this time.
0 commit comments