{"_id":"@charlontank/create-lamdera-app","_rev":"2-e47a08af5ca8f99910782206f63ec7e4","name":"@charlontank/create-lamdera-app","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@charlontank/create-lamdera-app","version":"1.0.0","keywords":["lamdera","elm","create-app","generator"],"author":{"name":"Charles-André Assus"},"license":"MIT","_id":"@charlontank/create-lamdera-app@1.0.0","maintainers":[{"name":"charlontank","email":"hartosquatique@gmail.com"}],"bin":{"create-lamdera-app":"index.js"},"dist":{"shasum":"b5cab43751fcbde8e53029ca47101564916089f3","tarball":"https://registry.npmjs.org/@charlontank/create-lamdera-app/-/create-lamdera-app-1.0.0.tgz","fileCount":5,"integrity":"sha512-jG0bfnoP1ppstFlNoC3MBxL/7yQf6+VIQD/bmY5/afAX14aP/pbLKJD91moXSvGmMU2DLvXoEqVuw8YDvPAjhg==","signatures":[{"sig":"MEQCID4xchkQXRqjn5++mNnNlF5nqqslZPSv8m7HvSwgXqKaAiAtQJQSzHiHsZp5zzA3bMwZuVLoqI9wWhLx50hVjIrhZw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16666},"main":"index.js","gitHead":"b2c8857577c9cb941e1eb6b607e5534cfc5bbfb0","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"charlontank","email":"hartosquatique@gmail.com"},"_npmVersion":"10.9.2","description":"A utility script to initialize a new Lamdera application with common utilities and configurations","directories":{},"_nodeVersion":"23.4.0","dependencies":{"chalk":"^4.1.2"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/create-lamdera-app_1.0.0_1736351828260_0.008262609043965918","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@charlontank/create-lamdera-app","version":"1.3.0","description":"A modern CLI tool to scaffold Lamdera applications with Tailwind CSS, i18n, dark mode, and testing support","keywords":["lamdera","elm","create-app","scaffold","generator","cli","tailwind","i18n","testing","fullstack"],"homepage":"https://github.com/CharlonTank/create-lamdera-app#readme","bugs":{"url":"https://github.com/CharlonTank/create-lamdera-app/issues"},"repository":{"type":"git","url":"git+https://github.com/CharlonTank/create-lamdera-app.git"},"license":"MIT","author":{"name":"Charles-André Assus","url":"https://github.com/CharlonTank"},"main":"index.js","bin":{"create-lamdera-app":"index.js"},"scripts":{"test":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","lint":"eslint index.js test/**/*.js","format":"prettier --write \"**/*.{js,json,md}\"","prepare":"husky install","prepublishOnly":"npm test","version":"npm run format && git add -A","postversion":"git push && git push --tags"},"dependencies":{"chalk":"^4.1.2"},"devDependencies":{"@types/jest":"^29.5.14","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","husky":"^8.0.3","jest":"^30.0.0","prettier":"^3.3.3"},"engines":{"node":">=14.0.0","npm":">=6.0.0"},"preferGlobal":true,"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_id":"@charlontank/create-lamdera-app@1.3.0","gitHead":"5599b31acca0b828bdba2174f52c5fbf0df47fdb","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-2RaxFGP0Wi+kCrkOIefDvE6OQ6wgl8ciG+DL9Z0Ynfa6Q2OjH76jeZYxOVzhRkEq9av1BP9sN79UyReItZ+JKg==","shasum":"34a4ccdeb43fd3de7998a85f7fb7d7a533179ab2","tarball":"https://registry.npmjs.org/@charlontank/create-lamdera-app/-/create-lamdera-app-1.3.0.tgz","fileCount":58,"unpackedSize":2069273,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIA4VwpvzVdNFfx0ADG96WLJoIpdCgPFIZQez64t5q0k8AiAyd1Zdfj/4ZF7iX36Ga/+iT8RcZT5bvCRE187sVLtuKA=="}]},"_npmUser":{"name":"charlontank","email":"hartosquatique@gmail.com"},"directories":{},"maintainers":[{"name":"charlontank","email":"hartosquatique@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/create-lamdera-app_1.3.0_1749813829063_0.9996758347925203"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-08T15:57:08.140Z","modified":"2025-06-13T11:23:49.483Z","1.0.0":"2025-01-08T15:57:08.459Z","1.3.0":"2025-06-13T11:23:49.301Z"},"author":{"name":"Charles-André Assus","url":"https://github.com/CharlonTank"},"license":"MIT","keywords":["lamdera","elm","create-app","scaffold","generator","cli","tailwind","i18n","testing","fullstack"],"description":"A modern CLI tool to scaffold Lamdera applications with Tailwind CSS, i18n, dark mode, and testing support","maintainers":[{"name":"charlontank","email":"hartosquatique@gmail.com"}],"readme":"# create-lamdera-app\n\nA modern CLI tool to scaffold [Lamdera](https://lamdera.com) applications with built-in support for Tailwind CSS, internationalization (i18n), dark mode, and testing.\n\n## Features\n\n- 🚀 **Quick Setup** - Get a working Lamdera app in seconds\n- 🎨 **Tailwind CSS** - Beautiful, responsive designs out of the box\n- 🌍 **i18n Support** - Built-in internationalization (EN/FR) with easy extension\n- 🌓 **Dark Mode** - System-aware dark/light theme switching\n- 🧪 **Testing Ready** - lamdera-program-test integration for reliable tests\n- 📝 **Editor Support** - Cursor editor integration with custom rules\n- 🔧 **Dev Tools** - Hot reload, debugger toggle, and more\n- ⚡ **Bun Support** - Use Bun for 10x faster package installs\n\n## Installation\n\n```bash\nnpm install -g @CharlonTank/create-lamdera-app\n```\n\n## Usage\n\n### Create a new project\n\n```bash\ncreate-lamdera-app\n```\n\nFollow the interactive prompts to configure your project.\n\n### Non-interactive mode\n\n```bash\ncreate-lamdera-app --name my-app --tailwind --i18n --test\n```\n\n### Add to existing project\n\n```bash\ncd existing-lamdera-project\ncreate-lamdera-app --init\n```\n\n## Options\n\n- `--name <project-name>` - Project name (required in non-interactive mode)\n- `--cursor <yes|no>` - Add Cursor editor support\n- `--tailwind` - Add Tailwind CSS\n- `--test` - Add lamdera-program-test for testing\n- `--i18n` - Add internationalization and dark mode\n- `--github <yes|no>` - Create GitHub repository\n- `--public/--private` - Repository visibility (with --github)\n- `--init` - Add features to existing project\n- `--package-manager <npm|bun>` - Choose package manager (default: npm)\n- `--pm <npm|bun>` - Shorthand for --package-manager\n- `--bun` - Use Bun package manager (same as --pm bun)\n- `--skip-install` - Skip package installation\n\n### Shortcuts\n\n- `--no-cursor` - Same as `--cursor no`\n- `--no-github` - Same as `--github no`\n- `--no-test` - Same as `--test no`\n\n## Project Structure\n\n```\nmy-app/\n├── src/\n│   ├── Backend.elm\n│   ├── Frontend.elm\n│   ├── Types.elm\n│   ├── Env.elm\n│   └── (optional features)\n│       ├── I18n.elm          # with --i18n\n│       ├── Theme.elm         # with --i18n\n│       ├── LocalStorage.elm  # with --i18n\n│       └── styles.css        # with --tailwind\n├── tests/                    # with --test\n│   └── Tests.elm\n├── public/\n│   └── sample.svg\n├── elm.json\n├── lamdera-dev-watch.sh\n├── toggle-debugger.py\n├── head.html\n└── (optional files)\n    ├── package.json          # with --tailwind\n    ├── tailwind.config.js    # with --tailwind\n    ├── elm-test-rs.json      # with --test\n    ├── .cursorrules          # with --cursor\n    └── openEditor.sh         # with --cursor\n```\n\n## Feature Details\n\n### Tailwind CSS Integration\n\nWhen you add Tailwind CSS (`--tailwind`), you get:\n- Pre-configured `tailwind.config.js`\n- NPM scripts for development and production builds\n- Beautiful starter template with gradient design\n- Dark mode support (when combined with `--i18n`)\n\n### Internationalization (i18n)\n\nThe `--i18n` flag adds:\n- Language switcher (English/French by default)\n- Dark/Light/System theme modes\n- LocalStorage persistence for user preferences\n- Auto-detection of browser language and system theme\n- Easy-to-extend translation system\n\n### Testing with lamdera-program-test\n\nThe `--test` flag sets up:\n- Effect pattern for testable Lamdera code\n- Example test suite\n- elm-test-rs configuration\n- Compatible with all other features\n\n### Development Tools\n\nEvery project includes:\n- `lamdera-dev-watch.sh` - Auto-recompiling development server\n- `toggle-debugger.py` - Quick debugger toggling\n- Hot reload support with elm-hot\n\n## Examples\n\n### Basic Lamdera app\n```bash\ncreate-lamdera-app --name my-app\n```\n\n### Full-featured app\n```bash\ncreate-lamdera-app --name my-app --cursor yes --tailwind --test --i18n\n```\n\n### Using Bun for faster installs\n```bash\n# Install Bun first: https://bun.sh\ncreate-lamdera-app --name my-app --tailwind --bun\n```\n\n### Add Tailwind to existing project\n```bash\ncd my-existing-app\ncreate-lamdera-app --init --tailwind\n```\n\n## Development\n\n### Running Tests\n```bash\nnpm test\nnpm run test:watch\nnpm run test:coverage\n```\n\n### Test All Feature Combinations\n```bash\n./test-all-combinations.sh\n```\n\nThis creates 8 test applications with essential feature combinations and verifies they compile correctly.\n\n## Requirements\n\n- Node.js ≥ 14.0.0\n- npm ≥ 6.0.0\n- [Lamdera](https://lamdera.com) installed\n- [elm-test-rs](https://github.com/mpizenberg/elm-test-rs) (for testing features)\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nMIT © Charles-André Assus\n\n## Acknowledgments\n\n- [Lamdera](https://lamdera.com) for the amazing platform\n- [Tailwind CSS](https://tailwindcss.com) for the utility-first CSS framework\n- [elm-test-rs](https://github.com/mpizenberg/elm-test-rs) for fast Elm testing","readmeFilename":"README.md","homepage":"https://github.com/CharlonTank/create-lamdera-app#readme","repository":{"type":"git","url":"git+https://github.com/CharlonTank/create-lamdera-app.git"},"bugs":{"url":"https://github.com/CharlonTank/create-lamdera-app/issues"}}