{"_id":"@asd14/ts-config","_rev":"7-ddc300f8d0b5c41365748e58b84a3e28","name":"@asd14/ts-config","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"@asd14/ts-config","version":"1.0.0","_id":"@asd14/ts-config@1.0.0","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"homepage":"https://github.com/asd-xiv/ts-config#readme","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"dist":{"shasum":"74582bc14d79be1d89a2c42eddad6deaed53cb49","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.0.0.tgz","fileCount":7,"integrity":"sha512-rHJNVHbGnoxlSgqumIgjXwx7OrgRsQ1orFZR7bVLUtBDPfDmr/WNDF+90kSBSuFsPRDwGyrMSgIxOFYiTxYQCA==","signatures":[{"sig":"MEYCIQDskyoLYlnl+/STcRNml0NOf1vFpJRkHdAcXqoYWD7jUgIhAPk4Ktijkgjcm1axLqMOO86mTwlkfSqab27n0Y80IJ0x","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6050},"type":"module","$schema":"https://json.schemastore.org/package.json","scripts":{"format":"prettier --write targets","release:local":"semantic-release --no-ci","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only"},"_npmUser":{"name":"andreid","email":"andrei.dumitrescu@pm.me"},"repository":{"url":"git+https://github.com/asd-xiv/ts-config.git","type":"git"},"_npmVersion":"10.9.2","description":"ASD14's reusable Typescript configs","directories":{},"sideEffects":false,"_nodeVersion":"20.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","semantic-release":"^24.2.3","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.1","@asd14/prettier-config":"^1.0.1","@semantic-release/github":"^11.0.2","@semantic-release/commit-analyzer":"^13.0.1","@semantic-release/release-notes-generator":"^14.0.3"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ts-config_1.0.0_1746307630932_0.14323947567215511","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@asd14/ts-config","version":"1.0.1","_id":"@asd14/ts-config@1.0.1","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"homepage":"https://github.com/asd-xiv/ts-config#readme","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"dist":{"shasum":"3d09436659be8c81d438dcb254c9e64c2b8f575a","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.0.1.tgz","fileCount":7,"integrity":"sha512-seMhM9p82EOno249GU00wpKGMOlfOMIrFKDmb3Zhg8dHseEgiOWpTxiBu9Uy+ZHTwchCFFt2xr20idai4GVw4g==","signatures":[{"sig":"MEUCIF5YGijbfajD8LCjI9o1OR1uibOvJ8b4/6cQSeO9WJV2AiEAuKusttf1wTM8/wNMUUEnLYvP0LT2Vf4goSKrCsRcan0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6081},"type":"module","$schema":"https://json.schemastore.org/package.json","gitHead":"a048850101573bd4169305fe7883beb96523eddd","scripts":{"format":"prettier --write targets","release:local":"semantic-release --no-ci","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only"},"_npmUser":{"name":"andreid","email":"andrei.dumitrescu@pm.me"},"repository":{"url":"git+https://github.com/asd-xiv/ts-config.git","type":"git"},"_npmVersion":"10.9.2","description":"ASD14's reusable Typescript configs","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.5.3","semantic-release":"^24.2.3","@semantic-release/git":"^10.0.1","@asd14/prettier-config":"^1.0.1"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ts-config_1.0.1_1746954280892_0.8751447570920281","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@asd14/ts-config","version":"1.1.0","_id":"@asd14/ts-config@1.1.0","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"homepage":"https://github.com/asd-xiv/ts-config#readme","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"dist":{"shasum":"2f787da80c9cfbebe4f359a8247668a070e209fc","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.1.0.tgz","fileCount":7,"integrity":"sha512-ddIVPpno9cGBACw1F7xAENjiZd0H+9JobyRa/J35ZM5mk9qDjr1J0HllXc44ZDxtFNj9lsHxThz6+BwU53UqVg==","signatures":[{"sig":"MEQCICVIhLHSyvPXyDeqf5gQ49T/5HuTLSg7WLE6+k0M3jrZAiBPdFxhF/9Pj1ANE+vTw4pQtD3DNfQbGzeX5E1IaJ+Cog==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6326},"type":"module","$schema":"https://json.schemastore.org/package.json","gitHead":"d260d4e0b919db37470b230ed2811bee6f6ed145","scripts":{"format":"prettier --write targets","prepare":"git config --local core.hooksPath .githook","----UTIL":"","---BUILD":"","release:local":"semantic-release --no-ci","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only"},"_npmUser":{"name":"andreid","email":"andrei.dumitrescu@pm.me"},"repository":{"url":"git+https://github.com/asd-xiv/ts-config.git","type":"git"},"_npmVersion":"10.9.3","description":"ASD14's reusable Typescript configs","directories":{},"sideEffects":false,"_nodeVersion":"22.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.6.2","@commitlint/cli":"^19.8.1","semantic-release":"^24.2.7","@semantic-release/git":"^10.0.1","@asd14/prettier-config":"^1.1.0","@commitlint/config-conventional":"^19.8.1","conventional-changelog-conventionalcommits":"^9.1.0"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ts-config_1.1.0_1756901031261_0.36271865340735787","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@asd14/ts-config","version":"1.2.0","_id":"@asd14/ts-config@1.2.0","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"homepage":"https://github.com/asd-xiv/ts-config#readme","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"dist":{"shasum":"c60b12576a630962bfc7b34b02e5dfa1644bbe22","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.2.0.tgz","fileCount":7,"integrity":"sha512-JygnwLH1wvdzLtkdWXlGFBolamhxWRH1LX//ucdU5+j0v6ttrf7TQTfZJ1BOvGoP1FI0+pdNQNVXBf6WGBtcMQ==","signatures":[{"sig":"MEYCIQCfEmzznCBATb8dYQp7OXve9UPEjyLHdt19Fl3Ktdfi8QIhALSsja41AvNdmqnGqDvWsG8k0xAQq9v4HvEqtKFhy/Mu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@asd14%2fts-config@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6326},"type":"module","$schema":"https://json.schemastore.org/package.json","gitHead":"5ba27fb9b409065eb247cc2b788572f2d17fcbaa","scripts":{"format":"prettier --write targets","prepare":"git config --local core.hooksPath .githook","----UTIL":"","---BUILD":"","release:local":"semantic-release --no-ci","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cd69fa81-a39d-449a-82ae-56630acf22dc"}},"repository":{"url":"git+https://github.com/asd-xiv/ts-config.git","type":"git"},"_npmVersion":"11.10.0","description":"ASD14's reusable Typescript configs","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.1","@commitlint/cli":"^20.4.1","semantic-release":"^25.0.3","@semantic-release/git":"^10.0.1","@asd14/prettier-config":"^1.1.0","@commitlint/config-conventional":"^20.4.1","conventional-changelog-conventionalcommits":"^9.1.0"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ts-config_1.2.0_1771167890272_0.4186813367207953","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@asd14/ts-config","version":"1.3.0","_id":"@asd14/ts-config@1.3.0","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"homepage":"https://github.com/asd-xiv/ts-config#readme","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"dist":{"shasum":"172bd78fc0cda7b73443162ddcfe461a3b3ec0ca","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.3.0.tgz","fileCount":7,"integrity":"sha512-bSWE7rLbj9WnUJQu8hFyIuzlaq3nopnhzNo9MTtA8g08sOLL/yCgK1aZG9/nCSEyylX7qN/pMabMsQOoW6KPkw==","signatures":[{"sig":"MEUCIQCuKCDEHxJ33sH1uESZPbW1yODPMqijLXplJafX8cp5FQIgAPrA/fXMcvo5toZf7kkQbUZIjBqogzCoak6vk5LOS0M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@asd14%2fts-config@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6326},"type":"module","$schema":"https://json.schemastore.org/package.json","gitHead":"30c7fbbbf74fbf83707cd6a42def82a0e2a992bf","scripts":{"format":"prettier --write targets","prepare":"git config --local core.hooksPath .githook","----UTIL":"","---BUILD":"","release:local":"semantic-release --no-ci","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cd69fa81-a39d-449a-82ae-56630acf22dc"}},"repository":{"url":"git+https://github.com/asd-xiv/ts-config.git","type":"git"},"_npmVersion":"11.10.0","description":"ASD14's reusable Typescript configs","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.1","@commitlint/cli":"^20.4.1","semantic-release":"^25.0.3","@semantic-release/git":"^10.0.1","@asd14/prettier-config":"^1.2.0","@commitlint/config-conventional":"^20.4.1","conventional-changelog-conventionalcommits":"^9.1.0"},"peerDependencies":{"typescript":"^5"},"_npmOperationalInternal":{"tmp":"tmp/ts-config_1.3.0_1771168006109_0.6530063033742599","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@asd14/ts-config","version":"1.4.0","_id":"@asd14/ts-config@1.4.0","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"homepage":"https://github.com/asd-xiv/ts-config#readme","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"dist":{"shasum":"3179b28bdde6a3b6925f90b9f33d04980aa5ef34","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.4.0.tgz","fileCount":7,"integrity":"sha512-7VtfrSyXho3EIl7n7Yk43X/fyhgvP4LvqWSFjdCl3roZehBUaAJqYCq8cI4C4TNGYT0tsXh+6o4mzKCkivb95Q==","signatures":[{"sig":"MEQCIFI7rRE9oE4H+I/9u9CdO9NKWrNwcUVxRxkJ1HsC1RqlAiBUXj7OCTeb90p4Bm85i/CBCjAwume2zkmRW1AwRZOYng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@asd14%2fts-config@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6332},"type":"module","$schema":"https://json.schemastore.org/package.json","gitHead":"e5a6ff2ca11fea0dd3d9f6ceddc85e1a5ac0770e","scripts":{"format":"prettier --write targets","prepare":"git config --local core.hooksPath .githook","----UTIL":"","---BUILD":"","release:local":"semantic-release --no-ci","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cd69fa81-a39d-449a-82ae-56630acf22dc"}},"repository":{"url":"git+https://github.com/asd-xiv/ts-config.git","type":"git"},"_npmVersion":"11.13.0","description":"ASD14's reusable Typescript configs","directories":{},"sideEffects":false,"_nodeVersion":"24.14.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.8.3","@commitlint/cli":"^20.5.0","semantic-release":"^25.0.3","@semantic-release/git":"^10.0.1","@asd14/prettier-config":"^1.2.0","@commitlint/config-conventional":"^20.5.0","conventional-changelog-conventionalcommits":"^9.3.1"},"peerDependencies":{"typescript":"^5 || ^6"},"_npmOperationalInternal":{"tmp":"tmp/ts-config_1.4.0_1776921742295_0.03437249699918743","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"$schema":"https://json.schemastore.org/package.json","name":"@asd14/ts-config","version":"1.5.0","description":"ASD14's reusable Typescript configs","sideEffects":false,"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/asd-xiv/ts-config.git"},"type":"module","scripts":{"----UTIL":"","prepare":"git config --local core.hooksPath .githook","format":"prettier --write targets","---BUILD":"","prerelease:local":"[ -f package-lock.json ] || npm install --no-workspaces --package-lock-only","release:local":"semantic-release --no-ci"},"peerDependencies":{"typescript":"^5 || ^6"},"devDependencies":{"@asd14/prettier-config":"^1.4.0","@commitlint/cli":"^21.0.1","@commitlint/config-conventional":"^21.0.1","@semantic-release/git":"^10.0.1","conventional-changelog-conventionalcommits":"^9.3.1","prettier":"^3.8.3","semantic-release":"^25.0.3"},"gitHead":"3101f5db4b8281bd78a14a7169cc359e55086f9a","_id":"@asd14/ts-config@1.5.0","bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"homepage":"https://github.com/asd-xiv/ts-config#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-yLiSd5zvCLoeJVBBwWCapHX/3NVr9T9DyOMUrFn0o7bXr8uh7JEO8hu3PApugOn0kedmYNd2stcpkpYPkY8eYg==","shasum":"998e43d19f2c2962cefc349f4acbe11af0ffbc26","tarball":"https://registry.npmjs.org/@asd14/ts-config/-/ts-config-1.5.0.tgz","fileCount":7,"unpackedSize":6185,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@asd14%2fts-config@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE5lTz3AiurIGFmYhH1WWSsdz5ZCr/PlVxNOmVUuOdg+AiEA0xvJ/6CqF1ajIrKQzFivtO5IVnr283BDbvYLuqN162Y="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:cd69fa81-a39d-449a-82ae-56630acf22dc"}},"directories":{},"maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ts-config_1.5.0_1779986680725_0.9157444179470902"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-03T21:27:10.829Z","modified":"2026-05-28T16:44:41.178Z","1.0.0":"2025-05-03T21:27:11.117Z","1.0.1":"2025-05-11T09:04:41.058Z","1.1.0":"2025-09-03T12:03:51.442Z","1.2.0":"2026-02-15T15:04:50.419Z","1.3.0":"2026-02-15T15:06:46.266Z","1.4.0":"2026-04-23T05:22:22.456Z","1.5.0":"2026-05-28T16:44:40.882Z"},"bugs":{"url":"https://github.com/asd-xiv/ts-config/issues"},"homepage":"https://github.com/asd-xiv/ts-config#readme","repository":{"type":"git","url":"git+https://github.com/asd-xiv/ts-config.git"},"description":"ASD14's reusable Typescript configs","maintainers":[{"name":"andreid","email":"andrei.dumitrescu@pm.me"}],"readme":"[![Release](https://github.com/asd-xiv/ts-config/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/asd-xiv/ts-config/actions/workflows/release.yml)\n[![npm version](https://img.shields.io/npm/v/@asd14/ts-config.svg)](https://www.npmjs.com/package/@asd14/ts-config)\n\n# @asd14/ts-config\n\n> ASD14's reusable TypeScript configurations.\n\n<!-- vim-markdown-toc GFM -->\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Targets](#targets)\n  - [Common Configuration](#common-configuration)\n  - [Node](#node)\n  - [React](#react)\n  - [Ink](#ink)\n- [License](#license)\n\n<!-- vim-markdown-toc -->\n\n## Installation\n\n```sh\nnpm install --save-dev @asd14/ts-config typescript@^5\n```\n\n> [!NOTE]  \n> `typescript` is a peerDependency\n\n## Usage\n\nIn your `tsconfig.json`, extend the desired configuration:\n\n```json\n{\n  \"extends\": \"@asd14/ts-config/targets/react.json\"\n}\n```\n\n## Targets\n\nThere are 3 configurations, each tailored for a specific **target environment**:\n`node`, `react` and [`ink`](https://github.com/vadimdemedes/ink).\n\n### Common Configuration\n\nAll 3 targets extend a common set of rules:\n\n```json\n{\n  \"allowImportingTsExtensions\": true,\n  \"allowJs\": true,\n  \"checkJs\": true,\n  \"declaration\": true,\n  \"esModuleInterop\": true,\n  \"forceConsistentCasingInFileNames\": true,\n  \"incremental\": true,\n  \"moduleDetection\": \"force\",\n  \"noFallthroughCasesInSwitch\": true,\n  \"noImplicitOverride\": true,\n  \"noImplicitReturns\": true,\n  \"noPropertyAccessFromIndexSignature\": true,\n  \"noUncheckedIndexedAccess\": true,\n  \"noUnusedLocals\": true,\n  \"noUnusedParameters\": true,\n  \"removeComments\": false,\n  \"resolveJsonModule\": true,\n  \"skipDefaultLibCheck\": true,\n  \"skipLibCheck\": true,\n  \"sourceMap\": true,\n  \"strict\": true\n}\n```\n\n### Node\n\n```json\n// @asd14/ts-config/targets/node.json\n{\n  \"module\": \"nodenext\",\n  \"moduleResolution\": \"nodenext\",\n  \"target\": \"es2022\",\n  \"lib\": [\"es2023\"],\n  \"types\": [\"node\"]\n}\n```\n\n### React\n\n```json\n// @asd14/ts-config/targets/react.json\n{\n  \"module\": \"esnext\",\n  \"moduleResolution\": \"bundler\",\n  \"target\": \"esnext\",\n  \"jsx\": \"preserve\",\n  \"lib\": [\"dom\", \"dom.iterable\", \"esnext\"]\n}\n```\n\n### Ink\n\n```json\n// @asd14/ts-config/targets/ink.json\n{\n  \"module\": \"esnext\",\n  \"moduleResolution\": \"nodenext\",\n  \"target\": \"esnext\",\n  \"jsx\": \"preserve\",\n  \"lib\": [\"es2023\", \"dom\"],\n  \"types\": [\"node\"]\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}