|
3 | 3 | "version": "0.1.0", |
4 | 4 | "description": "Wrappers for built-in Web Workers enabling easy parallel data processing", |
5 | 5 | "files": [ |
6 | | - "lib", |
| 6 | + "*.js", |
| 7 | + "*.js.map", |
| 8 | + "*.d.ts", |
| 9 | + "*.d.ts.map", |
7 | 10 | "src" |
8 | 11 | ], |
9 | | - "type": "module", |
10 | | - "main": "./lib/index.js", |
11 | | - "module": "./lib/index.js", |
12 | | - "types": "./lib/index.d.ts", |
13 | 12 | "exports": { |
14 | 13 | ".": { |
15 | | - "types": "./lib/index.d.ts", |
16 | | - "bun": "./lib/index.js", |
17 | | - "deno": "./lib/index.js", |
| 14 | + "types": "./index.d.ts", |
| 15 | + "bun": "./index.js", |
| 16 | + "deno": "./index.js", |
18 | 17 | "node": { |
19 | | - "import": "./lib/index-node.js", |
20 | | - "default": "./lib/index-node.js" |
| 18 | + "import": "./index-node.js", |
| 19 | + "default": "./index-node.js" |
21 | 20 | }, |
22 | | - "import": "./lib/index.js", |
23 | | - "default": "./lib/index.js" |
| 21 | + "import": "./index.js", |
| 22 | + "default": "./index.js" |
24 | 23 | }, |
25 | 24 | "./utils.js": { |
26 | | - "types": "./lib/utils.d.ts", |
27 | | - "import": "./lib/utils.js", |
28 | | - "default": "./lib/utils.js" |
| 25 | + "types": "./utils.d.ts", |
| 26 | + "import": "./utils.js", |
| 27 | + "default": "./utils.js" |
29 | 28 | } |
30 | 29 | }, |
31 | 30 | "devDependencies": { |
|
35 | 34 | "prettier": "3.6.2", |
36 | 35 | "typescript": "5.9.2" |
37 | 36 | }, |
38 | | - "sideEffects": false, |
39 | | - "author": "Paul Miller (https://paulmillr.com)", |
40 | | - "license": "MIT", |
41 | | - "homepage": "https://github.com/paulmillr/micro-wrkr", |
42 | | - "repository": { |
43 | | - "type": "git", |
44 | | - "url": "git+https://github.com/paulmillr/micro-wrkr.git" |
45 | | - }, |
46 | 37 | "scripts": { |
47 | 38 | "build": "tsc", |
48 | | - "build:release": "npx --no @paulmillr/jsbt esbuild test/build", |
| 39 | + "build:clean": "rm *.{js,js.map,d.ts,d.ts.map} 2> /dev/null", |
49 | 40 | "lint": "prettier --check src", |
50 | 41 | "format": "prettier --write src", |
51 | 42 | "test": "cd test; npm run build:install; node test-node.js", |
|
62 | 53 | "concurrent", |
63 | 54 | "cluster" |
64 | 55 | ], |
65 | | - "funding": "https://paulmillr.com/funding/" |
| 56 | + "repository": { |
| 57 | + "type": "git", |
| 58 | + "url": "git+https://github.com/paulmillr/micro-wrkr.git" |
| 59 | + }, |
| 60 | + "type": "module", |
| 61 | + "main": "index.js", |
| 62 | + "module": "index.js", |
| 63 | + "types": "index.d.ts", |
| 64 | + "sideEffects": false, |
| 65 | + "author": "Paul Miller (https://paulmillr.com)", |
| 66 | + "license": "MIT" |
66 | 67 | } |
0 commit comments