mirror of
https://github.com/quartz-community/utils.git
synced 2026-07-22 02:50:27 +00:00
With build tools (tsup, typescript) moved to devDependencies, the prepare script can no longer build when npm fetches this package from GitHub (npm does not install devDependencies for git dependencies). Commit the pre-built dist/ output so GitHub-based installs work without a build step.
96 lines
2.2 KiB
JSON
96 lines
2.2 KiB
JSON
{
|
|
"name": "@quartz-community/utils",
|
|
"version": "0.1.0",
|
|
"description": "Shared utility functions for Quartz community plugins.",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"author": "Quartz Community",
|
|
"homepage": "https://quartz.jzhao.xyz",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/quartz-community/utils"
|
|
},
|
|
"keywords": [
|
|
"quartz",
|
|
"quartz-plugin",
|
|
"utilities",
|
|
"path",
|
|
"dom"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"LICENSE",
|
|
"CHANGELOG.md"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./path": {
|
|
"types": "./dist/path.d.ts",
|
|
"import": "./dist/path.js"
|
|
},
|
|
"./dom": {
|
|
"types": "./dist/dom.d.ts",
|
|
"import": "./dist/dom.js"
|
|
},
|
|
"./lang": {
|
|
"types": "./dist/lang.d.ts",
|
|
"import": "./dist/lang.js"
|
|
},
|
|
"./escape": {
|
|
"types": "./dist/escape.d.ts",
|
|
"import": "./dist/escape.js"
|
|
},
|
|
"./jsx": {
|
|
"types": "./dist/jsx.d.ts",
|
|
"import": "./dist/jsx.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"sideEffects": false,
|
|
"dependencies": {
|
|
"@quartz-community/types": "github:quartz-community/types"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"dev": "tsup --watch",
|
|
"lint": "eslint . --max-warnings=0",
|
|
"format": "prettier . --check",
|
|
"test": "vitest run",
|
|
"typecheck": "tsc --noEmit",
|
|
"check": "npm run typecheck && npm run lint && npm run format && npm run test"
|
|
},
|
|
"peerDependencies": {
|
|
"preact": "^10.0.0",
|
|
"hast-util-to-jsx-runtime": "^2.3.6",
|
|
"github-slugger": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.10.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
"@typescript-eslint/parser": "^7.18.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"prettier": "^3.6.2",
|
|
"vitest": "^2.1.9",
|
|
"tsup": "^8.5.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22",
|
|
"npm": ">=10.9.2"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"hast-util-to-jsx-runtime": {
|
|
"optional": true
|
|
},
|
|
"github-slugger": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|