36 lines
1.1 KiB
Markdown
36 lines
1.1 KiB
Markdown
# my-extension
|
|
|
|
> A minimum extension template. This template includes a manifest file.
|
|
|
|
## Available Scripts
|
|
|
|
In the project directory, you can run the following scripts:
|
|
|
|
### npm dev
|
|
|
|
**Development Mode**: This command runs your extension in development mode. It will launch a new browser instance with your extension loaded. The page will automatically reload whenever you make changes to your code, allowing for a smooth development experience.
|
|
|
|
```bash
|
|
npm dev
|
|
```
|
|
|
|
### npm start
|
|
|
|
**Production Preview**: This command runs your extension in production mode. It will launch a new browser instance with your extension loaded, simulating the environment and behavior of your extension as it will appear once published.
|
|
|
|
```bash
|
|
npm start
|
|
```
|
|
|
|
### npm build
|
|
|
|
**Build for Production**: This command builds your extension for production. It optimizes and bundles your extension, preparing it for deployment to the target browser's store.
|
|
|
|
```bash
|
|
npm build
|
|
```
|
|
|
|
## Learn More
|
|
|
|
To learn more about creating cross-browser extensions with Extension.js, visit the [official documentation](https://extension.js.org).
|