74 lines
2.2 KiB
JSON
74 lines
2.2 KiB
JSON
{
|
|
"name": "pkg-placeholder",
|
|
"type": "module",
|
|
"version": "0.0.0",
|
|
"packageManager": "pnpm@11.15.1",
|
|
"description": "_description_",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
"license": "MIT",
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"homepage": "https://github.com/antfu/pkg-placeholder#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/antfu/pkg-placeholder.git"
|
|
},
|
|
"bugs": "https://github.com/antfu/pkg-placeholder/issues",
|
|
"keywords": [],
|
|
"sideEffects": false,
|
|
"exports": {
|
|
".": "./dist/index.mjs",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"types": "./dist/index.d.mts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch",
|
|
"lint": "eslint",
|
|
"prepack": "nr build",
|
|
"release": "bumpp",
|
|
"start": "tsx src/index.ts",
|
|
"test": "pnpm run build && vitest",
|
|
"typecheck": "tsc",
|
|
"prepare": "git config core.hooksPath .githooks && simple-git-hooks && skills-npm"
|
|
},
|
|
"scripts-info": {
|
|
"build": "Build the library for publishing",
|
|
"dev": "Rebuild on change during development",
|
|
"lint": "Check for code style issues",
|
|
"prepack": "Build before publishing",
|
|
"release": "Bump version and publish a release",
|
|
"start": "Run the entry file",
|
|
"test": "Run the test suite",
|
|
"typecheck": "Check types",
|
|
"prepare": "Set up git hooks and skills"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "catalog:cli",
|
|
"@antfu/ni": "catalog:cli",
|
|
"@antfu/utils": "catalog:inlined",
|
|
"@types/node": "catalog:types",
|
|
"bumpp": "catalog:cli",
|
|
"eslint": "catalog:cli",
|
|
"nano-staged": "catalog:cli",
|
|
"publint": "catalog:cli",
|
|
"simple-git-hooks": "catalog:cli",
|
|
"skills-npm": "catalog:cli",
|
|
"tsdown": "catalog:cli",
|
|
"tsdown-stale-guard": "catalog:testing",
|
|
"tsnapi": "catalog:testing",
|
|
"tsx": "catalog:cli",
|
|
"typescript": "catalog:cli",
|
|
"vite": "catalog:cli",
|
|
"vitest": "catalog:testing"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && pnpm run build && npx nano-staged"
|
|
},
|
|
"nano-staged": {
|
|
"*": "eslint --fix"
|
|
}
|
|
}
|