|
6 | 6 | "main": "dist/index.js", |
7 | 7 | "module": "dist/module.js", |
8 | 8 | "types": "dist/index.d.ts", |
| 9 | + "scripts": { |
| 10 | + "start": "run-p 'watch:**'", |
| 11 | + "build": "npm-run-all clean -p 'build:**'", |
| 12 | + "test": "jest", |
| 13 | + "build:js": "parcel build --target main --target module", |
| 14 | + "build:types": "tsc --outDir dist", |
| 15 | + "clean": "rimraf dist", |
| 16 | + "start:js": "parcel watch --target main --target module --no-hmr --no-cache", |
| 17 | + "start:types": "tsc --outDir dist --watch", |
| 18 | + "prepack": "yarn build" |
| 19 | + }, |
9 | 20 | "repository": { |
10 | 21 | "type": "git", |
11 | 22 | "url": "https://github.com/brimdata/react-arborist.git" |
|
30 | 41 | "redux": "^4.1.1", |
31 | 42 | "use-sync-external-store": "^1.2.0" |
32 | 43 | }, |
33 | | - "scripts": { |
34 | | - "build": "run-p 'build:**'", |
35 | | - "build:js": "parcel build --target main --target module", |
36 | | - "build:types": "tsc --outDir dist", |
37 | | - "watch:js": "parcel watch --target main --target module --no-hmr --no-cache", |
38 | | - "watch:types": "tsc --outDir dist --watch", |
39 | | - "watch": "run-p 'watch:**'", |
40 | | - "prepack": "yarn build" |
41 | | - }, |
42 | 44 | "peerDependencies": { |
43 | 45 | "react": ">= 16.14", |
44 | 46 | "react-dom": ">= 16.14" |
|
49 | 51 | "@types/react": "^18.0.0", |
50 | 52 | "@types/react-window": "^1.8.5", |
51 | 53 | "@types/use-sync-external-store": "^0.0.3", |
52 | | - "jest": "^27.5.1", |
| 54 | + "jest": "^29.4.1", |
53 | 55 | "npm-run-all": "^4.1.5", |
54 | 56 | "parcel": "^2.3.2", |
| 57 | + "rimraf": "^4.1.2", |
| 58 | + "ts-jest": "^29.0.5", |
55 | 59 | "typescript": "^4.6.2" |
56 | 60 | } |
57 | 61 | } |
0 commit comments