{"id":13589309,"url":"https://github.com/wang1212/create-web-app","last_synced_at":"2025-03-17T11:30:41.168Z","repository":{"id":34986283,"uuid":"144804742","full_name":"wang1212/create-web-app","owner":"wang1212","description":":coffee: PWA（Progressive Web App） project development environment startup configuration. | PWA 项目开发环境启动配置。","archived":false,"fork":false,"pushed_at":"2025-03-03T21:56:47.000Z","size":2253,"stargazers_count":4,"open_issues_count":26,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-07T19:39:38.928Z","etag":null,"topics":["babel7","eslint","flow","jest","jsdoc","pwa-apps","reactjs","spa-apps","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wang1212.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-15T04:11:42.000Z","updated_at":"2023-03-07T10:56:30.000Z","dependencies_parsed_at":"2023-01-15T11:31:21.490Z","dependency_job_id":"b64c3aff-0a69-4860-ab74-eca55ca16c56","html_url":"https://github.com/wang1212/create-web-app","commit_stats":{"total_commits":216,"total_committers":5,"mean_commits":43.2,"dds":"0.19444444444444442","last_synced_commit":"305f56a3b468b3daa8eb92e718024a52a825f17b"},"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang1212%2Fcreate-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang1212%2Fcreate-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang1212%2Fcreate-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wang1212%2Fcreate-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wang1212","download_url":"https://codeload.github.com/wang1212/create-web-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243858056,"owners_count":20359269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel7","eslint","flow","jest","jsdoc","pwa-apps","reactjs","spa-apps","typescript","webpack"],"created_at":"2024-08-01T16:00:27.756Z","updated_at":"2025-03-17T11:30:40.069Z","avatar_url":"https://github.com/wang1212.png","language":"JavaScript","readme":"# Create Web App\n\n\u003c!-- ![MINZIPPED SIZE](https://badgen.net/bundlephobia/minzip/@wang1212/create-web-app) --\u003e\n\n![LICENSE](https://badgen.net/github/license/wang1212/create-web-app)\n[![NPM VERSION](https://badgen.net/npm/v/@wang1212/create-web-app)](https://www.npmjs.com/package/@wang1212/create-web-app)\n![DOWNLOAD](https://badgen.net/npm/dt/@wang1212/create-web-app)\n![LAST COMMIT](https://badgen.net/github/last-commit/wang1212/create-web-app)\n![GITHUB PACKAGE CI](https://img.shields.io/github/workflow/status/wang1212/create-web-app/Node.js%20Package?label=ci/package%20publish)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/7bc62c3b5faa4607a923339003583253)](https://www.codacy.com/gh/wang1212/create-web-app/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=wang1212/create-web-app\u0026utm_campaign=Badge_Grade)\n\nEnglish | [简体中文](./README.zh-CN.md)\n\n:coffee: Create [PWA（Progressive Web App）](https://web.dev/progressive-web-apps/) project development environment startup configuration.\n\n_**This package is now pure ESM, read [this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).**_\n\n_**Starting with version `0.3.0`, [flow.js][0] will no longer be used, and [typescript][1] will be used instead.**_\n\n[0]: https://flow.org/ 'Flow: A Static Type Checker for JavaScript'\n[1]: http://www.typescriptlang.org/ 'TypeScript is a typed superset of JavaScript that compiles to plain JavaScript'\n\n## Template type\n\nSupport the following types:\n\n- javascript\n- react.js（or [Official](https://create-react-app.dev/), :point_right: **now more recommended [next.js](https://nextjs.org/)** :rocket:）\n\n`javascript` type builds a PWA that doesn't depend on any development framework, while `react.js` type builds PWA based on React framework ecosystems such as React.js, Redux.js, and React Router.\n\n## Usage\n\n- You don't need to install the package on your computer, you can use it and run:\n\n  ```bash\n  npm init @wang1212/web-app\n  npx @wang1212/create-web-app // same as the previous line\n  ```\n\n- You can also install the package on your computer, use it to run:\n\n  ```bash\n  // install this package\n  npm install -g @wang1212/create-web-app\n\n  // now, use it to create a web app project\n  create-web-app\n  ```\n\nNote: `create-web-app` has an alias `create-pwa`.\n\n## Details\n\nFor more information, read `templates/*app/README.md` file contents.\n\n## Development Guidelines\n\n### Git Commit Message Format\n\nAdopt [community commit format best practices](https://www.conventionalcommits.org/):\n\n```bash\n# Before\ngit commit\n\n# Now\nnpm run commit\n```\n\n_This constraint relies on tools [commitizen](http://commitizen.github.io/cz-cli/) and [commitlint](https://commitlint.js.org/) provided by the community._\n\n### npm publish\n\nThe version management of this module adopts the specifications recommended by the community [Semantic Versioning](https://semver.org/). Follow version changes and maintain a **CHANGELOG.md**([Learn why](https://keepachangelog.com/)).\n\n```bash\n# Update version and generate changelog before publishing to npm repository\nnpm run release # npm run release -- --first-release\n# Or, preview\nnpm run release -- --dry-run\n\n# Then\nnpm publish # npm publish --access public\n```\n\n_These jobs are done with the help of [standard-version](https://github.com/conventional-changelog/standard-version) tool provided by the community._\n\n## Related\n\nIf you want to develop a node module package (library), maybe you can take a look:\n\n\u003e [create-lib-starter](https://github.com/wang1212/create-lib-starter)\n\nOr, other similar things:\n\n\u003e [awesome-template](https://github.com/wang1212/awesome-template)\n","funding_links":[],"categories":["目录"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang1212%2Fcreate-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwang1212%2Fcreate-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwang1212%2Fcreate-web-app/lists"}