aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 58666491a2c0f74dc6572873295be737a5657988 (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
{
  "name": "avr8js",
  "version": "0.4.0",
  "main": "dist/index.js",
  "typings": "dist/index.d.ts",
  "author": "Uri Shaked <uri@urishaked.com>",
  "repository": "https://github.com/wokwi/avr8js",
  "license": "MIT",
  "scripts": {
    "build": "rimraf dist && tsc",
    "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": "tslint --project tsconfig.json",
    "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": "^24.0.23",
    "@types/node": "^12.12.7",
    "@types/prettier": "^1.19.0",
    "@wokwi/elements": "^0.1.0",
    "husky": "^3.0.9",
    "jest": "^24.9.0",
    "lint-staged": "^9.4.2",
    "parcel-bundler": "^1.12.4",
    "prettier": "^1.19.1",
    "rimraf": "^3.0.0",
    "ts-jest": "^24.1.0",
    "ts-node": "^8.5.0",
    "tslint": "^5.20.1",
    "typescript": "~3.6.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.{ts,tsx}": [
      "tslint --project tsconfig.spec.json -c tslint.commit.json --fix",
      "prettier --write",
      "git add"
    ]
  },
  "engines": {
    "node": ">= 8.0.0",
    "npm": ">= 5.0.0"
  },
  "dependencies": {},
  "alias": {
    "avr8js": "./src"
  }
}