-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
86 lines (86 loc) · 2.66 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@matrix-org/matrix-sdk-crypto-wasm",
"version": "13.0.0",
"homepage": "https://github.com/matrix-org/matrix-rust-sdk-wasm",
"description": "WebAssembly bindings of the matrix-sdk-crypto encryption library",
"license": "Apache-2.0",
"collaborators": [
"Ivan Enderlin <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/matrix-org/matrix-rust-sdk-wasm"
},
"keywords": [
"matrix",
"chat",
"messaging",
"ruma",
"nio"
],
"type": "module",
"exports": {
".": {
"matrix-org:wasm-esm": {
"types": "./index.d.ts",
"default": "./index-wasm-esm.mjs"
},
"require": {
"types": "./index.d.ts",
"node": "./node.cjs",
"default": "./index.cjs"
},
"import": {
"types": "./index.d.ts",
"node": "./node.mjs",
"default": "./index.mjs"
}
}
},
"files": [
"index.mjs",
"index.cjs",
"index-wasm-esm.mjs",
"index.d.ts",
"node.mjs",
"node.cjs",
"pkg/matrix_sdk_crypto_wasm.d.ts",
"pkg/matrix_sdk_crypto_wasm_bg.js",
"pkg/matrix_sdk_crypto_wasm_bg.cjs",
"pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts",
"pkg/matrix_sdk_crypto_wasm_bg.wasm"
],
"devDependencies": {
"@babel/cli": "^7.23.5",
"@babel/core": "^7.23.5",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@babel/preset-env": "^7.23.5",
"@babel/preset-typescript": "^7.23.3",
"@tsconfig/node18": "^18.2.4",
"@types/jest": "^29.5.10",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"eslint": "^8.55.0",
"fake-indexeddb": "^4.0",
"jest": "^28.1.0",
"prettier": "^2.8.3",
"typedoc": "^0.27.1",
"typescript": "5.7.2",
"wasm-pack": "^0.12.1",
"yargs-parser": "~21.0.1"
},
"engines": {
"node": ">= 18"
},
"scripts": {
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:types",
"lint:eslint": "eslint --max-warnings 0 tests",
"lint:prettier": "prettier --check .",
"lint:types": "tsc --noEmit",
"build": "WASM_PACK_ARGS=--release ./scripts/build.sh",
"build:dev": "WASM_PACK_ARGS=--dev ./scripts/build.sh",
"test": "jest --verbose && yarn run wasm-pack test --node",
"doc": "typedoc --treatWarningsAsErrors --tsconfig .",
"prepack": "npm run build && npm run test"
}
}