forked from metachris/micropython-ctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.77 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
{
"name": "micropython-ctl",
"version": "1.13.8-beta1",
"description": "Async TypeScript MicroPython interface (for serial and network connections, REPL & WebREPL)",
"repository": "https://github.com/metachris/micropython-ctl",
"browser": "./dist-browser/main.js",
"main": "./dist-node/src/main.js",
"types": "./dist-node/src/main.d.ts",
"bin": {
"mctl": "./dist-node/cli/index.js"
},
"author": "Chris Hager <[email protected]>",
"license": "MIT",
"scripts": {
"clean": "rm -rf dist dist-node dist-browser build lib package dist-esbuild *.tgz",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
"build": "./build.sh",
"build-node": "tsc -p tsconfig.json",
"build-browser": "webpack",
"test": "ts-node tests/testsuite.ts",
"ts-node": "ts-node",
"mctl": "ts-node cli/index.ts",
"doc": "typedoc",
"esbuild-node": "esbuild src/main.ts --bundle --platform=node --outfile=dist-esbuild/node.js",
"esbuild-browser": "esbuild src/main.ts --bundle --sourcemap=external --external:serialport --external:crypto --define:process.env.DEBUG=0 --outfile=dist-esbuild/browser.js",
"esbuild": "yarn esbuild-node && yarn esbuild-browser"
},
"dependencies": {
"body-parser": "^1.19.0",
"buffer": "^6.0.3",
"commander": "^7.0.0",
"express": "^4.17.1",
"isomorphic-ws": "^4.0.1",
"node-fetch": "^2.6.1",
"serialport": "^9.0.3",
"ws": "^7.4.1"
},
"devDependencies": {
"@types/node": "^14.14.9",
"@types/serialport": "^8.0.1",
"@types/ws": "^7.4.0",
"esbuild": "^0.8.46",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.12",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"typedoc": "^0.20.4",
"typescript": "^4.1.2",
"webpack": "^5.11.0",
"webpack-cli": "^4.3.0"
}
}