{"_id":"@carlos3g/create-config","name":"@carlos3g/create-config","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@carlos3g/create-config","version":"0.1.0","description":"Scaffold a project onto carlos3g's shared ESLint, Prettier, TypeScript and commitlint config.","keywords":["create","scaffold","code-style","eslint","prettier","tsconfig","commitlint"],"homepage":"https://github.com/carlos3g/code-style/tree/main/packages/create-config#readme","bugs":{"url":"https://github.com/carlos3g/code-style/issues"},"repository":{"type":"git","url":"git+https://github.com/carlos3g/code-style.git","directory":"packages/create-config"},"license":"MIT","author":{"name":"carlos3g"},"type":"module","bin":{"create-config":"index.mjs"},"exports":{".":"./index.mjs"},"scripts":{"check":"node --check index.mjs","test":"node test/smoke.mjs"},"publishConfig":{"access":"public"},"engines":{"node":">=20.0.0"},"gitHead":"f5467e7a2b0a1fe44a39e82ded3d3b17ed7cdabd","_id":"@carlos3g/create-config@0.1.0","_nodeVersion":"24.11.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-Qr+hduwVbtEpJgF9PSbVeMRqFUkElVSekDHoVl8TSZyUd2wvZifb17ZI7OgUb0UHGbeNtxSSXBbsfydydO53dw==","shasum":"c1df302108578265a57eab12d5e7dc56ac592b3f","tarball":"https://registry.npmjs.org/@carlos3g/create-config/-/create-config-0.1.0.tgz","fileCount":4,"unpackedSize":11119,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA5LIHo3h2jSiUZsoUmgRrGI2+dWhz/toYMS9JhLamA4AiEA/jw2MDq+HdH5+CnRjAxN72LFYF4kYELthoVlZGPwFIU="}]},"_npmUser":{"name":"carlos3g","email":"carlosmesquita156@gmail.com"},"directories":{},"maintainers":[{"name":"carlos3g","email":"carlosmesquita156@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/create-config_0.1.0_1779331462224_0.3793812856243197"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-21T02:44:22.114Z","0.1.0":"2026-05-21T02:44:22.359Z","modified":"2026-05-21T02:44:22.527Z"},"maintainers":[{"name":"carlos3g","email":"carlosmesquita156@gmail.com"}],"description":"Scaffold a project onto carlos3g's shared ESLint, Prettier, TypeScript and commitlint config.","homepage":"https://github.com/carlos3g/code-style/tree/main/packages/create-config#readme","keywords":["create","scaffold","code-style","eslint","prettier","tsconfig","commitlint"],"repository":{"type":"git","url":"git+https://github.com/carlos3g/code-style.git","directory":"packages/create-config"},"author":{"name":"carlos3g"},"bugs":{"url":"https://github.com/carlos3g/code-style/issues"},"license":"MIT","readme":"# @carlos3g/create-config\n\nScaffold a project onto [carlos3g's code style](https://github.com/carlos3g/code-style)\nin one command — ESLint, Prettier, TypeScript, commitlint, EditorConfig and\nhusky git hooks, all wired to the `@carlos3g/*` config packages.\n\n```bash\nnpm create @carlos3g/config\n```\n\nIt prompts for the stack, then writes the config and prints the install command.\nNon-interactive:\n\n```bash\nnpm create @carlos3g/config -- --stack nest\n```\n\n## Stacks\n\n| Stack   | ESLint preset | TypeScript base                            |\n| ------- | ------------- | ------------------------------------------ |\n| `nest`  | `nest`        | `@carlos3g/tsconfig/nestjs.json`           |\n| `react` | `react`       | `@carlos3g/tsconfig/vite-react.json`       |\n| `expo`  | `expo`        | `expo/tsconfig.base` + `react-native.json` |\n| `node`  | `base`        | `@carlos3g/tsconfig/node.json`             |\n\n## What it does\n\n- Writes `eslint.config.mjs`, `tsconfig.json`, `.editorconfig`, `.nvmrc`,\n  `.commitlintrc.json`, `.lintstagedrc.json`, `.prettierignore` and the\n  `.husky/pre-commit` + `.husky/commit-msg` hooks.\n- Adds the `prettier` key and `lint` / `format` / `prepare` scripts to\n  `package.json` — without clobbering anything already there.\n- Prints the exact dev-dependency install command for your package manager.\n\nExisting files are kept untouched unless you pass `--force`.\n\n## Options\n\n```\n-s, --stack <name>   Pick the stack without the prompt (nest|react|expo|node).\n-f, --force          Overwrite config files that already exist.\n-h, --help           Show help.\n```\n\n## License\n\nMIT © carlos3g\n","readmeFilename":"README.md","_rev":"1-0b483f076eb9404e3fc320e2287ab279"}