-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathpackage.json
72 lines (72 loc) · 1.81 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
{
"name": "avr8js",
"version": "0.20.1",
"main": "dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"author": "Uri Shaked <[email protected]>",
"repository": "https://github.com/wokwi/avr8js",
"license": "MIT",
"description": "Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js",
"keywords": [
"Arduino",
"Arduino Uno",
"AVR",
"8 bit",
"MCU",
"simulation",
"simulator",
"ATmega",
"ATmega328p",
"microcontroller"
],
"scripts": {
"build": "rimraf dist && tsc --sourceMap false && tsc -m commonjs --outDir dist/cjs --sourceMap false",
"build:demo": "vite build demo",
"prepare": "husky install && npm run build",
"start": "vite demo",
"lint": "eslint src/**/*.ts demo/**/*.ts",
"test": "npm run lint && vitest run",
"test:watch": "vitest",
"benchmark:prepare": "tsx benchmark/convert-instructions.ts",
"benchmark": "tsx benchmark/index.ts"
},
"files": [
"dist"
],
"devDependencies": {
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@wokwi/elements": "^0.16.2",
"eslint": "^8.31.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^6.0.0",
"lint-staged": "^9.5.0",
"prettier": "^3.5.0",
"rimraf": "^3.0.2",
"tsx": "^4.19.2",
"typescript": "^4.9.4",
"vite": "^5.0.0",
"vitest": "^3.0.5"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"engines": {
"node": ">= 18.0.0",
"npm": ">= 10.0.0"
},
"alias": {
"avr8js": "./src"
},
"browserslist": [
"last 1 Chrome versions"
]
}