mirror of
https://github.com/vladmandic/automatic
synced 2026-08-25 22:20:46 +02:00
2ba7f9d1c8
Signed-off-by: Vladimir Mandic <mandic00@live.com>
82 lines
3.8 KiB
JSON
82 lines
3.8 KiB
JSON
{
|
|
"name": "@vladmandic/sdnext",
|
|
"description": "SD.Next: All-in-one WebUI for AI generative image and video creation",
|
|
"author": "Vladimir Mandic <mandic00@live.com>",
|
|
"private": true,
|
|
"bugs": {
|
|
"url": "https://github.com/vladmandic/sdnext/issues"
|
|
},
|
|
"homepage": "https://github.com/vladmandic/sdnext",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=24.0.0"
|
|
},
|
|
"packageManager": "pnpm@11.7.0",
|
|
"main": "ui/dist/sdnext.mjs",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vladmandic/sdnext.git"
|
|
},
|
|
"scripts": {
|
|
"venv": ". venv/bin/activate",
|
|
"start": ". venv/bin/activate; python launch.py --debug",
|
|
"localize": "node test/localize.mjs",
|
|
"packages": ". venv/bin/activate && pip install --upgrade accelerate huggingface_hub hf_xet safetensors tokenizers peft pytorch_lightning pylint ruff ty pyright",
|
|
"precommit": ". venv/bin/activate && pre-commit run --all-files",
|
|
"lint": "npm run precommit && npm run eslint && npm run tsc && npm run ruff && npm run pylint",
|
|
"test": ". venv/bin/activate; python launch.py --debug --test",
|
|
"todo": "grep -oIPR 'TODO.*' *.py modules/ pipelines/ | sort -u",
|
|
"debug": "grep -ohIPR 'SD_.*?_DEBUG' *.py modules/ pipelines/ | sort -u",
|
|
"eslint:modernui": "cd extensions-builtin/sdnext-modernui && eslint",
|
|
"eslint:kanvas": "cd extensions-builtin/sdnext-kanvas && eslint",
|
|
"eslint:core": "eslint",
|
|
"eslint": "npm run eslint:core && npm run eslint:modernui && npm run eslint:kanvas",
|
|
"tsc:modernui": "cd extensions-builtin/sdnext-modernui && tsc --noEmit",
|
|
"tsc:kanvas": "cd extensions-builtin/sdnext-kanvas && tsc --noEmit",
|
|
"tsc:core": "cd ui && tsc --noEmit",
|
|
"tsc": "npm run tsc:modernui && npm run tsc:kanvas && npm run tsc:core",
|
|
"build:modernui": "cd extensions-builtin/sdnext-modernui && build --profile production",
|
|
"build:kanvas": "cd extensions-builtin/sdnext-kanvas && build --profile production",
|
|
"build:core": "build --profile production --config ui/.build.json",
|
|
"build": "npm run build:modernui && npm run build:kanvas && npm run build:core",
|
|
"ui": "npm run eslint && npm run tsc && npm run build",
|
|
"dev:modernui": "cd extensions-builtin/sdnext-modernui && build --profile development",
|
|
"dev:kanvas": "cd extensions-builtin/sdnext-kanvas && build --profile development",
|
|
"dev:core": "build --profile development --config ui/.build.json",
|
|
"ruff": ". venv/bin/activate && ruff check",
|
|
"pylint": ". venv/bin/activate && pylint --disable fixme *.py modules/ pipelines/ scripts/ extensions-builtin/ | grep -v '^*'",
|
|
"pyright": ". venv/bin/activate && pyright --threads 4",
|
|
"ty": ". venv/bin/activate && ty check --force-exclude",
|
|
"codespell": ". venv/bin/activate && codespell",
|
|
"compile": ". venv/bin/activate && python test/test-compile.py",
|
|
"full": "npm run precommit && npm run eslint && npm run tsc && npm run ruff && npm run pylint && npm run codespell && npm run ty && npm run pyright"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/compat": "^2.1.0",
|
|
"@eslint/css": "^1.4.0",
|
|
"@eslint/js": "^9.39.5",
|
|
"@eslint/json": "^1.2.0",
|
|
"@eslint/markdown": "^8.0.3",
|
|
"@google/genai": "^2.18.0",
|
|
"@html-eslint/eslint-plugin": "^0.60.0",
|
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
"@types/jquery": "^4.0.1",
|
|
"@types/node": "^25.9.5",
|
|
"@typescript-eslint/eslint-plugin": "^8.67.0",
|
|
"@typescript-eslint/parser": "^8.67.0",
|
|
"@vladmandic/build": "^0.10.3",
|
|
"argparse": "^2.0.1",
|
|
"debug": "^4.4.3",
|
|
"esbuild": "^0.28.2",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-airbnb-extended": "^3.2.0",
|
|
"eslint-plugin-promise": "^7.3.0",
|
|
"exifr": "^7.1.3",
|
|
"globals": "^17.11.0",
|
|
"jquery": "^4.0.0",
|
|
"jquery-sparkline": "^2.4.0",
|
|
"panzoom": "^9.4.4",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|