暴力猴 https://violentmonkey.github.io/
|
|
4 سال پیش | |
|---|---|---|
| .github | 5 سال پیش | |
| scripts | 4 سال پیش | |
| src | 4 سال پیش | |
| test | 5 سال پیش | |
| .babelrc.js | 6 سال پیش | |
| .browserslistrc | 6 سال پیش | |
| .editorconfig | 9 سال پیش | |
| .eslintignore | 9 سال پیش | |
| .eslintrc.js | 6 سال پیش | |
| .gitignore | 5 سال پیش | |
| LICENSE | 9 سال پیش | |
| README.md | 5 سال پیش | |
| gulpfile.js | 4 سال پیش | |
| jsconfig.json | 4 سال پیش | |
| package.json | 4 سال پیش | |
| yarn.lock | 4 سال پیش |
Violentmonkey provides userscripts support for browsers. It works on browsers with WebExtensions support.
More details can be found here.
Make sure Node.js greater than v10.0 and Yarn v1.x is installed.
# Install dependencies
$ yarn
# Watch and compile
$ yarn dev
Then load the extension from 'dist/'.
After a new (pre)release is created, we should build the project and upload to web stores.
# Build for normal releases
$ yarn build
# Build for self-hosted release that has an update_url
$ yarn build:selfHosted
Just create a tag and push it.
When a tag is pushed to GitHub, a (pre)release will be created with assets built by GitHub Actions.
# Create a prerelease
$ yarn bump
# Create a patch release
$ yarn version --patch