@masabando/quantum-gates 0.1.4 → 0.1.8
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/dist/index.cjs +184 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +36 -5
- package/dist/index.d.ts +36 -5
- package/dist/index.mjs +184 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +17 -7
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masabando/quantum-gates",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.8",
|
|
5
5
|
"author": "masabando",
|
|
6
6
|
"description": "A JavaScript library for simulating 1-qubit quantum gates and Composite Gates.",
|
|
7
7
|
"main": "./dist/index.cjs",
|
|
8
|
-
"module": "./dist/index.
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"quantum",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/index.
|
|
31
|
+
"import": "./dist/index.mjs",
|
|
32
32
|
"require": "./dist/index.cjs"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"sideEffects": false,
|
|
39
|
+
"browserlist": "> 1%",
|
|
39
40
|
"scripts": {
|
|
40
41
|
"dev": "next dev",
|
|
41
42
|
"build": "npm run build:lib && npm run build:docs",
|
|
@@ -50,6 +51,8 @@
|
|
|
50
51
|
"clean:lib": "rm -rf ./dist",
|
|
51
52
|
"test": "vitest",
|
|
52
53
|
"test:run": "vitest run --coverage",
|
|
54
|
+
"fin:patch": "npm run prepare && npm version patch",
|
|
55
|
+
"fin:minor": "npm run prepare && npm version minor",
|
|
53
56
|
"prepare": "npm run test:run && npm run build:lib"
|
|
54
57
|
},
|
|
55
58
|
"devDependencies": {
|
|
@@ -63,16 +66,23 @@
|
|
|
63
66
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
64
67
|
"@vitest/coverage-v8": "^4.0.16",
|
|
65
68
|
"daisyui": "^5.5.14",
|
|
66
|
-
"eslint": "^9",
|
|
69
|
+
"eslint": "^9.39.5",
|
|
67
70
|
"eslint-config-next": "16.1.0",
|
|
68
|
-
"next": "^16.
|
|
69
|
-
"react": "^19.2.
|
|
70
|
-
"react-dom": "^19.2.
|
|
71
|
+
"next": "^16.3.4",
|
|
72
|
+
"react": "^19.2.8",
|
|
73
|
+
"react-dom": "^19.2.8",
|
|
74
|
+
"react-icons": "^5.7.0",
|
|
71
75
|
"react-syntax-highlighter": "^16.1.0",
|
|
72
76
|
"tailwindcss": "^4",
|
|
73
77
|
"tsup": "^8.5.1",
|
|
74
78
|
"tsx": "^4.21.0",
|
|
75
79
|
"typescript": "^5",
|
|
76
80
|
"vitest": "^4.0.16"
|
|
81
|
+
},
|
|
82
|
+
"allowScripts": {
|
|
83
|
+
"esbuild@0.27.2": true,
|
|
84
|
+
"fsevents@2.3.3": true,
|
|
85
|
+
"sharp@0.34.5": true,
|
|
86
|
+
"unrs-resolver@1.11.1": true
|
|
77
87
|
}
|
|
78
88
|
}
|