build(devDeps): add finepack for package.json linting
Add tool for linting and verifying package.json Tool will: - validate existence of required keys - organizes keys by relevance and alphabet - validates for valid format Tool was also added to pre-commit hook Format: text/markdown
This commit is contained in:
70
package.json
70
package.json
@@ -1,36 +1,30 @@
|
|||||||
{
|
{
|
||||||
"name": "@cis-oss/pushover",
|
"name": "@cis-oss/pushover",
|
||||||
"version": "0.0.1",
|
|
||||||
"type": "module",
|
|
||||||
"description": "A client for Pushover, a service for sending notifications. Written in TypeScript. Supports sending to multiple users.",
|
"description": "A client for Pushover, a service for sending notifications. Written in TypeScript. Supports sending to multiple users.",
|
||||||
"keywords": [
|
"homepage": "https://cis-oss.github.io/pushover",
|
||||||
"pushover",
|
"version": "0.0.1",
|
||||||
"notifications",
|
"main": "dist/index.js",
|
||||||
"mobile",
|
|
||||||
"push",
|
|
||||||
"notification"
|
|
||||||
],
|
|
||||||
"homepage": "https://github.com/cis-oss/pushover#readme",
|
|
||||||
"bugs": "https://github.com/cis-oss/pushover/issues",
|
|
||||||
"license": "MIT",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "github:cis-oss/pushover"
|
|
||||||
},
|
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Alix von Schirp",
|
|
||||||
"email": "hi@b00tload.space",
|
"email": "hi@b00tload.space",
|
||||||
|
"name": "Alix von Schirp",
|
||||||
"url": "https://b00tload.space"
|
"url": "https://b00tload.space"
|
||||||
},
|
},
|
||||||
"main": "dist/index.js",
|
"repository": {
|
||||||
"scripts": {
|
"type": "git",
|
||||||
"build": "tsc",
|
"url": "git+https://github.com/cis-oss/pushover.git"
|
||||||
"lint": "eslint --cache .",
|
},
|
||||||
"typecheck": "tsc --noEmit",
|
"bugs": {
|
||||||
"format:check": "prettier --check .",
|
"url": "https://github.com/cis-oss/pushover/issues"
|
||||||
"check": "pnpm lint && pnpm typecheck",
|
},
|
||||||
"prepare": "husky",
|
"keywords": [
|
||||||
"docs:generate": "typedoc"
|
"mobile",
|
||||||
|
"notification",
|
||||||
|
"notifications",
|
||||||
|
"push",
|
||||||
|
"pushover"
|
||||||
|
],
|
||||||
|
"dependencies": {
|
||||||
|
"zod": "^3.24.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.22.0",
|
"@eslint/js": "^9.22.0",
|
||||||
@@ -38,30 +32,40 @@
|
|||||||
"@types/node": "^22.13.10",
|
"@types/node": "^22.13.10",
|
||||||
"eslint": "^9.22.0",
|
"eslint": "^9.22.0",
|
||||||
"eslint-config-prettier": "^10.1.1",
|
"eslint-config-prettier": "^10.1.1",
|
||||||
|
"finepack": "^2.12.7",
|
||||||
"globals": "^16.0.0",
|
"globals": "^16.0.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"lint-staged": "^15.4.3",
|
"lint-staged": "^15.4.3",
|
||||||
"prettier": "3.5.3",
|
"prettier": "3.5.3",
|
||||||
"typedoc": "^0.27.9",
|
"typedoc": "^0.27.9",
|
||||||
|
"typedoc-github-theme": "^0.2.1",
|
||||||
"typedoc-plugin-coverage": "^3.4.1",
|
"typedoc-plugin-coverage": "^3.4.1",
|
||||||
"typedoc-plugin-extras": "^4.0.0",
|
"typedoc-plugin-extras": "^4.0.0",
|
||||||
"typedoc-plugin-include-example": "^2.0.2",
|
"typedoc-plugin-include-example": "^2.0.2",
|
||||||
"typedoc-plugin-inline-sources": "^1.2.1",
|
"typedoc-plugin-inline-sources": "^1.2.1",
|
||||||
"typedoc-plugin-mdn-links": "^5.0.1",
|
"typedoc-plugin-mdn-links": "^5.0.1",
|
||||||
"typedoc-plugin-zod": "^1.4.0",
|
"typedoc-plugin-zod": "^1.4.0",
|
||||||
"typedoc-github-theme": "^0.2.1",
|
|
||||||
"typescript": "^5.5.3",
|
"typescript": "^5.5.3",
|
||||||
"typescript-eslint": "^8.26.0"
|
"typescript-eslint": "^8.26.0"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "tsc",
|
||||||
|
"check": "pnpm lint && pnpm typecheck",
|
||||||
|
"docs:generate": "typedoc",
|
||||||
|
"format:check": "prettier --check .",
|
||||||
|
"lint": "eslint --cache .",
|
||||||
|
"prepare": "husky",
|
||||||
|
"typecheck": "tsc --noEmit"
|
||||||
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"husky": {
|
||||||
|
"shell": "bash"
|
||||||
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
"package.json": "finepack",
|
||||||
"*.{js,ts,jsx,tsx}": "eslint --cache --fix . || true",
|
"*.{js,ts,jsx,tsx}": "eslint --cache --fix . || true",
|
||||||
"*.{js,ts,jsx,tsx,json,css,md}": "prettier --write"
|
"*.{js,ts,jsx,tsx,json,css,md}": "prettier --write"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"type": "module"
|
||||||
"zod": "^3.24.2"
|
|
||||||
},
|
|
||||||
"husky": {
|
|
||||||
"shell": "bash"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
670
pnpm-lock.yaml
generated
670
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user