-
-
Notifications
You must be signed in to change notification settings - Fork 137
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.38 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.38 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
{
"name": "react-plotly.js",
"version": "4.0.0",
"license": "MIT",
"description": "A plotly.js react component from Plotly",
"author": "Plotly, Inc.",
"type": "commonjs",
"sideEffects": false,
"engines": {
"node": ">=18"
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"unpkg": "./dist/create-plotly-component.min.js",
"jsdelivr": "./dist/create-plotly-component.min.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"./factory": {
"import": {
"types": "./dist/factory.d.mts",
"default": "./dist/factory.mjs"
},
"require": {
"types": "./dist/factory.d.ts",
"default": "./dist/factory.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/plotly/react-plotly.js.git"
},
"bugs": {
"url": "https://github.com/plotly/react-plotly.js/issues"
},
"scripts": {
"build": "tsup",
"clean": "rimraf dist",
"prepublishOnly": "npm run build",
"lint": "prettier --write \"src/**/*.js\" && eslint src",
"typecheck": "tsc",
"test": "npm run lint && npm run typecheck && jest",
"watch-test": "jest --watch",
"watch": "tsup --watch"
},
"keywords": [
"graphing",
"plotting",
"data",
"visualization",
"plotly",
"react"
],
"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/eslint-parser": "^7.29.0",
"@babel/preset-env": "^7.19.0",
"@babel/preset-react": "^7.18.6",
"@eslint/js": "^9.39.0",
"@testing-library/react": "^16.0.0",
"@types/react": "^19.2.17",
"eslint": "^9.39.0",
"eslint-config-prettier": "^10.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.0",
"event-emitter": "^0.3.5",
"globals": "^17.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"onetime": "^5.1.2",
"plotly.js": "^3.0.0",
"prettier": "^3.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^3.0.2",
"tsup": "^8.5.0",
"typescript": "^5.9.3"
},
"peerDependencies": {
"plotly.js": ">=3.0.0",
"react": "^18.0.0 || ^19.0.0"
}
}