Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.31 KB
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
{
"name": "miakapi",
"version": "4.0.0-alpha.1",
"description": "Typed coordinator and trusted-browser SDK for Miakapp",
"type": "module",
"packageManager": "bun@1.2.23",
"workspaces": [
"packages/*"
],
"engines": {
"bun": ">=1.2.23",
"node": ">=22.9"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser.d.ts",
"import": "./dist/browser.js"
}
},
"files": [
"contracts",
"dist",
"LICENSE",
"README.md"
],
"sideEffects": false,
"scripts": {
"build": "tsc -p tsconfig.build.json",
"build:contract": "tsc -p tsconfig.contract.json",
"check": "bun run typecheck && bun run build && bun run test && bun run smoke:node && bun run smoke:browser && bun run test:contract && bun run pack:check",
"check:cli": "bun --filter @miakapp/cli check",
"check:component": "bun --filter @miakapp/component check",
"check:packages": "bun run check:cli && bun run check:component && bun run check:app && bun run check:template",
"check:template": "bun run build && bun --filter @miakapp/component build && bun --filter @miakapp/app build && bun --filter @miakapp/cli build && cd templates/home && rm -rf node_modules && bun install --frozen-lockfile && bun run check",
"pack:check": "npm pack --dry-run",
"prepublishOnly": "bun run check",
"smoke:browser": "node scripts/check-browser-bundle.mjs",
"smoke:node": "node test/node-smoke.mjs",
"test": "bun test test/*.test.ts examples/*.test.ts packages/*/test/*.test.ts",
"test:contract": "bun run build:contract && node scripts/check-contract.mjs",
"typecheck": "tsc --noEmit",
"check:app": "bun --filter @miakapp/app check"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Miakapp/MiakAPI.git"
},
"publishConfig": {
"access": "public",
"tag": "next"
},
"keywords": [
"Miakapp",
"MiakAPI",
"smart-home",
"coordinator",
"browser",
"websocket"
],
"author": "Mathieu Colmon",
"license": "ISC",
"devDependencies": {
"@types/bun": "1.2.23",
"@types/node": "22.20.1",
"@types/ws": "8.18.1",
"playwright": "1.62.1",
"typescript": "7.0.2"
},
"dependencies": {
"@msgpack/msgpack": "3.1.3",
"ws": "8.21.3"
}
}