-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
73 lines (73 loc) · 1.51 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
73
{
"name": "x-keyboard",
"version": "0.4.0",
"description": "A web component to display and emulate keyboard layouts.",
"files": [
"index.js"
],
"scripts": {
"lint": "eslint .",
"build": "rollup main.js --format esm --file index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fabi1cazenave/x-keyboard.git"
},
"keywords": [
"webcomponent",
"keyboard",
"keyboard-layout",
"keyboard-emulation"
],
"author": "Fabien Cazenave",
"license": "MIT",
"bugs": {
"url": "https://github.com/fabi1cazenave/x-keyboard/issues"
},
"homepage": "https://fabi1cazenave.github.io/x-keyboard",
"devDependencies": {
"eslint": "^7.9.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.0",
"rollup": "^2.27.1"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true
},
"extends": "airbnb-base",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"no-multi-spaces": "off",
"array-bracket-spacing": "off",
"key-spacing": "off",
"import/extensions": [
"error",
{
"js": "always"
}
],
"no-param-reassign": [
"error",
{
"props": false
}
],
"no-underscore-dangle": [
"error",
{
"allowAfterThis": true
}
]
}
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run lint"
}
}
}