Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/7nik/test-svelte-userscript
https://github.com/7nik/test-svelte-userscript
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/7nik/test-svelte-userscript
- Owner: 7nik
- Created: 2021-05-10T23:26:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-10T20:17:47.000Z (over 3 years ago)
- Last Synced: 2023-07-22T04:19:49.394Z (over 1 year ago)
- Language: JavaScript
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Testing project for creating a userscripts using Svelte and Rollup.
# Get started
Install the dependencies...
```bash
cd test-svelte-userscript
npm install
```...then start [Rollup](https://rollupjs.org):
```bash
npm run dev
```Install a script manager, e.g. [Tampermonkey](https://www.tampermonkey.net/), open it, create a new usercript and copy content of build/calculator.user.js file, and save it.
Navitage to [Google home page](https://www.google.com/) and enjoy the calculator.
# Building and running in production mode
To create an optimised version of the app:
```bash
npm run build
```