Lines 2-42json
2 "name": "@datalackey/typescript-build-config",
4 "description": "Shared build configuration for TypeScript projects — ESLint, and future tsconfig/Prettier presets",
6 "exports": "This block lists the config files that will be extended by files in in src/toplevel - which are copied to consuming project root folder. An example: eslint.config.js imports from '@datalackey/typescript-build-config/eslint'.",
7 "files": "These are the files included in the package tarball. Dotfiles like .gitignore are excluded by npm by default and must be listed explicitly alongside src/."
10 "main": "src/eslint.js",
12 "./eslint": "./src/eslint.js",
13 "./prettier": "./src/prettier.js",
14 "./tsconfig": "./src/tsconfig.base.json"
18 "src/top-level/.gitignore"
21 "prepack": "echo no build step required",
22 "postinstall": "node src/postinstall.js",
HighInstall Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.jsonView on unpkg · L22 MediumAmbiguous Install Lifecycle Script
Install-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkg · L22 23 "update-all-format": "prettier --write src/ && update-markdown-toc README.md",
24 "check-format": "prettier --check src/ && update-markdown-toc --check README.md",
25 "ci": "npm run check-format && node --test",
35 "@changesets/cli": "^2.29.8",
36 "@datalackey/update-markdown-toc": "^1.4.14"
39 "@typescript-eslint/eslint-plugin": "^8.0.0",
40 "@typescript-eslint/parser": "^8.0.0",