|
1 | 1 | { |
2 | 2 | "name": "react-d3-utils", |
3 | 3 | "version": "3.1.1", |
| 4 | + "license": "MIT", |
4 | 5 | "description": "Low-level utilities to build charts with React and D3", |
| 6 | + "author": "Michael Zasso", |
5 | 7 | "type": "module", |
6 | | - "exports": "./lib/index.js", |
| 8 | + "exports": { |
| 9 | + ".": "./lib/index.js" |
| 10 | + }, |
7 | 11 | "files": [ |
8 | 12 | "lib", |
9 | 13 | "src" |
10 | 14 | ], |
11 | 15 | "scripts": { |
12 | | - "build": "npm run clean && npm run build-ts", |
13 | | - "build-ts": "tsc -p tsconfig.build.json", |
| 16 | + "build": "npm run clean && npm run tsc", |
14 | 17 | "build-storybook": "storybook build", |
15 | 18 | "check-types": "tsc --noEmit", |
16 | 19 | "clean": "rimraf lib", |
17 | 20 | "dev": "storybook dev -p 6006", |
18 | | - "eslint": "eslint src stories", |
19 | | - "eslint-fix": "npm run eslint -- --fix", |
| 21 | + "eslint": "eslint .", |
| 22 | + "eslint-fix": "eslint . --fix", |
20 | 23 | "prepack": "npm run build", |
21 | 24 | "prettier": "prettier --check .", |
22 | 25 | "prettier-write": "prettier --write .", |
23 | 26 | "start": "npm run dev", |
24 | | - "test": "npm run eslint && npm run prettier && npm run check-types" |
| 27 | + "test": "npm run check-types && npm run eslint && npm run prettier", |
| 28 | + "tsc": "npm run clean && npm run tsc-build", |
| 29 | + "tsc-build": "tsc -p tsconfig.build.json" |
| 30 | + }, |
| 31 | + "dependencies": { |
| 32 | + "@types/d3-scale": "^4.0.9", |
| 33 | + "d3-scale": "^4.0.2" |
| 34 | + }, |
| 35 | + "peerDependencies": { |
| 36 | + "react": ">=18" |
| 37 | + }, |
| 38 | + "devDependencies": { |
| 39 | + "@storybook/addon-docs": "^9.1.2", |
| 40 | + "@storybook/addon-links": "^9.1.2", |
| 41 | + "@storybook/react-vite": "^9.1.2", |
| 42 | + "@types/react": "^19.1.10", |
| 43 | + "@zakodium/tsconfig": "^1.0.2", |
| 44 | + "eslint": "^9.33.0", |
| 45 | + "eslint-config-zakodium": "^16.0.0", |
| 46 | + "eslint-plugin-storybook": "^9.1.2", |
| 47 | + "prettier": "^3.6.2", |
| 48 | + "react": "^19.1.1", |
| 49 | + "react-dom": "^19.1.1", |
| 50 | + "rimraf": "^6.0.1", |
| 51 | + "storybook": "^9.1.2", |
| 52 | + "typescript": "^5.9.2" |
25 | 53 | }, |
26 | 54 | "repository": { |
27 | 55 | "type": "git", |
28 | 56 | "url": "git+https://github.com/zakodium-oss/react-d3-utils.git" |
29 | 57 | }, |
30 | | - "author": "Michael Zasso", |
31 | | - "license": "MIT", |
32 | 58 | "bugs": { |
33 | 59 | "url": "https://github.com/zakodium-oss/react-d3-utils/issues" |
34 | 60 | }, |
35 | 61 | "homepage": "https://github.com/zakodium-oss/react-d3-utils#readme", |
36 | | - "devDependencies": { |
37 | | - "@storybook/addon-docs": "^9.0.8", |
38 | | - "@storybook/addon-links": "^9.0.8", |
39 | | - "@storybook/react-vite": "^9.0.8", |
40 | | - "@types/react": "^19.1.7", |
41 | | - "@zakodium/tsconfig": "^1.0.1", |
42 | | - "eslint": "^9.28.0", |
43 | | - "eslint-config-zakodium": "^15.0.1", |
44 | | - "eslint-plugin-storybook": "^9.0.8", |
45 | | - "prettier": "^3.5.3", |
46 | | - "react": "^19.1.0", |
47 | | - "react-dom": "^19.1.0", |
48 | | - "rimraf": "^6.0.1", |
49 | | - "storybook": "^9.0.8", |
50 | | - "typescript": "^5.8.3" |
51 | | - }, |
52 | | - "dependencies": { |
53 | | - "@types/d3-scale": "^4.0.9", |
54 | | - "d3-scale": "^4.0.2" |
55 | | - }, |
56 | 62 | "volta": { |
57 | 63 | "node": "22.9.0" |
58 | 64 | } |
|
0 commit comments