-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
36 lines (36 loc) · 1.26 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
{
"name": "libre-link-unofficial-api",
"module": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"version": "1.0.0-alpha.6",
"description": "An unofficial API for Libre Link Up (glucose monitoring system/CGM)",
"author": "Mike Eling <mike.eling97@gmail.com>",
"type": "module",
"license": "MIT",
"scripts": {
"dev": "bun --watch src/index.ts",
"build": "bun run build:node && bun run build:emitDeclarations",
"build:node": "bun build ./src/index.ts --outdir dist --target node --splitting --minify --sourcemap=inline",
"build:emitDeclarations": "tsc --emitDeclarationOnly --project tsconfig.json --tsBuildInfoFile './dist/.tsbuildinfo'",
"clean": "rimraf dist",
"test": "bun run test-int && bun run test-unit",
"test-unit": "bun test 'spec' --coverage",
"test-int": "bun test 'client.test.ts' --coverage --timeout 60000",
"test-int:update": "bun test 'client.test.ts' --coverage --update-snapshots --timeout 60000",
"sandbox": "bun run ./sandbox/index.ts",
"prepublish": "bun run build"
},
"devDependencies": {
"bun-types": "latest",
"rimraf": "latest",
"bun-bagel": "^1.0.8"
},
"peerDependencies": {
"typescript": "latest"
},
"files": [
"dist/*.js",
"dist/*.d.ts"
]
}