-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (60 loc) · 1.55 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
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "@nolai/libpep-wasm",
"version": "0.5.2",
"description": "The WebAssembly version of the libpep library",
"repository": {
"type": "git",
"url": "git+https://github.com/NOLAI/libpep.git"
},
"authors": [
{
"name": "Bernard van Gastel",
"email": "[email protected]",
"url": "https://www.sustainablesoftware.info"
},
{
"name": "Job Doesburg",
"email": "[email protected]",
"url": "https://jobdoesburg.nl"
}
],
"license": "Apache-2.0",
"devDependencies": {
"jest": "^29.7.0"
},
"exports": {
"browser": {
"import": "./pkg-web/libpep.js",
"default": "./pkg-web/libpep.js"
},
"node": {
"import": "./pkg/libpep.js",
"default": "./pkg/libpep.js"
},
"default": "./pkg/libpep.js"
},
"type": "module",
"module": "pkg/libpep.js",
"files": [
"pkg/libpep_bg.wasm",
"pkg/libpep_bg.wasm.d.ts",
"pkg/libpep.d.ts",
"pkg/libpep_bg.js",
"pkg/libpep.js",
"pkg/package.json",
"pkg-web/libpep_bg.wasm",
"pkg-web/libpep_bg.wasm.d.ts",
"pkg-web/libpep.d.ts",
"pkg-web/libpep.js",
"pkg-web/package.json",
"README.md"
],
"scripts": {
"build:bundler": "wasm-pack build --target bundler --features wasm",
"build:nodejs": "wasm-pack build --target nodejs --features wasm",
"build:web": "wasm-pack build --target web --out-dir ./pkg-web --features wasm",
"build": "npm run build:bundler && npm run build:web",
"test": "npm run build:nodejs && jest",
"prepublishOnly": "npm run build"
}
}