forked from frorong/open-plant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.45 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.45 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
{
"name": "open-plant",
"description": "WebGL2-based high-performance WSI viewer rendering engine for React",
"version": "1.4.21",
"license": "MIT",
"author": "Open Plant",
"repository": {
"type": "git",
"url": "git+https://github.com/frorong/open-plant.git"
},
"homepage": "https://frorong.github.io/open-plant/",
"bugs": {
"url": "https://github.com/frorong/open-plant/issues"
},
"keywords": [
"wsi",
"pathology",
"webgl",
"viewer",
"react",
"tile-renderer"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"dev": "vite",
"dev:example": "vite --config example/vite.config.ts",
"build:example": "vite build --config example/vite.config.ts",
"build:docs:examples": "vite build --config vite.config.docs-examples.ts",
"preview:example": "vite preview --config example/vite.config.ts",
"clean": "rm -rf dist",
"build:lib": "npm run clean && tsc -p tsconfig.build.json && vite build --config vite.config.lib.ts",
"build": "npm run build:lib",
"preview": "vite preview",
"typecheck": "tsc -p tsconfig.app.json --noEmit",
"typecheck:docs:examples": "tsc -p tsconfig.docs-examples.json --noEmit",
"test:unit": "npm run build:lib && node --test tests/unit/*.test.mjs",
"test:perf": "npm run build:lib && node tests/perf/ws9-perf.mjs",
"test:e2e": "npm run build:example && node tests/e2e/ws9-e2e-smoke.mjs",
"test:ws9": "npm run test:unit && npm run test:perf && npm run test:e2e",
"release:gate": "npm run typecheck && WS9_ENFORCE_BUDGET=1 npm run test:ws9 && npm run build:lib",
"pack:dry-run": "npm_config_cache=.npm-cache npm pack --dry-run",
"prepublishOnly": "npm run release:gate && npm run pack:dry-run"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.2",
"playwright": "^1.58.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.6.3",
"vite": "^5.4.8"
},
"dependencies": {
"polygon-clipping": "^0.15.7"
}
}