preact-components/package.json

71 lines
1.4 KiB
JSON
Raw Normal View History

2022-03-15 23:54:39 +00:00
{
"name": "@holllo/gram",
"description": "Opinionated component library using HTM & Preact.",
"license": "GPL-3.0-or-later",
2022-03-16 17:47:03 +00:00
"version": "0.1.0",
2022-03-15 23:54:39 +00:00
"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": {
2022-03-16 14:40:06 +00:00
"@happy-dom/global-registrator": "^2.47.3",
2022-03-15 23:54:39 +00:00
"ava": "^4.0.1",
"c8": "^7.11.0",
"htm": "^3.1.0",
"preact": "^10.6.6",
"preact-render-to-string": "^5.1.20",
"ts-node": "^10.6.0",
"typescript": "^4.6.2",
"xo": "^0.48.0"
},
"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"
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,
"space": true
}
}