{"id":22771855,"url":"https://github.com/zdying/hiipack","last_synced_at":"2025-04-15T05:30:39.372Z","repository":{"id":57264225,"uuid":"65350233","full_name":"zdying/hiipack","owner":"zdying","description":"hiipack is a front end development tool based on webpack.","archived":false,"fork":false,"pushed_at":"2020-10-17T06:28:22.000Z","size":749,"stargazers_count":23,"open_issues_count":2,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-15T02:31:40.033Z","etag":null,"topics":["compression","developer-tools","front-end","nodejs","proxy","proxy-server","webpack"],"latest_commit_sha":null,"homepage":null,"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/zdying.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}},"created_at":"2016-08-10T04:21:53.000Z","updated_at":"2021-02-04T23:12:38.000Z","dependencies_parsed_at":"2022-08-25T02:52:03.308Z","dependency_job_id":null,"html_url":"https://github.com/zdying/hiipack","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdying%2Fhiipack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdying%2Fhiipack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdying%2Fhiipack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zdying%2Fhiipack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zdying","download_url":"https://codeload.github.com/zdying/hiipack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249014532,"owners_count":21198622,"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":["compression","developer-tools","front-end","nodejs","proxy","proxy-server","webpack"],"created_at":"2024-12-11T16:17:34.155Z","updated_at":"2025-04-15T05:30:39.326Z","avatar_url":"https://github.com/zdying.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hiipack\n\nhiipack is a front-end development tool based on the Webpack.\n\n[![webpack](https://img.shields.io/badge/hiipack-%20based%20on%20webpack%20-green.svg?style=flat)](https://webpack.github.io/)\n[![Node.js version](https://img.shields.io/badge/node-%3E%3D0.12.7-orange.svg)](https://nodejs.org/)\n[![NPM version](https://img.shields.io/npm/v/hiipack.svg?style=flat)](https://www.npmjs.org/package/hiipack)\n[![npm](https://img.shields.io/npm/dm/hiipack.svg)](https://www.npmjs.com/package/hiipack)\n[![Build Status](https://travis-ci.org/zdying/hiipack.svg?branch=master)](https://travis-ci.org/zdying/hiipack)\n\nhiipack is a front-end development tool based on the Webpack, it simplifies the Webpack configuration so that you can easily build a project.\nIt provides code pack, compression, synchronization and other functions.\nhiipack has a local development service, can run multiple projects simultaneously.\nIn addition, hiipack also has a built-in proxy server can fulfill the request forwarding, \nincluding the mutual conversion between HTTP and HTTPS proxy.\n\n## Screenshot\n    \n1. Development server\n![hiipack development server](http://i.imgur.com/0cMSrm0.gif)\n\n2. Pack and Min\n![hiipack pack and min command](http://i.imgur.com/ilvd35M.gif)\n\n3. Proxy server\n\n## Features\n\n* Local development service\n* Code pack\n* Compress/uglify\n* Sync code to remote server\n* Easy to configure\n* Built-in proxy\n* Built-in Hosts\n* Built-in proxy config (Similar to nginx configuration file syntax)\n* HTTPS support\n* Easy to create https certificate\n\n## Install\n\n```bash\nnpm install hiipack -g\n```\n\n### Usage\n    \n```bash\nhii [options] [command]\n``` \n\n## Commands\n  \n```bash\ninit \u003cname\u003e                   initialize project\nstart                         create a local server\nmin                           compress/uglify project files\npack                          pack project files\nlocal \u003cproject\u003e               pack local project files\nsync                          synchronize the current directory to remote server\ntest                          run unit test\nclear                         clear resulting folders of hiipack\nconfig [operation] [args...]  hiipack config, `operation`: [empty]|list|set|delete\nssl [operation] [args...]     ssl certificate manage, `operation`: [empty]|create-root-ca|ssl-path\n```\n  \n## Options\n  \n```bash\n-h, --help                  output usage information\n-v, --version               output the version number\n-o, --open [open]           open in browser, one of: chrome|firefox|safari|opera\n-p, --port \u003cport\u003e           service port\n-r, --registry \u003cregistry\u003e   npm registry address\n-d, --debug                 print debug log\n-s, --sync-conf \u003csyncConf\u003e  custom sync config\n-D, --detail                print debug and error detail log\n-x, --proxy                 start the proxy server\n-t, --type \u003ctype\u003e           project type: one of react|react-redux|es6|vue|normal|empty\n--no-color                  disable log color\n--no-hot-reload             disable hot reload\n--log-time                  display log time\n--https                     start https server\n--proxy-port \u003cproxyPort\u003e    proxy server port\n--ssl-key \u003csslKey\u003e          ssl key file\n--ssl-cert \u003csslCert\u003e        ssl cert file\n--ca-name \u003ccaName\u003e          CA name, for command: `ssl create-cert`|`ssl create-root-ca`\n--sub-domains \u003csubDomains\u003e  sub domians, for command: `ssl create-cert`\n--grep \u003cgrepContent\u003e        grep log: debug|access|info|error|warn|detail|\u003cAny other string\u003e\n```\n\n## Get Start\n\n#### Create project\n\n```bash\nhii init project_name -t es6 # use es6 project template\n```\n\n#### Start local development server\n\n```bash\nhii start -xo --https -p 9000 # start proxy server, open browser, enable https, port 9000\n```\n\n#### Preview in browser\n\nAfter you execute the above command, hiipack will open a browser window and set up the proxy,\nthis window is independent of other browser window, so only this browser window's request through the proxy server.\n\n#### Coding...\n\nNow, you can start to enjoy writing your code :)\n\n#### Build beta version code\n\n```bash\ncd project_name\nhii pack\n```\n\n#### Build production version code\n\n```bash\ncd project_name\nhii min\n```\n\n#### Sync your beta version to remote server\n\n```bash\nhii sync\n```\n\n**Note**: you can config the remote server, default config file is `dev.json`.\n\n\n## Examples\n\n```bash\n$ hii init project_name -t es6\n\n$ hii start -xodD --https --ssl-cert ssl/cert/file --ssl-key ssl/key/file\n$ hii start -p 8800\n\n$ hii pack -dD --log-time --no-color\n$ hii sync\n$ hii min -dD --log-time\n\n$ hii config list\n$ hii config set system_proxy xxx.yyy.zzz:25\n$ hii config delete system_proxy\n\n$ hii ssl create-root-ca RootCAName\n$ hii ssl create-cert www.example.com --ca-name RootCAName\n```\n\n## Documention\n\n  [Documention](https://zdying.gitbooks.io/hiipack_doc/content/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdying%2Fhiipack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzdying%2Fhiipack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzdying%2Fhiipack/lists"}