-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathpackage.json
84 lines (84 loc) · 2.21 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "rp2040js",
"version": "1.0.1",
"description": "Raspberry Pi Pico (RP2040) Emulator",
"repository": "https://github.com/wokwi/rp2040js",
"keywords": [
"rp2040",
"raspberry pi pico",
"emulator"
],
"files": [
"dist"
],
"author": "Uri Shaked <[email protected]>",
"license": "MIT",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"typings": "./dist/cjs/index.d.ts",
"engines": {
"node": ">=16.0.0"
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./gdb-tcp-server": {
"import": {
"types": "./dist/esm/gdb/gdb-tcp-server.d.ts",
"default": "./dist/esm/gdb/gdb-tcp-server.js"
},
"require": {
"types": "./dist/cjs/gdb/gdb-tcp-server.d.ts",
"default": "./dist/cjs/gdb/gdb-tcp-server.js"
}
}
},
"scripts": {
"build": "rimraf dist && tsc && tsc -p tsconfig.cjs.json && node build-scripts/dist-package-json",
"prepublish": "npm run build",
"prepare": "husky install",
"format:check": "prettier --check **/*.{ts,js} !**/dist/** !**/node_modules/**",
"lint": "eslint . --ext .ts",
"start": "tsx demo/emulator-run.ts",
"start:micropython": "tsx demo/micropython-run.ts",
"start:circuitpython": "tsx demo/micropython-run.ts --circuitpython",
"start:gdbdiff": "tsx debug/gdbdiff.ts",
"test": "vitest run",
"test:watch": "vitest",
"test:micropython-spi": "tsx test/micropython-spi-test.ts"
},
"devDependencies": {
"@types/minimist": "^1.2.2",
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"eslint": "^8.50.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"minimist": "^1.2.7",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"tsx": "^4.6.2",
"typescript": "^5.2.2",
"uf2": "^1.0.0",
"vitest": "^0.34.5"
},
"lint-staged": {
"**/*.ts": [
"eslint --fix",
"prettier --write"
],
"**/*.js": [
"prettier --write"
]
}
}