71 lines
2.2 KiB
JSON
71 lines
2.2 KiB
JSON
{
|
|
"name": "@onelauncher/root",
|
|
"type": "module",
|
|
"version": "0.1.0-alpha.2",
|
|
"private": true,
|
|
"engineStrict": true,
|
|
"description": "Next-generation open source Minecraft launcher and tools for interacting with Polyfrost",
|
|
"license": "GPL-3.0-only",
|
|
"homepage": "https://polyfrost.org",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:polyfrost/onelauncher",
|
|
"directory": "/"
|
|
},
|
|
"bugs": "https://github.com/polyfrost/onelauncher/issues",
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"pnpm": ">=9.0.0",
|
|
"npm": "pnpm",
|
|
"yarn": "pnpm",
|
|
"node": ">=18.18 <19 || >=20"
|
|
},
|
|
"scripts": {
|
|
"prep": "pnpm scripts prep",
|
|
"typecheck": "pnpm -r typecheck",
|
|
"bootstrap": "cargo clean && ./packages/scripts/setup.sh && pnpm install && pnpm prep && pnpm codegen",
|
|
"autoformat": "./packages/scripts/format.sh",
|
|
"test": "pnpm test:vi && pnpm --filter=./* run test",
|
|
"format": "pnpm format:es && pnpm format:rs",
|
|
"lint": "pnpm lint:es && pnpm lint:rs",
|
|
|
|
"migrate": "sea-orm-cli migrate -d ./packages/migration",
|
|
"entity:gen": "sea-orm-cli generate entity -o packages/entity/src/entities --with-serde both --model-extra-attributes 'onelauncher_macro::specta' -t",
|
|
|
|
"frontend": "pnpm --filter @onelauncher/frontend -- ",
|
|
"client": "pnpm --filter @onelauncher/client -- ",
|
|
"core": "pnpm --filter @onelauncher/core -- ",
|
|
"scripts": "pnpm --filter @onelauncher/scripts -- ",
|
|
"tauri": "pnpm desktop tauri-ext",
|
|
|
|
"postupdate": "cargo update",
|
|
"test:vi": "pnpm vitest run",
|
|
"test:update": "pnpm vitest -u",
|
|
"test:ui": "pnpm vitest --ui",
|
|
"lint:es": "eslint . --cache --flag unstable_ts_config",
|
|
"format:es": "pnpm lint:es --fix",
|
|
"lint:rs": "cargo +nightly fmt --check && cargo clippy -- -D warnings",
|
|
"format:rs": "cargo +nightly fmt && cargo clippy --fix"
|
|
},
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*",
|
|
"apps/*"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@flowr/eslint-config": "^4.4.1",
|
|
"@types/node": "^22.7.9",
|
|
"@unocss/eslint-plugin": "^0.63.6",
|
|
"@vitest/ui": "^2.1.3",
|
|
"eslint": "^9.13.0",
|
|
"eslint-plugin-solid": "^0.14.3",
|
|
"jiti": "^2.3.3",
|
|
"rimraf": "^6.0.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsx": "^4.19.1",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^5.4.10",
|
|
"vitest": "^2.1.3"
|
|
}
|
|
}
|