Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

victorfu/nhi

Repository files navigation

Taiwan National Health Insurance Info

Installing and Running

Follow these steps to install and run the Taiwan National Health Insurance Info Chrome extension:

  1. Verify Node.js Version: Ensure your Node.js version is 18 or higher.
  2. Clone the Repository: Clone this repository to your local machine.
  3. Update Package Information: Modify the name, description, and repository fields in the package.json file to reflect your project's details.
  4. Update Extension Name: Change the name of your extension in the src/manifest.json file.
  5. Install Dependencies: Run npm install to install all necessary dependencies.
  6. Start Development Server: Run npm start to start the development server.
  7. Load Extension in Chrome:
    1. Navigate to chrome://extensions/ in your Chrome browser.
    2. Enable Developer mode by toggling the switch in the upper right corner.
    3. Click on Load unpacked and select the build folder from your project directory.
  8. Begin Development: Your extension is now loaded and ready for development.

Webpack auto-reload and HRM

Enhance your workflow efficiency with the webpack server used for development (started with npm start). It includes an auto-reload feature that automatically reloads the browser every time you save a file in your editor.

To run the development mode on a different port, specify the PORT environment variable like this:

$ PORT=6002 npm run start

Content Scripts

Check here for more information on content scripts.

Packaging

After the development of your extension run the command

$ NODE_ENV=production npm run build

Now, the contents of the build folder will be the extension ready to be submitted to the Chrome Web Store. For more information about publishing, refer to the official guide.

About

Taiwan National Health Insurance Info

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published