Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.47 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 3.47 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@linkurious/ogma-react",
"version": "5.1.16",
"description": "A light adaptation of Ogma for React application",
"keywords": [
"ogma",
"react",
"graph-visualisation",
"webgl",
"graph"
],
"type": "module",
"jsdelivr": "dist/index.mjs",
"browser": "dist/index.umd.js",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"typings": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.mjs"
}
},
"files": [
"dist/*.d.ts",
"dist/*.js",
"dist/*.js.map",
"dist/*.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"pree2e:tests": "npx playwright install chromium",
"tsc": "tsc",
"start": "vite dev demo",
"build": "npm ls @linkurious/ogma && npm run build:lib && npm run build:ts",
"build:ts": "npm run typecheck && npm run types",
"build:demo": "vite build demo",
"build:lib": "vite build && npm run build:files",
"build:files": "scripts/prepublish.mjs && cp README.md dist",
"format": "prettier -w src/**/*.{ts,tsx} demo/**/*.{ts,tsx} test/**/*.{ts,tsx}",
"lint": "oxlint -A no-unsafe-optional-chaining src demo test",
"lint:fix": "oxlint -A no-unsafe-optional-chaining --fix src demo test",
"test": "vitest",
"test:unit": "vitest run --coverage --reporter=junit --reporter=default --outputFile reports/unit/junit-test-results.xml",
"e2e:tests": "playwright test",
"typecheck": "tsc --noEmit --skipLibCheck --project tsconfig.build.json",
"types": "dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --no-check",
"postversion": "sync_versions",
"doc:publish": "npm run build:demo && gh-pages -t --nojekyll -d demo/dist",
"bump:patch": "npm version patch --no-git-tag-version",
"upload": "npm run doc:publish",
"prepare": "husky"
},
"prettier": {
"trailingComma": "none"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"oxlint -A no-unsafe-optional-chaining --fix"
]
},
"peerDependencies": {
"@linkurious/ogma": ">=5.3.9 || ^6.0.0",
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"devDependencies": {
"@linkurious/code-tools": "0.0.15",
"@linkurious/ogma-styles": "0.0.8",
"@next/bundle-analyzer": "14.2.35",
"@playwright/test": "1.58.1",
"@testing-library/jest-dom": "5.17.0",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@types/lodash.throttle": "4.1.9",
"@types/node": "24.19.0",
"@types/react": "19.2.13",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "5.1.3",
"@vitest/coverage-v8": "4.0.18",
"@vitest/ui": "4.0.18",
"canvas": "3.2.1",
"dts-bundle-generator": "9.5.1",
"feather-icons": "4.29.2",
"gh-pages": "6.3.0",
"husky": "9.1.7",
"jsdom": "28.0.0",
"leaflet": "1.9.4",
"lint-staged": "16.2.7",
"oxlint": "1.43.0",
"prettier": "3.8.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-feather": "2.0.10",
"tslib": "2.8.1",
"typescript": "5.9.3",
"vite": "7.3.1",
"vitest": "4.0.18"
},
"repository": {
"type": "git",
"url": "git+https://github.com/linkurious/ogma-react.git"
},
"author": "Linkurious SAS",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/linkurious/ogma-react/issues"
},
"homepage": "https://github.com/linkurious/ogma-react#readme"
}