summaryrefslogtreecommitdiff
path: root/package.json
blob: ca4c18fcba62535b19dc31922f9d097d66f67a3e (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
84
85
86
87
88
89
90
91
{
  "name": "fengari",
  "version": "0.1.1",
  "description": "A Lua VM written in JS ES6 targeting the browser",
  "main": "src/fengari.js",
  "directories": {
    "lib": "src",
    "test": "test"
  },
  "scripts": {
    "lint": "eslint src/ test/",
    "prepublishOnly": "git diff-index --quiet --cached HEAD -- && npm run lint && npm run test",
    "test": "jest"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/fengari-lua/fengari.git"
  },
  "keywords": [
    "lua",
    "vm"
  ],
  "contributors": [
    "Benoit Giannangeli",
    "Daurnimator <quae@daurnimator.com>"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/fengari-lua/fengari/issues"
  },
  "homepage": "https://github.com/fengari-lua/fengari#readme",
  "devDependencies": {
    "eslint": "^4.19.1",
    "jest": "^22.4.3"
  },
  "dependencies": {
    "readline-sync": "^1.4.9",
    "sprintf-js": "^1.1.1",
    "tmp": "^0.0.33"
  },
  "sideEffects": false,
  "eslintConfig": {
    "env": {
      "browser": true,
      "es6": true,
      "node": true,
      "worker": true
    },
    "extends": "eslint:recommended",
    "rules": {
      "indent": [
        "error",
        4,
        {
          "SwitchCase": 1
        }
      ],
      "linebreak-style": [
        "error",
        "unix"
      ],
      "no-console": 0,
      "no-empty": [
        2,
        {
          "allowEmptyCatch": true
        }
      ],
      "no-unused-vars": [
        2,
        {
          "args": "none"
        }
      ],
      "semi": [
        "error",
        "always"
      ]
    },
    "overrides": [
      {
        "files": [
          "test/**/*.test.js"
        ],
        "env": {
          "jest": true
        }
      }
    ]
  }
}