|
1 | 1 | { |
2 | 2 | "name": "@iherman/yml2vocab", |
3 | 3 | "description": "Generation of vocabulary files starting by YAML", |
4 | | - "version": "1.7.0", |
| 4 | + "version": "1.7.1", |
5 | 5 | "homepage": "https://github.com/w3c/yml2vocab", |
| 6 | + // We do not want to use the npm installation from deno |
| 7 | + // npm packages used by the code is maintained separately |
| 8 | + // by deno. |
6 | 9 | "nodeModulesDir": "none", |
7 | 10 | "compilerOptions": { |
8 | 11 | "lib": ["dom", "deno.ns"] |
|
12 | 15 | "url": "https://github.com/w3c/yml2vocab" |
13 | 16 | }, |
14 | 17 | "tasks": { |
15 | | - "local_vcdm_nolink": "(cd local/tests/vcdm; deno run --allow-read --allow-write --allow-env ../../../main.ts -c)", |
16 | | - "local_test": "(cd local/tests; deno run --allow-read --allow-write --allow-env ../../main.ts -v test.yml -t test_template.html -c)", |
17 | | - "local_ident": "(cd local/tests/identification; deno run --allow-read --allow-write --allow-env ../../../main.ts -c)", |
18 | | - "local_did": "(cd local/tests/did; deno run --allow-read --allow-write --allow-env ../../../main.ts -c)", |
19 | | - "compile": "deno compile --allow-read --allow-write --allow-env main.ts" |
| 18 | + "local_vcdm_nolink": "(cd local/tests/vcdm; deno run --allow-all ../../../main.ts -c)", |
| 19 | + "local_test": "(cd local/tests; deno run --allow-all ../../main.ts -v test.yml -t test_template.html -c)", |
| 20 | + "local_ident": "(cd local/tests/identification; deno run --allow-all ../../../main.ts -c)", |
| 21 | + "local_did": "(cd local/tests/did; deno run --allow-all ../../../main.ts -c)", |
| 22 | + "compile": "deno compile --allow-all main.ts" |
20 | 23 | }, |
21 | 24 | "exports": { |
22 | 25 | ".": "./index.ts", |
23 | 26 | "./cli": "./main.ts" |
24 | 27 | }, |
25 | 28 | "author": "Ivan Herman <[email protected]> (https://www.w3.org/People/Ivan/)", |
26 | 29 | "license": "W3C-20150513", |
27 | | - "exclude": ["dist/"], |
| 30 | + // It is important to exclude the node.js specific things. Otherwise we get problems with, e.g. |
| 31 | + // deno compilation... |
| 32 | + "exclude": ["dist/", "node_modules/", "package.json"], |
28 | 33 | "imports": { |
29 | 34 | "./lib/common" : "./lib/common.ts", |
30 | 35 | "./lib/context" : "./lib/context.ts", |
|
35 | 40 | "./lib/turtle" : "./lib/turtle.ts", |
36 | 41 | "./lib/factory" : "./lib/factory.ts", |
37 | 42 | "./lib/minidom" : "./lib/minidom.ts", |
| 43 | + "./lib/beautify" : "./lib/beautify.ts", |
| 44 | + "./beautify" : "./beautify.ts", |
38 | 45 | "./index" : "./index.ts", |
39 | 46 | "yaml" : "npm:yaml@^2.7.0", |
40 | 47 | "commander" : "npm:commander@^13.1.0", |
41 | 48 | "@exodus/schemasafe" : "npm:@exodus/schemasafe@^1.3.0", |
42 | 49 | "jsdom" : "npm:jsdom@^26.0.0", |
43 | | - "js-beautify" : "npm:js-beautify@^1.15.4" |
| 50 | + "js-beautify" : "npm:js-beautify@^1.15.4", |
| 51 | + "editorconfig" : "npm:editorconfig@^3.0.1" |
44 | 52 | } |
45 | 53 | } |
0 commit comments