{"id":15391020,"url":"https://github.com/michalkvasnicak/create-js-app","last_synced_at":"2025-04-15T21:44:13.087Z","repository":{"id":57228450,"uuid":"67921889","full_name":"michalkvasnicak/create-js-app","owner":"michalkvasnicak","description":"[DEPRECATED!! - see readme] Create full stack javascript applications with no configuration. Powered by webpack 2, eslint, flowtype, ...","archived":false,"fork":false,"pushed_at":"2017-06-11T09:04:57.000Z","size":354,"stargazers_count":12,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-19T04:47:28.958Z","etag":null,"topics":["bundler","create-js-app","create-react-app","javascript","universal","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/michalkvasnicak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-11T09:37:48.000Z","updated_at":"2023-06-26T15:36:22.000Z","dependencies_parsed_at":"2022-09-12T23:51:17.988Z","dependency_job_id":null,"html_url":"https://github.com/michalkvasnicak/create-js-app","commit_stats":null,"previous_names":[],"tags_count":116,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalkvasnicak%2Fcreate-js-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalkvasnicak%2Fcreate-js-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalkvasnicak%2Fcreate-js-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michalkvasnicak%2Fcreate-js-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michalkvasnicak","download_url":"https://codeload.github.com/michalkvasnicak/create-js-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233034701,"owners_count":18614890,"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":["bundler","create-js-app","create-react-app","javascript","universal","webpack"],"created_at":"2024-10-01T15:09:38.068Z","updated_at":"2025-01-10T02:57:21.271Z","avatar_url":"https://github.com/michalkvasnicak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create JS App [![CircleCI](https://circleci.com/gh/michalkvasnicak/create-js-app/tree/master.svg?style=svg\u0026circle-token=ea51ecdfaed48e61f96b998f9731896b9ffe4776)](https://circleci.com/gh/michalkvasnicak/create-js-app/tree/master)\n\n**This project is not longer maintained. There is a replacement tool [spust](https://github.com/michalkvasnicak/spust) which is maintained and easier to use**\n\nCreate any javascript application with no build configuration using\nyour own or predefined project templates and build plugins.\n\nThis project is highly influenced by the [Create React App](https://github.com/facebookincubator/create-react-app). I thank its authors.\n\n## TL;DR\n\n```\nnpm install -g create-js-app\n\ncreate-js-app create my-app\ncd my-app/\nnpm start\n```\nThis will open your application in a browser (or you can navigate to [http://localhost:3000](http://localhost:3000]).\n\nWhen you’re ready to deploy to production, create a minified bundle with `npm run build`.\n\n## Disclaimer\n\nThis project is currently under occassional development. This means that if I encounter a bug, or if a new simple feature comes to mind, I will be continuing to work on it.\n\n**I am using this project at my work actively with features that are currently available (and these features are all I need for now).**\n\n**You can create your own plugins or templates easily if there is something you miss.**\n\n## Installation\n\n```\n# using npm\nnpm install -g create-js-app\n\n# using yarn\nyarn global add create-js-app\n```\n\nThis command will install `create-js-app` globally.\n\n**You will need to have Node \u003e= 6.0 on you machine**\n\n## Getting started\n\nYou have two options of how to create an application. The first one is creating an application using [default project template](https://github.com/michalkvasnicak/create-js-app/tree/master/packages/js-app-template-universal) (which is using [js-app-plugin-universal-webpack](https://github.com/michalkvasnicak/create-js-app/tree/master/packages/js-app-plugin-universal-webpack) under the hood) and the second is creating an application using a template of your own choosing.\n\n### 1. Creating an application\n\n#### Create a new project with default template**\n\n```\ncreate-js-app create \u003cproject-directory-to-create\u003e\n```\n\nThis will create a project with default template `js-app-template-universal` which is suitable for creating universal React application.\n\n##### Example\n\n```\ncreate-js-app create my-app\ncd my-app/\n```\n\n#### Create a new project with custom template\n\n```\ncreate-js-app create \u003cproject-directory-to-create\u003e --template \u003cpackage-name\u003e\n```\n\nThis will create a project with a template of your own choosing.\n\n##### Example\n\n```\ncreate-js-app create my-app --template js-app-plugin-universal-webpack\ncd my-app/\n```\n\n### 2. Develop and test the application\n\nThere are only two commands you need during the development: `npm run start` and `npm run test`.\n\n#### Development mode\n\nFirst you need to develop your application. To start the development mode you need to run following command in a project directory.\n\n```\nnpm start\n```\n\nThis will start your application. If you are using default project template then it opens the application in your browser.\n\n#### Test mode\n\nDuring development you may need to test your application. In this case use the following command.\n\n```\nnpm test\n```\n\nThis command will start the jest test runner in watch mode (any change detected in source files will trigger tests).\n\n#### For advanced users\n\n##### Running in CI\n\nTest command will detect if `process.env.CI` is set, if it is so then it runs tests only once.\n\n##### Tests environment (`node|jsdom`)\n\nBy default `test` command runs tests in `jsdom` environment. If you want to change it to node please use it with the `--node` argument like this `npm run test -- --node`.\n\n### 3. Deploy to production\n\nWhen you are done with development or you have reached a feature set that can be deployed. Just run the following command to get a minified build of your application.\n\n```\nnpm run build\n```\n\nThis will generate a `build` directory which contains everything you need to run your application.\n\n**If you are using a custom template and not the `js-app-template-universal` please make sure that the build destination is the same. This destination can differ if the template is using some custom plugin.**\n\n### 4. Profit\n\nCongratulations. You are now ready to create your first javascript application.\n\n## Advanced topics\n\n* Creating your own plugin [TODO]\n\n## Alternatives\n\nIf this project does not fulfill your needs, you might want to explore\nalternatives. Some of the more popular ones are:\n\n* [insin/nwb](https://github.com/insin/nwb)\n* [mozilla-neutrino/neutrino-dev](https://github.com/mozilla-neutrino/neutrino-dev)\n* [NYTimes/kyt](https://github.com/NYTimes/kyt)\n* [zeit/next.js](https://github.com/zeit/next.js)\n* [gatsbyjs/gatsby](https://github.com/gatsbyjs/gatsby)\n* [enclave](https://github.com/eanplatter/enclave)\n* [motion](https://github.com/motion/motion)\n* [quik](https://github.com/satya164/quik)\n* [sagui](https://github.com/saguijs/sagui)\n* [roc](https://github.com/rocjs/roc)\n* [aik](https://github.com/d4rkr00t/aik)\n* [react-app](https://github.com/kriasoft/react-app)\n* [dev-toolkit](https://github.com/stoikerty/dev-toolkit)\n* [tarec](https://github.com/geowarin/tarec)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalkvasnicak%2Fcreate-js-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichalkvasnicak%2Fcreate-js-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichalkvasnicak%2Fcreate-js-app/lists"}