|
1 | 1 | { |
| 2 | + "license": "Apache 2.0", |
2 | 3 | "nodeModulesDir": "auto", |
| 4 | + "exclude": ["**/docs"], |
3 | 5 | "workspace": [ |
4 | 6 | "./packages/core", |
5 | 7 | "./packages/crypto-target-node", |
6 | 8 | "./packages/crypto-target-web", |
7 | 9 | "./packages/client", |
| 10 | + "./packages/client-web-socket-node", |
8 | 11 |
|
9 | 12 | "./tests/support/test-configuration", |
10 | 13 | "./tests/support/test-peer", |
|
24 | 27 | }, |
25 | 28 | "prep:crypto-wasm": "deno run --allow-read --allow-env --allow-run --allow-write ./etc/task-prep-crypto-wasm.ts", |
26 | 29 | "prep:crypto-wasm:copy": "deno task prep:crypto-wasm --onlyCopy", |
27 | | - "prep:codegen": "deno run --allow-write --allow-read ./etc/task-codegen.ts", |
| 30 | + "prep:codegen": { |
| 31 | + "command": "deno run --allow-write --allow-read ./etc/task-codegen.ts", |
| 32 | + "dependencies": ["prep:iroha:check"] |
| 33 | + }, |
28 | 34 | "prep:codegen:watch": "watchexec -e ts deno task prep:codegen", |
29 | 35 | "prep:ensure-ready": { |
30 | 36 | "dependencies": ["prep:codegen", "prep:crypto-wasm:copy", "prep:iroha:check"] |
31 | 37 | }, |
32 | 38 | "check:all": { |
33 | | - "command": "deno check .", |
| 39 | + "command": "deno check --doc .", |
34 | 40 | "dependencies": ["prep:ensure-ready"] |
35 | 41 | }, |
| 42 | + "test:deno": "deno test --doc --allow-read", |
36 | 43 | "test:vitest": { |
37 | 44 | "dependencies": ["prep:ensure-ready"], |
38 | 45 | "description": "Run Vitest", |
|
48 | 55 | }, |
49 | 56 | "test": { |
50 | 57 | "description": "Run all tests, from unit to integration", |
51 | | - "command": "deno task test:vitest && deno task test:integration:node && deno task test:integration:browser" |
| 58 | + "command": "deno task test:deno && deno task test:vitest && deno task test:integration:node && deno task test:integration:browser" |
52 | 59 | }, |
53 | 60 | "dev:run-test-peer": { |
54 | 61 | "dependencies": ["prep:ensure-ready"], |
|
98 | 105 | "publish": { |
99 | 106 | "exclude": [ |
100 | 107 | "!**/*_generated_.ts", |
101 | | - "!packages/crypto-target-*/wasm-target" |
| 108 | + "!packages/crypto-target-*/wasm-target", |
| 109 | + "!packages/core/crypto/wasm-target", |
| 110 | + "!packages/core/data-model/schema/schema.json" |
102 | 111 | ] |
103 | | - } |
| 112 | + }, |
| 113 | + "test": { "exclude": ["prep", "crypto-wasm"] } |
104 | 114 | } |
0 commit comments