|
10 | 10 | "url": "git+https://github.com/hyparam/hyperparam-cli.git" |
11 | 11 | }, |
12 | 12 | "type": "module", |
13 | | - "types": "lib/index.d.ts", |
14 | 13 | "exports": { |
15 | | - ".": { |
16 | | - "types": "./lib/index.d.ts", |
17 | | - "import": "./dist/index.min.js" |
18 | | - }, |
19 | | - "./components.css": "./dist/components.css" |
| 14 | + "./*": "./lib/*" |
20 | 15 | }, |
21 | 16 | "bin": { |
22 | 17 | "hyp": "bin/cli.js", |
|
28 | 23 | "lib" |
29 | 24 | ], |
30 | 25 | "scripts": { |
31 | | - "build": "tsc -b && vite build", |
| 26 | + "build:ts": "tsc -b", |
| 27 | + "build:vite": "vite build", |
| 28 | + "build": "run-s build:ts build:vite", |
32 | 29 | "coverage": "vitest run --coverage --coverage.include=src --coverage.include=bin", |
33 | | - "dev:vite": "vite", |
34 | | - "dev:serve": "npm run serve", |
35 | | - "dev:url": "npm run dev:serve -- https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet", |
| 30 | + "dev": "run-p -l watch:ts watch:vite watch:serve", |
36 | 31 | "lint": "eslint .", |
37 | 32 | "prepublishOnly": "npm run build", |
38 | | - "preview:vite": "vite preview", |
39 | 33 | "serve": "node bin/cli.js", |
40 | 34 | "preserve": "npm run build", |
41 | 35 | "test": "vitest run", |
42 | | - "typecheck": "tsc --noEmit" |
| 36 | + "typecheck": "tsc --noEmit", |
| 37 | + "url": "run-p -l watch:ts watch:vite watch:url", |
| 38 | + "watch:ts": "tsc --watch", |
| 39 | + "watch:vite": "vite build --watch", |
| 40 | + "watch:serve": "nodemon bin/cli.js", |
| 41 | + "watch:url": "nodemon bin/cli.js https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet" |
43 | 42 | }, |
44 | 43 | "dependencies": { |
45 | 44 | "hightable": "0.11.0", |
|
61 | 60 | "eslint-plugin-react-refresh": "0.4.19", |
62 | 61 | "globals": "15.14.0", |
63 | 62 | "jsdom": "26.0.0", |
| 63 | + "nodemon": "3.1.9", |
| 64 | + "npm-run-all": "4.1.5", |
64 | 65 | "typescript": "5.7.3", |
65 | 66 | "typescript-eslint": "8.25.0", |
66 | 67 | "vite": "6.2.0", |
|
0 commit comments