-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
45 lines (45 loc) · 1.47 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
{
"name": "h5wasm",
"version": "0.7.8",
"description": "A high-level library for reading and writing HDF5 files from Javascript, using a wasm-compiled version of the HDF5 C library",
"type": "module",
"main": "./dist/iife/hdf5_hl.js",
"module": "./dist/esm/hdf5_hl.js",
"browser": "./dist/iife/h5wasm.js",
"types": "./src/hdf5_hl.d.ts",
"exports": {
".": {
"types": "./src/hdf5_hl.d.ts",
"import": "./dist/esm/hdf5_hl.js"
},
"./node": {
"types": "./src/hdf5_hl.d.ts",
"import": "./dist/node/hdf5_hl.js"
}
},
"scripts": {
"build": "npm run build_esm && npm run build_node && npm run build_types && npm run build_iife",
"build_esm": "tsc src/hdf5_hl.ts src/file_handlers.ts --strict --outDir dist/esm --target es2020",
"build_node": "tsc src/hdf5_hl.ts --outDir dist/node --target es2020 --allowJs --esModuleInterop",
"build_iife": "esbuild --bundle dist/esm/hdf5_hl.js --outfile=dist/iife/h5wasm.js --format=iife --global-name=h5wasm",
"build_types": "tsc --declaration --strict --emitDeclarationOnly src/hdf5_hl.ts --target es2020",
"test": "node ./test/test.mjs"
},
"repository": {
"type": "git",
"url": "https://github.com/usnistgov/h5wasm.git"
},
"keywords": [
"hdf5",
"javascript",
"es6",
"browser",
"webassembly"
],
"author": "Brian B. Maranville",
"license": "SEE LICENSE IN LICENSE.txt",
"devDependencies": {
"esbuild": "^0.15.16",
"typescript": "^4.5.4"
}
}