mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Added the complete GNU General Public License (GPL) Version 2 text to the project’s licensing documentation, clarifying usage conditions and disclaimers. - **Chores** - Updated licensing declarations across multiple project components, ensuring all parts are now distributed under the GPL-2.0 license. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
46 lines
2.1 KiB
JSON
46 lines
2.1 KiB
JSON
{
|
|
"name": "@unraid/connect-plugin",
|
|
"version": "4.1.3",
|
|
"private": true,
|
|
"dependencies": {
|
|
"conventional-changelog": "^6.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"glob": "^11.0.1",
|
|
"html-sloppy-escaper": "^0.1.0",
|
|
"http-server": "^14.1.1",
|
|
"semver": "^7.7.1",
|
|
"tsx": "^4.19.2",
|
|
"zod": "^3.24.1",
|
|
"zx": "^8.3.2"
|
|
},
|
|
"type": "module",
|
|
"license": "GPL-2.0-only",
|
|
"scripts": {
|
|
"// Build scripts": "",
|
|
"build": "tsx scripts/build-plugin-and-txz.ts",
|
|
"build:validate": "npm run env:validate && npm run build",
|
|
"// Docker commands": "",
|
|
"docker:build": "docker build -t plugin-builder .",
|
|
"docker:run": "docker run --env-file .env -v $(pwd)/:/app/ -v $(cd ../ && pwd)/.git:/app/.git -v $(pwd)/source:/app/source -v $(pwd)/scripts:/app/scripts plugin-builder",
|
|
"docker:build-and-run": "npm run docker:build && npm run docker:run",
|
|
"http-server": "http-server ./deploy/release/ -p 8080 --cors",
|
|
"// Environment management": "",
|
|
"env:init": "cp .env.example .env",
|
|
"env:validate": "test -f .env || (echo 'Error: .env file missing. Run npm run env:init first' && exit 1)",
|
|
"env:clean": "rm -f .env",
|
|
"// Composite commands": "",
|
|
"start": "npm run env:validate && npm run docker:build-and-run",
|
|
"test": "npm run env:init && npm run start && npm run env:clean",
|
|
"// Watchers for Other Changes": "",
|
|
"wc:clean": "rm -r ./source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components/*",
|
|
"wc:watch": "cpx -w -v \"../web/.nuxt/nuxt-custom-elements/dist/unraid-components/**/*\" ./source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components",
|
|
"api:watch": "cpx -w -C -v \"../api/deploy/pack/**/*\" ./source/dynamix.unraid.net/usr/local/unraid-api",
|
|
"ui:watch": "cpx -w -v \"../unraid-ui/dist/**/*\" ./source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components",
|
|
"watch:all": "npm run wc:clean && npm run wc:watch & npm run api:watch & npm run ui:watch"
|
|
},
|
|
"devDependencies": {
|
|
"cpx2": "^8.0.0"
|
|
},
|
|
"packageManager": "pnpm@10.4.1"
|
|
}
|