From 1842a9a84ebe8dc66f7016f7176365a82fe988fc Mon Sep 17 00:00:00 2001 From: Ivan Herman Date: Tue, 19 Mar 2024 16:58:04 +0100 Subject: [PATCH] package.json fix --- package.json | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 0073564..084fff5 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "homepage": "https://github.com/w3c/yml2vocab", "repository": { "type": "git", - "url": "https://github.com/w3c/yml2vocab" + "url": "git+https://github.com/w3c/yml2vocab.git" }, "bugs": { "url": "https://github.com/w3c/yml2vocab/issues" @@ -18,23 +18,25 @@ ], "main": "dist/index.js", "types": "dist/index.d.ts", - "bin": "dist/main.js", + "bin": { + "yml2vocab": "dist/main.js" + }, "engines": { "node": ">=21.0.0" }, "scripts": { - "generate": "node_modules/.bin/ts-node main.ts", - "docs": "./node_modules/.bin/typedoc main.js index.ts lib/*", + "generate": "ts-node main.ts", + "docs": "typedoc main.js index.ts lib/*", "dist": "tsc; cp lib/vocab.schema.json dist/lib/vocab.schema.json", - "test_di": "node_modules/.bin/ts-node main.ts -v example/security.yml -t example/security_template.html -c", - "test_vcdm": "node_modules/.bin/ts-node main.ts -v example/credentials.yml -t example/template.html -c", - "test": "node_modules/.bin/ts-node main.ts -v example/test.yml -t example/test_template.html -c", - "local_test": "node_modules/.bin/ts-node main.ts -v local/tests/test.yml -t local/tests/test_template.html -c", - "local_vcdm": "node_modules/.bin/ts-node main.ts -v local/vcdm/vocabulary.yml -t local/vcdm/template.html -c", - "local_di": "node_modules/.bin/ts-node main.ts -v local/di/vocabulary.yml -t local/di/template.html -c", - "local_sl": "node_modules/.bin/ts-node main.ts -v local/sl/vocabulary.yml -t local/sl/template.html -c", - "preview_vcdm": "node_modules/.bin/ts-node main.ts -v previews/vcdm/vocabulary.yml -t previews/vcdm/template.html", - "preview_di": "node_modules/.bin/ts-node main.ts -v previews/di/vocabulary.yml -t previews/di/template.html" + "test_di": "ts-node main.ts -v example/security.yml -t example/security_template.html -c", + "test_vcdm": "ts-node main.ts -v example/credentials.yml -t example/template.html -c", + "test": "ts-node main.ts -v example/test.yml -t example/test_template.html -c", + "local_test": "ts-node main.ts -v local/tests/test.yml -t local/tests/test_template.html -c", + "local_vcdm": "ts-node main.ts -v local/vcdm/vocabulary.yml -t local/vcdm/template.html -c", + "local_di": "ts-node main.ts -v local/di/vocabulary.yml -t local/di/template.html -c", + "local_sl": "ts-node main.ts -v local/sl/vocabulary.yml -t local/sl/template.html -c", + "preview_vcdm": "ts-node main.ts -v previews/vcdm/vocabulary.yml -t previews/vcdm/template.html", + "preview_di": "ts-node main.ts -v previews/di/vocabulary.yml -t previews/di/template.html" }, "author": "Ivan Herman (https://www.w3.org/People/Ivan/)", "license": "W3C-20150513",