mtp/package.json
Rasensprenger ab90a7a0f1
Some checks failed
renovate/artifacts Artifact file update failure
CI / checks (pull_request) Failing after 14m4s
Update pnpm to v11.20.0
2026-08-06 00:02:51 +02:00

64 lines
1.8 KiB
JSON

{
"name": "mtp",
"version": "0.2.0",
"description": "MTP TypeScript SDK",
"type": "module",
"packageManager": "pnpm@11.20.0",
"module": "./dist/sdk/index.js",
"types": "./dist/sdk/index.d.ts",
"exports": {
".": {
"types": "./dist/sdk/index.d.ts",
"import": "./dist/sdk/index.js",
"default": "./dist/sdk/index.js"
},
"./raw": {
"types": "./dist/raw/index.d.ts",
"import": "./dist/raw/index.js",
"default": "./dist/raw/index.js"
},
"./vite": {
"types": "./dist/vite/index.d.ts",
"import": "./dist/vite/index.js",
"default": "./dist/vite/index.js"
},
"./type-map": {
"types": "./dist/type-map/index.d.ts",
"import": "./dist/type-map/index.js",
"default": "./dist/type-map/index.js"
}
},
"files": [
"Cargo.lock",
"dist/",
"README.md",
"codec/Cargo.toml",
"codec/src/",
"common/Cargo.toml",
"common/src/",
"crypto/Cargo.toml",
"crypto/src/",
"type-map/Cargo.toml",
"type-map/build.rs",
"type-map/src/",
"wasm/.cargo/",
"wasm/Cargo.toml",
"wasm/src/",
"wasm/pkg/",
"tsconfig.json"
],
"scripts": {
"example": "pnpm install && pnpm run build:all && nix develop .#autoStart",
"build": "MTP_TYPE_MAPS=$PWD/example-type-maps.yaml RUSTFLAGS='--cfg web_sys_unstable_apis' wasm-pack build wasm --target web --out-dir pkg --release && tsc",
"build:all": "nix run .#build-all",
"dup": "jscpd --pattern '**/*.{rs,ts}' --ignore 'target/**' --ignore 'wasm/pkg/**' --ignore '.git/**' --min-lines 8 --min-tokens 80 --threshold 4 --reporters console --noTips ."
},
"devDependencies": {
"@types/node": "^26.0.1",
"jscpd": "4.2.5",
"typescript": "^6.0.3"
},
"dependencies": {
"yaml": "^2.8.1"
}
}