preact-components/package.json

75 lines
1.5 KiB
JSON
Raw Normal View History

2022-03-15 23:54:39 +00:00
{
2022-09-29 10:44:11 +00:00
"name": "@holllo/preact-components",
"description": "Holllo's Preact component library.",
"license": "AGPL-3.0-or-later",
2022-10-03 16:16:50 +00:00
"version": "0.2.3",
2022-09-29 10:44:11 +00:00
"author": "Holllo <helllo@holllo.org>",
2022-03-15 23:54:39 +00:00
"repository": {
"type": "git",
2022-09-29 10:44:11 +00:00
"url": "https://git.bauke.xyz/Holllo/preact-components"
2022-03-15 23:54:39 +00:00
},
"scripts": {
"build": "tsc",
"prepublishOnly": "pnpm test && pnpm build",
"test": "xo && tsc --noEmit && c8 ava",
"test:snapshots": "ava --update-snapshots"
},
"devDependencies": {
2022-09-29 10:40:14 +00:00
"@happy-dom/global-registrator": "^6.0.4",
"ava": "^4.3.3",
"c8": "^7.12.0",
"htm": "^3.1.1",
"preact": "^10.11.0",
"preact-render-to-string": "^5.2.4",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"xo": "^0.52.3"
2022-03-15 23:54:39 +00:00
},
"peerDependencies": {
"htm": "3.x",
"preact": "10.x"
},
"type": "module",
2022-10-03 16:16:21 +00:00
"main": "build/source/index.js",
"types": "build/source/index.d.ts",
2022-03-15 23:54:39 +00:00
"files": [
"build/source/",
"package.json",
"LICENSE",
"README.md"
],
"ava": {
"extensions": {
"ts": "module"
},
"files": [
"tests/**/*.test.ts"
2022-03-15 23:54:39 +00:00
],
"nodeArguments": [
"--loader=ts-node/esm",
"--no-warnings"
]
},
"c8": {
"100": true,
"all": true,
"include": [
"source",
"tests"
],
"reportDir": "coverage",
"reporter": [
"text",
"html"
]
},
"xo": {
"prettier": true,
2022-09-29 10:40:24 +00:00
"rules": {
"@typescript-eslint/consistent-type-imports": "off",
"n/file-extension-in-import": "off"
},
2022-03-15 23:54:39 +00:00
"space": true
}
}