no building

This commit is contained in:
David Reed 2023-02-05 15:57:38 -05:00
parent 3553414e3a
commit 77c8c13bef
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F
2 changed files with 1 additions and 45 deletions

View file

@ -4,47 +4,6 @@
Static files/assets used to spin up an Ultraviolet website. Static files/assets used to spin up an Ultraviolet website.
## Packaging
1. Clone the repository
```sh
git clone https://github.com/titaniumnetwork-dev/Ultraviolet-Static.git
cd Ultraviolet-Static
```
2. Install dependencies
```sh
npm install
```
3. Make your changes...
4. Produce the `dist/` directory and import the Ultraviolet scripts
```sh
npm run build
```
5. Package for NPM to produce `ultraviolet-static.X.X.X.tar.gz` file
```sh
npm pack
```
## Install in [Ultraviolet-App](https://github.com/titaniumnetwork-dev/Ultraviolet-App.git) ## Install in [Ultraviolet-App](https://github.com/titaniumnetwork-dev/Ultraviolet-App.git)
1. Follow installation steps until you need to run `npm install` See [Ultraviolet-App's Wiki](https://github.com/titaniumnetwork-dev/Ultraviolet-App/wiki/Customizing-your-frontend).
2. Install the produced Ultraviolet-Static tgz (upload to Discord, Github, etc...) (see [Packaging](#packaging))
```sh
npm install https://github.com/titaniumnetwork-dev/Ultraviolet-Static/releases/download/v1.0.0/ultraviolet-static-1.0.0.tgz
# OR
npm install ../path/to/ultraviolet-static-1.0.0.tgz
```
3. Continue instructions...
```sh
npm start
```

View file

@ -3,9 +3,6 @@
"main": "lib/index.js", "main": "lib/index.js",
"version": "1.0.2", "version": "1.0.2",
"type": "module", "type": "module",
"scripts": {
"build": "node scripts/build.js"
},
"files": [ "files": [
"public", "public",
"lib" "lib"