-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 2.63 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
{
"name": "LoRa-P2M",
"version": "1.0.0",
"main": "index.js",
"type": "module",
"module": "ESNext",
"license": "MIT",
"dependencies": {
"@abraham/reflection": "^0.10.0",
"buffer": "^6.0.3",
"chai-bytes": "^0.1.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"crc": "^4.1.1",
"crc-32": "^1.2.2",
"esbuild-config": "^0.2.0",
"lodash-es": "^4.17.21",
"nanoid": "^4.0.0",
"p-queue": "^7.3.0",
"simple-fonts": "https://github.com/niklauslee/simple-fonts",
"strip-ansi": "^7.0.1",
"zod": "^3.18.0"
},
"scripts": {
"flash": "kaluma flash",
"build": "esbuild --format=cjs --target=es2015 --bundle --minify --external:i2c --external:graphics --external:uart --external:led --external:events --external:button",
"build:client": "yarn run build src/client.ts --outfile=build/client.js",
"build:server": "yarn run build src/server.ts --outfile=build/server.js",
"flash:client": "kaluma flash build/client.js",
"flash:server": "kaluma flash build/server.js",
"build:dev": "yarn run build src/dev.ts --outfile=build/dev.cjs --minify=false",
"dev": "node build/dev.cjs",
"flash:config": "yarn run build src/config.ts --outfile=build/config.js && kaluma flash build/config.js",
"test": "mocha src/**/*.test.ts",
"build:shellog": "yarn run build scripts/shellog.ts --outfile=build/shellog.cjs --platform=node --target=esnext --minify=false --external:serialport",
"shellog": "node build/shellog.cjs",
"shell": "kaluma shell",
"build:testc01": "yarn run build src/test/client/01.ts --outfile=build/test/client/01.js",
"flash:testc01": "kaluma flash build/test/client/01.js",
"build:tests01": "yarn run build src/test/server/01.ts --outfile=build/test/server/01.js",
"flash:tests01": "kaluma flash build/test/server/01.js",
"build:testc03": "yarn run build src/test/client/03.ts --outfile=build/test/client/03.js",
"flash:testc03": "kaluma flash build/test/client/03.js",
"build:tests03": "yarn run build src/test/server/03.ts --outfile=build/test/server/03.js",
"flash:tests03": "kaluma flash build/test/server/03.js"
},
"devDependencies": {
"@kaluma/cli": "^1.3.0",
"@types/chai": "^4.3.3",
"@types/lodash-es": "^4.17.6",
"@types/luxon": "^3.0.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.14",
"chai": "^4.3.6",
"commander": "^9.4.0",
"esbuild": "^0.14.48",
"luxon": "^3.0.3",
"mocha": "^10.0.0",
"prettier": "^2.7.1",
"prettier-plugin-jsdoc": "^0.4.2",
"serialport": "^10.4.0",
"ts-node": "^10.9.1",
"type-fest": "^2.19.0",
"typescript": "^4.8.3"
}
}