@qamposer/react 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +315 -0
- package/dist/index-BbUFQqpD.d.cts +155 -0
- package/dist/index-BbUFQqpD.d.ts +155 -0
- package/dist/index.cjs +3028 -0
- package/dist/index.d.cts +185 -0
- package/dist/index.d.ts +185 -0
- package/dist/index.js +3012 -0
- package/dist/visualization.cjs +3525 -0
- package/dist/visualization.d.cts +46 -0
- package/dist/visualization.d.ts +46 -0
- package/dist/visualization.js +3517 -0
- package/package.json +114 -0
package/package.json
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@qamposer/react",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "React components for quantum circuit composition",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./visualization": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/visualization.d.ts",
|
|
23
|
+
"default": "./dist/visualization.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/visualization.d.cts",
|
|
27
|
+
"default": "./dist/visualization.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"./styles.css": "./dist/styles.css"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"sideEffects": [
|
|
36
|
+
"*.css",
|
|
37
|
+
"*.scss"
|
|
38
|
+
],
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsup",
|
|
41
|
+
"dev": "tsup --watch",
|
|
42
|
+
"typecheck": "tsc --noEmit",
|
|
43
|
+
"test": "vitest run",
|
|
44
|
+
"test:watch": "vitest",
|
|
45
|
+
"lint": "eslint src",
|
|
46
|
+
"format": "prettier --write src",
|
|
47
|
+
"format:check": "prettier --check src",
|
|
48
|
+
"size": "size-limit",
|
|
49
|
+
"prepublishOnly": "pnpm build",
|
|
50
|
+
"link:yalc": "pnpm build && yalc publish",
|
|
51
|
+
"push:yalc": "pnpm build && yalc push"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"plotly.js-basic-dist-min": "^2.35.0 || ^3.0.0",
|
|
55
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
56
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
57
|
+
"react-plotly.js": "^2.6.0"
|
|
58
|
+
},
|
|
59
|
+
"peerDependenciesMeta": {
|
|
60
|
+
"plotly.js-basic-dist-min": {
|
|
61
|
+
"optional": true
|
|
62
|
+
},
|
|
63
|
+
"react-plotly.js": {
|
|
64
|
+
"optional": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@eslint/js": "^9.39.2",
|
|
69
|
+
"@size-limit/file": "^12.0.0",
|
|
70
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
71
|
+
"@testing-library/react": "^16.3.2",
|
|
72
|
+
"@testing-library/user-event": "^14.6.1",
|
|
73
|
+
"@types/react": "^19.0.0",
|
|
74
|
+
"@types/react-dom": "^19.0.0",
|
|
75
|
+
"@types/react-plotly.js": "^2.6.3",
|
|
76
|
+
"esbuild-sass-plugin": "^3.3.1",
|
|
77
|
+
"eslint": "^9.39.2",
|
|
78
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
79
|
+
"happy-dom": "^20.4.0",
|
|
80
|
+
"react": "^19.0.0",
|
|
81
|
+
"react-dom": "^19.0.0",
|
|
82
|
+
"sass": "^1.97.1",
|
|
83
|
+
"size-limit": "^12.0.0",
|
|
84
|
+
"tsup": "^8.0.0",
|
|
85
|
+
"typescript": "^5.7.0",
|
|
86
|
+
"typescript-eslint": "^8.54.0",
|
|
87
|
+
"vitest": "^4.0.18"
|
|
88
|
+
},
|
|
89
|
+
"keywords": [
|
|
90
|
+
"quantum",
|
|
91
|
+
"circuit",
|
|
92
|
+
"qiskit",
|
|
93
|
+
"react",
|
|
94
|
+
"editor",
|
|
95
|
+
"qasm"
|
|
96
|
+
],
|
|
97
|
+
"size-limit": [
|
|
98
|
+
{
|
|
99
|
+
"name": "index (QamposerMicro)",
|
|
100
|
+
"path": "dist/index.js",
|
|
101
|
+
"limit": "120 kB"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "visualization (Qamposer)",
|
|
105
|
+
"path": "dist/visualization.js",
|
|
106
|
+
"limit": "130 kB"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"license": "Apache-2.0",
|
|
110
|
+
"repository": {
|
|
111
|
+
"type": "git",
|
|
112
|
+
"url": "https://github.com/QAMP-62/qamposer-react"
|
|
113
|
+
}
|
|
114
|
+
}
|