|
9 | 9 | }, |
10 | 10 | "exclude": [ |
11 | 11 | "coverage/", |
12 | | - "docs/" |
| 12 | + "docs/", |
| 13 | + "npm/" |
13 | 14 | ], |
14 | 15 | "exports": { |
15 | 16 | ".": "./mod.ts", |
|
20 | 21 | "./rest": "./rest/mod.ts", |
21 | 22 | "./text": "./text.ts", |
22 | 23 | "./title": "./title.ts", |
23 | | - "./websocket": "./websocket/mod.ts", |
24 | 24 | "./unstable-api": "./api.ts", |
25 | 25 | "./unstable-api/pages": "./api/pages.ts", |
26 | 26 | "./unstable-api/pages/project": "./api/pages/project.ts", |
|
30 | 30 | "./unstable-api/pages/project/search/query": "./api/pages/project/search/query.ts", |
31 | 31 | "./unstable-api/pages/project/search/titles": "./api/pages/project/search/titles.ts", |
32 | 32 | "./unstable-api/pages/project/title": "./api/pages/project/title.ts", |
| 33 | + "./unstable-api/pages/project/title/icon": "./api/pages/project/title/icon.ts", |
| 34 | + "./unstable-api/pages/project/title/text": "./api/pages/project/title/text.ts", |
33 | 35 | "./unstable-api/pages/projects": "./api/projects.ts", |
34 | 36 | "./unstable-api/pages/projects/project": "./api/projects/project.ts", |
35 | | - "./unstable-api/pages/project/title/text": "./api/pages/project/title/text.ts", |
36 | | - "./unstable-api/pages/project/title/icon": "./api/pages/project/title/icon.ts", |
37 | 37 | "./unstable-api/pages/smart-context": "./api/smart-context.ts", |
38 | 38 | "./unstable-api/pages/smart-context/export-1hop-links": "./api/smart-context/export-1hop-links/project.ts", |
39 | 39 | "./unstable-api/pages/smart-context/export-2hop-links": "./api/smart-context/export-2hop-links/project.ts", |
40 | 40 | "./unstable-api/users": "./api/users.ts", |
41 | | - "./unstable-api/users/me": "./api/users/me.ts" |
| 41 | + "./unstable-api/users/me": "./api/users/me.ts", |
| 42 | + "./websocket": "./websocket/mod.ts" |
42 | 43 | }, |
43 | 44 | "imports": { |
44 | 45 | "@core/iterutil": "jsr:@core/iterutil@^0.9.0", |
45 | 46 | "@core/unknownutil": "jsr:@core/unknownutil@^4.0.0", |
46 | 47 | "@cosense/std/browser/websocket": "./websocket/mod.ts", |
47 | 48 | "@cosense/std/rest": "./rest/mod.ts", |
48 | 49 | "@cosense/std/websocket": "./websocket/mod.ts", |
49 | | - "@cosense/types": "jsr:@cosense/types@^0.10.7", |
50 | | - "@cosense/types/rest": "jsr:@cosense/types@0.10/rest", |
51 | | - "@cosense/types/userscript": "jsr:@cosense/types@0.10/userscript", |
52 | | - "@progfay/scrapbox-parser": "jsr:@progfay/scrapbox-parser@9", |
| 50 | + "@cosense/types": "jsr:@cosense/types@^0.11.0", |
| 51 | + "@deno/dnt": "jsr:@deno/dnt@^0.42.3", |
| 52 | + "@progfay/scrapbox-parser": "jsr:@progfay/scrapbox-parser@^10.0.1", |
53 | 53 | "@std/assert": "jsr:@std/assert@1", |
54 | | - "@std/async": "jsr:@std/async@^1.0.11", |
| 54 | + "@std/async": "jsr:@std/async@^1.0.14", |
55 | 55 | "@std/encoding": "jsr:@std/encoding@1", |
56 | 56 | "@std/http": "jsr:@std/http@^1.0.13", |
57 | 57 | "@std/json": "jsr:@std/json@^1.0.0", |
58 | 58 | "@std/testing": "jsr:@std/testing@^1.0.9", |
59 | | - "@std/testing/snapshot": "jsr:@std/testing@1/snapshot", |
60 | 59 | "@takker/md5": "jsr:@takker/md5@0.1", |
61 | 60 | "@takker/onp": "./vendor/raw.githubusercontent.com/takker99/onp/0.0.1/mod.ts", |
62 | | - "option-t": "npm:option-t@^51.0.0", |
| 61 | + "option-t": "npm:option-t@53", |
63 | 62 | "socket.io-client": "npm:socket.io-client@^4.7.5" |
64 | 63 | }, |
65 | 64 | "lint": { |
|
76 | 75 | "test" |
77 | 76 | ] |
78 | 77 | }, |
79 | | - "coverage": "deno test --allow-read=./ --parallel --shuffle --coverage --no-check && deno coverage --html", |
| 78 | + "coverage": "deno test --allow-read=./ --doc --parallel --shuffle --coverage --no-check && deno coverage --html", |
80 | 79 | "doc": "deno doc --html mod.ts", |
81 | 80 | "fix": { |
82 | 81 | "command": "deno fmt && deno lint --fix && deno publish --dry-run --allow-dirty", |
|
85 | 84 | "test" |
86 | 85 | ] |
87 | 86 | }, |
| 87 | + "npm:build": "deno run -A scripts/build_npm.ts", |
| 88 | + "npm:check": { |
| 89 | + "command": "cd npm && npm publish --provenance --access=public --dry-run", |
| 90 | + "dependencies": [ |
| 91 | + "npm:build" |
| 92 | + ] |
| 93 | + }, |
88 | 94 | "test": "deno test --allow-read=./ --doc --parallel --shuffle --no-check", |
89 | 95 | "type-check": "deno check --remote **/*.ts", |
90 | 96 | // from https://github.com/jsr-core/unknownutil/blob/v4.2.2/deno.jsonc#L84-L85 |
|
0 commit comments