Browser bookmarklet utilities for helping with Azure DevOps.
You need:
Initially build dependencies via this command in the project folder:
yarn install
yarn build
yarn deploy
Command | Description |
---|---|
yarn build |
Build app as dev to /dist/ |
yarn build:b-total-size |
Builds /src/bookmarklet-total-size.ts to `/.build/bookmarklet-total-size.js`` |
yarn build:b-user-guid |
Builds /src/bookmarklet-user-guid.ts to /.build/bookmarklet-user-guid.js |
yarn build:env |
Delegate for above 2, runs parcel |
yarn build:html |
Takes JS files and injects as URIs into template.html content, outputting to /.build/index.html |
yarn deploy |
Deploys GitHub pages from /.build/index.html |
yarn lint |
Run Prettier linter |
yarn lint:fix |
Run Prettier linter and fix issues |
yarn clean |
Runs all clean commands below |
yarn clean:build |
Removes .build folder and its contents |
yarn clean:cache |
Removes Parcel .cache folder and its contents |
Feel free to submit a pull-request or fork as your own.
Licensed for use under the MIT License.
See LICENSE.