preact-components/package.json

71 lines
1.4 KiB
JSON

{
"name": "@holllo/gram",
"description": "Opinionated component library using HTM & Preact.",
"license": "GPL-3.0-or-later",
"version": "0.2.1",
"author": "Holllo <helllo@holllo.cc>",
"repository": {
"type": "git",
"url": "https://github.com/Holllo/gram"
},
"scripts": {
"build": "tsc",
"prepublishOnly": "pnpm test && pnpm build",
"test": "xo && tsc --noEmit && c8 ava",
"test:snapshots": "ava --update-snapshots"
},
"devDependencies": {
"@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"
},
"peerDependencies": {
"htm": "3.x",
"preact": "10.x"
},
"type": "module",
"main": "build/source/gram.js",
"types": "build/source/gram.d.ts",
"files": [
"build/source/",
"package.json",
"LICENSE",
"README.md"
],
"ava": {
"extensions": {
"ts": "module"
},
"files": [
"tests/**/*.test.ts"
],
"nodeArguments": [
"--loader=ts-node/esm",
"--no-warnings"
]
},
"c8": {
"100": true,
"all": true,
"include": [
"source",
"tests"
],
"reportDir": "coverage",
"reporter": [
"text",
"html"
]
},
"xo": {
"prettier": true,
"space": true
}
}