userscripts icon indicating copy to clipboard operation
userscripts copied to clipboard

Ehfive’s userscripts monorepo

= userscripts Huang-Huang Bao [email protected]

Ehfive's userscripts monorepo

|=== |userscripts/ | Link | Description

|enable-vue-devtools |link:userscripts/enbale-vue-devtools[] |Force enable Vue Devtools for a Vue production build. |===

|=== |packages | Link | Description

|@userscripts/polyfills | link:packages/polyfills[] | Greasemonkey v4 polyfill; set GM in unsafeWindow

|@userscripts/axios-config | link:packages/axios-config[] | Helpers config axios to using GM.xmlhttpRequest (fallback to XmlhttpRequest if GM.xmlhttpRequest not defined) |===

== Hacking

TIP: This project using link:https://github.com/yarnpkg/berry[yarn@berry]

Install latest yarn v1 or v2 globally. link:https://classic.yarnpkg.com/en/docs/install[doc]

$ # using package manager (apt, pacman, homebrew, .etc) $ apt-get install yarn

Or simply set an alias

$ # at project root $ alias yarn="node "$(pwd)/.yarn/releases/yarn-rc.js""

Run yarn

$ # at project root $ yarn