1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Peacock/package.json

104 lines
3.9 KiB
JSON
Raw Normal View History

{
"name": "@peacockproject/monorepo",
2024-04-06 16:28:46 +02:00
"version": "7.1.0",
"private": true,
"license": "AGPL-3.0",
"scripts": {
"start": "node chunk0.js",
"clean": "rimraf build",
"prettier": "pprettier --write \"**/*.{js,json,ts,md,tsx,css,mjs,html}\"",
"prettier:check": "pprettier --check \"**/*.{js,json,ts,md,tsx,css,mjs,html}\"",
"build": "yarn webui:build && node packaging/build.mjs",
"build-plugins": "node --no-warnings packaging/buildPlugins.mjs",
"typecheck-ws": "tsc",
"typecheck": "yarn workspaces foreach -A run typecheck-ws",
"lint": "eslint .",
2023-04-21 19:08:43 +02:00
"rebuild-locale": "node resources/rebuildLocale.cjs",
"optimize": "terser chunk0.js -o chunk0.js -c --toplevel --timings --ecma 2021 -m --source-map \"content='chunk0.js.map'\"",
"webui": "yarn workspace @peacockproject/web-ui",
"typedefs": "yarn workspace @peacockproject/core",
"run-dev": "node packaging/devLoader.mjs",
"extract-challenge-data": "node packaging/extractChallengeData.mjs",
"find-circular": "yarn dlx dpdm components/index.ts --exclude \"(components/types)|(node_modules)\" -T"
},
"prettier": {
"semi": false,
"tabWidth": 4,
"trailingComma": "all"
},
"resolutions": {
"body-parser": "npm:@peacockproject/body-parser@npm:2.0.0-peacock.6",
"debug": "^4.3.4",
"http-errors": "patch:http-errors@npm:2.0.0#.yarn/patches/http-errors-npm-2.0.0-3f1c503428.patch",
"iconv-lite": "patch:iconv-lite@npm:0.6.3#.yarn/patches/iconv-lite-npm-0.6.3-24b8aae27e.patch",
"send": "patch:send@npm:0.18.0#.yarn/patches/send-npm-0.18.0-faadf6353f.patch"
},
"dependencies": {
"@peacockproject/statemachine-parser": "^5.9.3",
"@yarnpkg/fslib": "^3.0.1",
"@yarnpkg/libzip": "^3.0.0",
"axios": "^1.6.8",
"body-parser": "*",
"clipanion": "^4.0.0-rc.3",
"commander": "^11.1.0",
Multi-Version Mastery and Sniper Scoring (#270) * Add multi-version mastery files * Add pro1 unlocks to legacy allunlockables * Add 47's suit to scpc all unlockables * Add and remove various configs * Remove some useless promises * Fix scpc hub * Fix issue with user profile saving * Fix scpc issues for hub * Add singleplayer/multiplayer sniper * A great many things - Add multi-version mastery - Improve sniper mastery support - Improve general H2016 support * Fix some warnings * Fix pro1 mastery on destination screens * Remove entP from createInventory, lock/unlock pro1 accordingly * Remove JSDoc entP parameter from createInventory * Remove difficultyunlocks from safehouse pages * Add versioned user profiles * Prettier run * Remove false point from user profiles docs * Add comment about profile versioning to types * Fix default profile links * Remove remaining lowercase * Fix sniper showing XP as XP * Add game versions to the unlockable map * Update getMasteryForUnlockable call in planning * Fix missing locations when updating profiles * Update versions to v7 * Fix ICA Facility destination mastery * Fix sniper challenge unlockables showing in inventory * Sniper Scoring (#273) * Initial sniper scoring * Fix linting errors * Update require table * Calculate and display final sniper score on end screen * Bump SMP version to v5.7.0 * Update since version for scoring * Fix create inventory call for sniper scoring * Support sniper unlockables in the inventory * Update versions to v7 * Reflect changes to createInventory in scoreHandler * Get unlockable name in completion data * It was not okay. * Thanks webstorm * Add support for /profiles/page/GetMasteryCompletionDataForUnlockable * Support sniper play next * Remove sniper gamemodes template from overrides * Remove debug prints from scoring event handler * Fix challenge multiplier * Exclude sniper unlockables from stashpoint * Start fixing up the missionEnd response for sniper * Update misleading comment * Use existing global challenge to check for SA on sniper contracts * Re-add removed global challenges * Proper support for the mission end screen on sniper contracts * Remove redundant label --------- Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com> Co-authored-by: Govert de Gans <grappigegovert@hotmail.com> * Add co-op sniper scoring defs * Update MasteryUnlockable template * Bump SMP version to v5.9.3 * Re-add deepmerge * Fix SMP checksum * Fix linting errors caused by merge * Fix score handler imports * Move load flags * Remove unnecessary game version arg * Whoopsies Co-authored-by: Reece Dunham <me@rdil.rocks> Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com> --------- Signed-off-by: Anthony Fuller <24512050+AnthonyFuller@users.noreply.github.com> Co-authored-by: Govert de Gans <grappigegovert@hotmail.com> Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-07-25 00:47:28 +02:00
"deepmerge-ts": "^5.1.0",
"esbuild-wasm": "^0.20.2",
"express": "patch:express@npm%3A4.18.2#~/.yarn/patches/express-npm-4.18.2-bb15ff679a.patch",
"jest-diff": "^29.7.0",
2023-03-18 18:18:07 +01:00
"js-ini": "^1.6.0",
"json5": "^2.2.3",
"jsonwebtoken": "^9.0.2",
"md5-file": "^5.0.0",
"msgpackr": "^1.10.1",
"nanoid": "^5.0.6",
"parseurl": "^1.3.3",
"picocolors": "patch:picocolors@npm%3A1.0.0#~/.yarn/patches/picocolors-npm-1.0.0-d81e0b1927.patch",
"progress": "^2.0.3",
"prompts": "^2.4.2",
2023-03-18 18:18:07 +01:00
"random": "^4.1.0",
"semver": "^7.6.0",
"send": "0.18.0",
"serve-static": "^1.15.0",
"tapable": "^2.2.1"
},
"devDependencies": {
"@peacockproject/eslint-plugin": "workspace:*",
"@rdil/parallel-prettier": "^3.0.0",
"@types/express": "^4.17.20",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20",
"@types/parseurl": "^1.3.2",
"@types/progress": "^2.0.6",
"@types/prompts": "^2.4.7",
"@types/semver": "^7",
"@types/send": "^0.17.3",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"esbuild": "^0.20.2",
"esbuild-register": "^3.5.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"fast-glob": "^3.3.2",
"json-keys-sort": "^2.1.0",
"ms": "^2.1.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"terser": "^5.30.2",
"typescript": "5.4.3",
"winston": "^3.13.0",
"winston-daily-rotate-file": "^5.0.0"
},
"engines": {
"node": "18.x || 20.x"
},
"workspaces": [
"webui",
"packaging/typedefs",
"packaging/eslint",
"tests"
],
"packageManager": "yarn@4.1.1"
2022-11-20 18:06:18 +01:00
}