Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prettier/prettier-browser-extension
Prettier Browser Extension
https://github.com/prettier/prettier-browser-extension
Last synced: 2 months ago
JSON representation
Prettier Browser Extension
- Host: GitHub
- URL: https://github.com/prettier/prettier-browser-extension
- Owner: prettier
- License: mit
- Created: 2019-10-08T19:50:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-13T00:11:10.000Z (about 1 year ago)
- Last Synced: 2024-08-05T11:12:04.117Z (4 months ago)
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/prettier/fbcfnmplppajblbmdehballiekfgdkhp
- Size: 3.34 MB
- Stars: 199
- Watchers: 9
- Forks: 19
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - prettier-chrome-extension - Prettier Chrome Extension (JavaScript)
README
# Prettier Browser Extension
> Extension that adds support for prettifying input boxes that support Markdown or Code. Currently supports Chrome and Firefox.
## Chrome Web Store
[Install](https://chrome.google.com/webstore/detail/prettier/fbcfnmplppajblbmdehballiekfgdkhp) the extension from the store.
## Development
### Install Dependencies
```
yarn
```### Build
For a one-time build in production:
```
yarn build
```#### Test in Chrome locally
To watch files and rebuild when files change in development:
```
yarn dev:chrome# or
yan dev:firefox
```To open React devtools for the options page:
```
yarn react-devtools
```- Chrome Settings > More Tools > Extensions...
- Turn on Developer mode
- Load unpacked > Select the `extension/chrome` directory#### Test in Chrome locally
To watch files and rebuild when files change in development:
```
yarn build:firefox:dev
yarn launch:firefox
```To open React devtools for the options page:
```
yarn react-devtools
```### Lint files
```
yarn lint
```### Format files
```
yarn format
```### Run tests (to be added in the future)
```
yarn test-only
```### Run all of the above
```
yarn test
```## Help
We would love your [help](https://github.com/prettier/prettier-browser-extension/issues) :)