aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 05128143be5b29cd52cc2593f2c01578c2ee8879 (plain)
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
{
  "name": "avr8js",
  "version": "0.14.9",
  "main": "dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/esm/index.d.ts",
  "author": "Uri Shaked <uri@urishaked.com>",
  "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": "parcel build demo/src/index.html -d demo/dist",
    "prepare": "npm run build",
    "start": "parcel demo/src/index.html -d demo/build",
    "lint": "eslint src/**/*.ts demo/**/*.ts",
    "test": "npm run lint && jest",
    "test:watch": "jest --watch",
    "benchmark:prepare": "ts-node --project tsconfig.benchmark.json benchmark/convert-instructions.ts",
    "benchmark": "ts-node --project tsconfig.benchmark.json benchmark/index.ts"
  },
  "files": [
    "dist"
  ],
  "devDependencies": {
    "@types/jest": "^26.0.4",
    "@types/node": "^12.12.50",
    "@types/prettier": "^2.0.2",
    "@typescript-eslint/eslint-plugin": "^2.34.0",
    "@typescript-eslint/parser": "^2.34.0",
    "@wokwi/elements": "^0.16.2",
    "acorn": "^7.3.1",
    "eslint": "^6.8.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-jest": "^23.18.0",
    "eslint-plugin-json": "^2.1.1",
    "eslint-plugin-prettier": "^3.1.4",
    "husky": "^3.0.9",
    "jest": "^26.1.0",
    "lint-staged": "^9.5.0",
    "parcel-bundler": "^1.12.4",
    "prettier": "^2.0.0",
    "rimraf": "^3.0.2",
    "ts-jest": "^26.1.2",
    "ts-node": "^8.10.2",
    "typescript": "^3.9.6"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "eslint --fix",
      "prettier --write",
      "git add"
    ]
  },
  "engines": {
    "node": ">= 8.0.0",
    "npm": ">= 5.0.0"
  },
  "dependencies": {},
  "alias": {
    "avr8js": "./src"
  },
  "browserslist": [
    "last 1 Chrome versions"
  ]
}