-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 3.49 KB
/
package.json
File metadata and controls
115 lines (115 loc) · 3.49 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.14",
"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",
"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.0.0",
"@playwright/test": "^1.53.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.4.3",
"@types/lodash.throttle": "^4.1.6",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "latest",
"@vitest/coverage-v8": "latest",
"@vitest/ui": "latest",
"canvas": "^3.0.0",
"dts-bundle-generator": "^9.0.0",
"feather-icons": "^4.29.2",
"gh-pages": "^6.0.0",
"husky": "^9.1.7",
"jsdom": "latest",
"leaflet": "^1.8.0",
"lint-staged": "^16.2.7",
"oxlint": "^1.39.0",
"prettier": "^3.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-feather": "^2.0.10",
"tslib": "^2.5.0",
"typescript": "^5.3.2",
"vite": "latest",
"vitest": "latest"
},
"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"
}