forked from Tetrax-10/Nord-Spotify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 2.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "nord",
"description": "Nord Themed Spotify",
"author": "Tetrax-10",
"license": "MIT",
"homepage": "https://tetrax-10.github.io/Nord-Spotify/",
"main": "./src/app.tsx",
"repository": {
"type": "git",
"url": "https://github.com/Tetrax-10/Nord-Spotify.git"
},
"bugs": {
"url": "https://github.com/Tetrax-10/Nord-Spotify/issues"
},
"scripts": {
"format": "prettier --write .",
"lint": "eslint src",
"start": "npm run watch",
"watch": "npm run spicetify-set-theme && npm run spicetify-apply && concurrently \"npm run spicetify-watch\" \"npm run watch-ext\" \"npm run watch-theme\" \"npm run watch-colors\"",
"build": "npm run spicetify-set-theme && npm run build-ext && npm run build-theme && npm run build-colors && npm run spicetify-apply",
"build-local": "npm run build-ext:local && npm run build-theme:local && npm run build-colors:local",
"watch-ext": "for /f usebackq %i in (`spicetify path -s folder`) do spicetify-creator --watch --out=%i",
"build-ext": "for /f usebackq %i in (`spicetify path -s folder`) do spicetify-creator --out=%i",
"build-ext:local": "spicetify-creator --out=dist/Nord --minify",
"watch-theme": "for /f usebackq %i in (`spicetify path -s css`) do sass --watch theme/app.scss %i --no-source-map",
"build-theme": "for /f usebackq %i in (`spicetify path -s css`) do sass theme/app.scss %i --no-source-map --no-error-css",
"build-theme:local": "sass theme/app.scss dist/Nord/user.css --no-source-map --no-error-css --style=compressed",
"watch-colors": "onchange theme/color.ini -- npm run build-colors",
"build-colors": "for /f usebackq %i in (`spicetify path -s folder`) do copyfiles --flat theme/color.ini %i",
"build-colors:local": "copyfiles --flat theme/color.ini dist/Nord",
"spicetify-set-theme": "spicetify config current_theme Nord color_scheme Spotify -q",
"spicetify-apply": "spicetify apply enable-devtools -q",
"spicetify-watch": "spicetify -s watch -q",
"update-types": "curl -s -o ./src/types/globals.d.ts https://raw.githubusercontent.com/spicetify/spicetify-cli/master/globals.d.ts"
},
"dependencies": {
"chroma-js": "^2.4.2"
},
"devDependencies": {
"@types/chroma-js": "^2.4.0",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"concurrently": "^8.0.1",
"copyfiles": "^2.4.1",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"onchange": "^7.1.0",
"prettier": "^2.8.6",
"sass": "^1.59.3",
"spicetify-creator": "^1.0.12"
}
}