aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: dfd4bf6708097f8c2e2b545b2992364b88138f8c (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
{
  "name": "avr8js",
  "version": "0.7.0",
  "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",
  "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": "^24.0.23",
    "@types/node": "^12.12.7",
    "@types/prettier": "^1.19.0",
    "@typescript-eslint/eslint-plugin": "^2.10.0",
    "@typescript-eslint/parser": "^2.10.0",
    "@wokwi/elements": "^0.1.1",
    "acorn": "^7.1.1",
    "eslint": "^6.7.2",
    "eslint-config-prettier": "^6.7.0",
    "eslint-plugin-jest": "^23.1.1",
    "eslint-plugin-json": "^2.0.1",
    "eslint-plugin-prettier": "^3.1.1",
    "husky": "^3.0.9",
    "jest": "^25.3.0",
    "lint-staged": "^9.4.2",
    "parcel-bundler": "^1.12.4",
    "prettier": "^1.19.1",
    "rimraf": "^3.0.0",
    "ts-jest": "^25.3.1",
    "ts-node": "^8.5.0",
    "typescript": "~3.6.0"
  },
  "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"
  ]
}