Update package.json and remove unused files

This commit is contained in:
dertyp7
2024-01-18 20:51:08 +01:00
parent bd53273070
commit ec3596bd4b
8 changed files with 2474 additions and 34 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules/
dist/

View File

@@ -1,3 +0,0 @@
.ts-server-tree-item-root {
--tsv-footer-bg: red;
}

13
build.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
npm install node-sass --save-dev
# Remove old dist folder
rm -rf ./dist
# Create new dist folder
mkdir ./dist
# Move other files to dist folder
find ./src -type f ! -name "*.scss" -exec cp {} ./dist/ \;
npx node-sass --output-style compressed --source-map-contents true --precision 6 --output ./dist ./src/*.scss

6
build_dev.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
./build.sh
# cp files from dist to root folder and keep track of the files in a .dev_files_to_delete file
find ./dist -type f -exec cp {} ./ \; -exec echo {} >> .dev_files_to_delete \;

2409
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,33 +1,41 @@
{
"name": "BetterTeamSpeakTheme",
"description": "Better TeamSpeak5 Theme",
"version": "1.0.0",
"identifier": "de.dertyp7.ts",
"engines": {
"teamspeak": 1
},
"homepage": "https://community.teamspeak.com",
"docsUrl": "https://community.teamspeak.com",
"repository": "https://github.com/DerTyp7/better-teamspeak-theme",
"image": "logo.png",
"license": "MIT",
"author": {
"name": "dertyp7",
"email": "dertyp7@tealfire.de",
"url": "https://tealfire.de",
"userTag": "dertyp7@myteamspeak.com"
},
"community": {
"server": "tealfire.de"
},
"content": {
"themes": [
{
"name": "BetterTeamSpeakTheme",
"source": "BetterTeamSpeakTheme.css",
"apiVersion": 1,
"image": "logo.png"
}
]
}
"name": "betterteamspeaktheme",
"description": "Better TeamSpeak5 Theme",
"version": "1.0.0",
"identifier": "de.dertyp.betterteamspeaktheme",
"engines": {
"teamspeak": 1
},
"homepage": "https://community.teamspeak.com",
"docsUrl": "https://community.teamspeak.com",
"repository": {
"type": "git",
"url": "git+https://github.com/DerTyp7/better-teamspeak-theme.git"
},
"image": "logo.png",
"license": "MIT",
"author": "dertyp7 <dertyp7@tealfire.de> (https://tealfire.de)",
"community": {
"server": "tealfire.de"
},
"content": {
"themes": [
{
"name": "BetterTeamSpeakTheme",
"source": "BetterTeamSpeakTheme.css",
"apiVersion": 1,
"image": "logo.png"
}
]
},
"bugs": {
"url": "https://github.com/DerTyp7/better-teamspeak-theme/issues"
},
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"node-sass": "^9.0.0"
}
}

View File

@@ -0,0 +1,5 @@
.tsv-text-truncate{
.test{
counter-reset: line;
}
}

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB