{"id":23076968,"url":"https://github.com/jardenliu/node-webkit-webpack-starter","last_synced_at":"2025-10-14T14:32:53.114Z","repository":{"id":98803400,"uuid":"91660286","full_name":"jardenliu/node-webkit-webpack-starter","owner":"jardenliu","description":"A Nwjs(node-webkit) development starter using Webpack.","archived":false,"fork":false,"pushed_at":"2017-05-19T09:20:46.000Z","size":9,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T18:53:46.605Z","etag":null,"topics":["demo","express","hot-reload","livereload","node-webkit","nw","nwjs","sample","starter","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jardenliu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2017-05-18T07:03:38.000Z","updated_at":"2025-07-12T08:09:17.000Z","dependencies_parsed_at":"2023-05-25T12:00:12.266Z","dependency_job_id":null,"html_url":"https://github.com/jardenliu/node-webkit-webpack-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jardenliu/node-webkit-webpack-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jardenliu%2Fnode-webkit-webpack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jardenliu%2Fnode-webkit-webpack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jardenliu%2Fnode-webkit-webpack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jardenliu%2Fnode-webkit-webpack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jardenliu","download_url":"https://codeload.github.com/jardenliu/node-webkit-webpack-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jardenliu%2Fnode-webkit-webpack-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019126,"owners_count":26086680,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["demo","express","hot-reload","livereload","node-webkit","nw","nwjs","sample","starter","webpack"],"created_at":"2024-12-16T09:59:42.982Z","updated_at":"2025-10-14T14:32:53.109Z","avatar_url":"https://github.com/jardenliu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-webkit-webpack-starter\n  A [Nwjs(node-webkit)](https://github.com/nwjs/nw.js) development starter using Webpack.\n\n* Heavily commented webpack configuration with reasonable defaults\n* ES6, and ES7 support with babel\n* Development server using express with hot reload\n* No gulp and no grunt, just npm scripts.\n\n\u003e Warning: Make sure you're using Node.js and NPM\n\n## Quick start\n\u003e Clone/Download the repo then edit `index.js` inside `/app`\n```\n  #clone this repo\n  $ git clone https://github.com/jarden-liu/node-webkit-webpack-starter.git my-nw-app\n\n  # change directory to your app\n  $ cd my-nw-app\n\n  # install the dependencies with npm or cnpm(Chinese Mirror)\n  $ npm install\n\n  # install nwjs sdk\n  $ sudo npm install -g nw --nwjs_build_type=sdk\n\n  # start the server\n  $ npm dev\n```\n\n## Table of Contents\n* [Configure](#configure)\n* [Getting Started](#getting-started)\n  * [Dependencies](#dependencies)\n  * [Installing](#installing)\n  * [Running the app](#running-the-app)\n  * [Pack the app](#pack-the-app)\n* [License](#license)\n\n## Configure\n\u003e Configure your project by edit `config.js` inside `/build`\n```\nconst DEFAULT_CONFIG = {\n  TITLE: 'node-webkit'        // index.html head title\n};\n\nconst SERVER_CONFIG = {\n  PORT: 8081                 //local dev server port\n};\n\nconst PATH_CONFIG = {\n  MAIN: 'app',              // app entry dir\n  OUTPUT: 'dist'            // app output dir\n};\n\nconst RESOLVE_CONFIG = {\n  EXTENSIONS: ['.js', '.json'],    //webpck extensions\n  ALIAS:{}                          //webpck alias\n};\n\n```\n\u003e You can also configure `webpack.config.js`、`webpack.dev.js`、`webpack.prod.js`\n\n## Getting Started\n### Dependencies\nWhat you need to run this app:\n* `node` and `nw` (Use NVM)\n* this last version is recommended\n\n### Installing\n* `fork` this repo\n* `clone` your fork\n* `npm install` to install all dependencies\n\n### Running the app\nAfter you have installed all dependencies you can now run the app with:\n```\n npm start\n```\nIt will start a local server using `express` with `webpack-dev-middleware` which will watch,rebuild,reload for you.The port will be displayed to you in terminal.As the same time, the nwjs client will auto start.\n\n### Pack the app\nAfter you've developed app, you can build and compress the app with:\n```\n  npm run build\n```\nthen the bundle files are placed on the output dir `e.g. /dist`\n\nHow to package your app by dist file?\n\nsee [http://docs.nwjs.io/package-your-app](http://docs.nwjs.io/en/latest/For%20Users/Package%20and%20Distribute/#package-your-app)\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjardenliu%2Fnode-webkit-webpack-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjardenliu%2Fnode-webkit-webpack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjardenliu%2Fnode-webkit-webpack-starter/lists"}