spectraview 0.1.0 → 1.0.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/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "spectraview",
3
- "version": "0.1.0",
3
+ "version": "1.0.0",
4
4
  "description": "Interactive React component for vibrational spectroscopy (IR, Raman, NIR)",
5
5
  "author": "Tubhyam Karthikeyan <takarthikeyan25@gmail.com>",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "https://github.com/ktubhyam/spectraview"
9
+ "url": "git+https://github.com/ktubhyam/spectraview.git"
10
10
  },
11
- "homepage": "https://spectraview.dev",
11
+ "homepage": "https://github.com/ktubhyam/spectraview",
12
12
  "bugs": {
13
13
  "url": "https://github.com/ktubhyam/spectraview/issues"
14
14
  },
@@ -31,9 +31,14 @@
31
31
  "types": "./dist/index.d.ts",
32
32
  "exports": {
33
33
  ".": {
34
- "types": "./dist/index.d.ts",
35
- "import": "./dist/index.js",
36
- "require": "./dist/index.cjs"
34
+ "import": {
35
+ "types": "./dist/index.d.ts",
36
+ "default": "./dist/index.js"
37
+ },
38
+ "require": {
39
+ "types": "./dist/index.d.cts",
40
+ "default": "./dist/index.cjs"
41
+ }
37
42
  }
38
43
  },
39
44
  "files": [
@@ -78,7 +83,11 @@
78
83
  "react-dom": "^19.0.0",
79
84
  "tsup": "^8.3.0",
80
85
  "typescript": "^5.7.0",
81
- "vitest": "^2.1.0"
86
+ "vitest": "^2.1.0",
87
+ "storybook": "^10.2.12",
88
+ "@storybook/react-vite": "^10.2.12",
89
+ "@storybook/addon-a11y": "^10.2.12",
90
+ "@storybook/addon-docs": "^10.2.12"
82
91
  },
83
92
  "scripts": {
84
93
  "build": "tsup",
@@ -91,7 +100,9 @@
91
100
  "prepublishOnly": "npm run test:run && npm run build",
92
101
  "changeset": "changeset",
93
102
  "version": "changeset version",
94
- "ci:publish": "npm run build && changeset publish"
103
+ "ci:publish": "npm run build && changeset publish",
104
+ "storybook": "storybook dev -p 6006",
105
+ "build-storybook": "storybook build"
95
106
  },
96
107
  "publishConfig": {
97
108
  "access": "public"