-
Notifications
You must be signed in to change notification settings - Fork 52
/
package.json
82 lines (82 loc) · 1.91 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
74
75
76
77
78
79
80
81
82
{
"name": "preact-custom-element",
"version": "4.3.0",
"description": "Wrap your component up as a custom element",
"main": "dist/preact-custom-element.js",
"module": "dist/preact-custom-element.esm.js",
"types": "dist/index.d.ts",
"unpkg": "dist/preact-custom-element.umd.js",
"source": "src/index.js",
"scripts": {
"prepare": "microbundle",
"lint": "eslint src/*.{js,jsx}",
"test": "wtr src/*.test.{js,jsx}",
"test:browsers": "wtr src/*.test.{js,jsx} --playwright --browsers chromium firefox webkit",
"prettier": "prettier **/*.{js,jsx} --write",
"prepublishOnly": "npm run lint && npm run test"
},
"eslintConfig": {
"extends": "developit",
"settings": {
"react": {
"version": "latest"
}
},
"rules": {
"brace-style": "off",
"jest/expect-expect": "off",
"lines-around-comment": "off",
"comma-dangle": "off",
"no-unused-vars": [
2,
{
"args": "none",
"varsIgnorePattern": "^h$"
}
]
}
},
"repository": "preactjs/preact-custom-element",
"keywords": [
"preact",
"web",
"components",
"custom",
"element"
],
"authors": [
"Bradley J. Spaulding",
"The Preact Authors (https://preactjs.com)"
],
"license": "MIT",
"bugs": "https://github.com/preactjs/preact-custom-element/issues",
"homepage": "https://github.com/preactjs/preact-custom-element",
"peerDependencies": {
"preact": "10.x"
},
"devDependencies": {
"@open-wc/testing": "^2.5.25",
"@web/dev-server-core": "^0.5.2",
"@web/dev-server-esbuild": "^0.4.1",
"@web/test-runner": "^0.17.0",
"@web/test-runner-playwright": "^0.10.1",
"eslint": "^7.7.0",
"eslint-config-developit": "^1.2.0",
"get-stream": "^6.0.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.13",
"microbundle": "^0.15.1",
"preact": "^10.4.8",
"prettier": "^2.1.1"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,yml}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}