Skip to content

Commit

Permalink
feat: add require script for installing require version of script
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikvilhelmberglund committed Aug 17, 2024
1 parent 5eba327 commit 2d7a923
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
},
"private": true,
"scripts": {
"dev": "vite --no-open",
"dev": "vite",
"require": "msedge 'C:\\Github\\Tampermonkey\\public\\tm-template\\require.user.js'",
"build": "vite build --watch",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json"
Expand Down
4 changes: 2 additions & 2 deletions .pasteintampermonkey.js → require.user.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// ==UserScript==
// @name tm-template
// @namespace npm/vite-plugin-monkey
// @description Load script
// @version 0.0.0
// @author monkey
// @description Load script
// @icon https://vitejs.dev/logo.svg
// @match https://x.com/home
// @require file:///C:\Github\Tampermonkey\public\tm-template\dist\tm-template.user.js
// ==/UserScript==
// ==/UserScript==

0 comments on commit 2d7a923

Please sign in to comment.