Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.26 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "@theodi/data-standard-validator-component",
"version": "1.0.0",
"description": "A web component that validates JSON and JSON-LD records against SHACL shapes in the browser, built on @theodi/data-standard-validator.",
"license": "Apache-2.0",
"author": "The Open Data Institute",
"homepage": "https://theodi.github.io/data-standard-validator-component/",
"repository": {
"type": "git",
"url": "git+https://github.com/theodi/data-standard-validator-component.git"
},
"bugs": "https://github.com/theodi/data-standard-validator-component/issues",
"keywords": [
"shacl",
"json-ld",
"validation",
"web-component",
"lit",
"data-standards"
],
"type": "module",
"engines": {
"node": ">=22"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./config": {
"types": "./dist/config.d.ts",
"default": "./dist/config.js"
},
"./engine": {
"types": "./dist/engine.d.ts",
"default": "./dist/engine.js"
},
"./package.json": "./package.json"
},
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
"standalone"
],
"sideEffects": [
"./dist/index.js",
"./dist/worker.js",
"./dist/worker-globals.js",
"./src/index.ts",
"./src/worker.ts",
"./src/worker-globals.ts"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"build:standalone": "rm -rf standalone && esbuild data-standard-validator=dist/index.js worker=dist/worker.js --bundle --format=esm --platform=browser --target=es2022 --minify --sourcemap --outdir=standalone",
"prepare": "npm run build",
"prepublishOnly": "npm run build && npm run build:standalone",
"dev": "vite",
"typecheck": "tsc --noEmit",
"test": "vitest run --exclude '**/*.web.test.ts' --exclude '**/node_modules/**'",
"test:web": "vitest run test/element.web.test.ts"
},
"dependencies": {
"@theodi/data-standard-validator": "^1.0.0",
"lit": "^3.3.0"
},
"devDependencies": {
"@types/node": "^22.10.0",
"esbuild": "^0.25.12",
"playwright": "^1.55.0",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vitest": "^2.1.8"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}