-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.48 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"devDependencies": {
"@types/node": "^22.1.0",
"esbuild": "^0.23.0",
"tsx": "^4.16.5",
"typescript": "^5.5.4"
},
"type": "module",
"scripts": {
"test": "tsx test/",
"build:dist-node": "esbuild src/index.ts --format=esm --platform=node --outfile=dist/node.esm.js --bundle --sourcemap",
"build:dist-browser": "esbuild src/index.ts --format=esm --platform=browser --outfile=dist/browser.esm.js --bundle --sourcemap",
"build:types": "tsc -p tsconfig.types.json",
"build": "rm -rf dist; pnpm run build:dist-node && pnpm run build:dist-browser && pnpm run build:types",
"prepublishOnly": "pnpm run build"
},
"sideEffects": false,
"types": "dist/types/index.d.ts",
"main": "dist/index-node.esm.js",
"exports": {
".": {
"import": {
"node": "./dist/node.esm.js",
"browser": "./dist/browser.esm.js"
},
"types": "./dist/types/index.d.ts"
}
},
"imports": {
"#support": {
"node": "./src/support/node.ts",
"browser": "./src/support/browser.ts"
}
},
"name": "thorish",
"description": "This is a library of useful JS concepts and data structures for Node and the browser. It it, unashamedly, a dumping ground for code needed by [@samthor](https://twitter.com/samthor)'s projects.",
"version": "1.1.21",
"directories": {
"test": "test"
},
"keywords": [
"js",
"datastructures",
"queue"
],
"author": "Sam Thorogood <[email protected]>",
"license": "Apache-2.0"
}