mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-30 10:46:05 +00:00
e42c329adf
* feat: Add deployment workflow for beta environment This commit adds a new GitHub Actions workflow file, deploy-beta.yml, which is responsible for deploying the application to the beta environment. The workflow is triggered on push and pull request events. It checks if the repository is 'pagefaultgames/pokerogue' before running the deployment steps. The deployment includes checking out the code, setting up the Node.js environment, installing dependencies, building the application, setting up SSH for secure communication, deploying the build on the server using rsync, and purging the Cloudflare cache. The deployment is only performed when the push event is triggered on the default branch. It also changes the deploy.yml workflow to be triggered only when a release is generated. * feat: Update deployment workflow for beta environment * Update deploy-beta name * chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name * chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name * chore: Update deploy-beta.yml to use '2595/merge' as the ref name * chore: Update deploy-beta.yml to include event name in deployment message * chore: Update deploy-beta.yml to use 'pull_request' event and '2595/merge' as the ref name * chore: Update deploy-beta.yml to include SSH public key * chore: Update deploy-beta.yml to include SSH public key --------- Co-authored-by: Temps Ray <temps.ray@gmail.com>
69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"name": "pokemon-rogue-battle",
|
|
"private": true,
|
|
"version": "1.0.4",
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "vite",
|
|
"start:dev": "vite --mode development",
|
|
"build": "vite build",
|
|
"build:beta": "vite build --mode beta",
|
|
"preview": "vite preview",
|
|
"test": "vitest run",
|
|
"test:cov": "vitest run --coverage",
|
|
"test:watch": "vitest watch --coverage",
|
|
"test:silent": "vitest run --silent",
|
|
"eslint": "eslint --fix .",
|
|
"eslint-ci": "eslint .",
|
|
"docs": "typedoc",
|
|
"depcruise": "depcruise src",
|
|
"depcruise:graph": "depcruise src --output-type dot | node dependency-graph.js > dependency-graph.svg"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.3.0",
|
|
"@types/node": "^20.12.13",
|
|
"@typescript-eslint/eslint-plugin": "^7.10.0",
|
|
"@typescript-eslint/parser": "^7.10.0",
|
|
"@vitest/coverage-istanbul": "^1.4.0",
|
|
"axios": "^1.6.2",
|
|
"axios-cache-interceptor": "^1.3.2",
|
|
"eslint": "^8.57.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"jsdom": "^24.0.0",
|
|
"json-beautify": "^1.1.1",
|
|
"lefthook": "^1.6.12",
|
|
"phaser3spectorjs": "^0.0.8",
|
|
"pokenode-ts": "^1.20.0",
|
|
"typedoc": "^0.25.13",
|
|
"typescript": "^5.4.5",
|
|
"typescript-eslint": "^7.10.0",
|
|
"vite": "^4.5.0",
|
|
"vite-plugin-fs": "^0.4.4",
|
|
"vite-tsconfig-paths": "^4.3.2",
|
|
"vitest": "^1.4.0",
|
|
"vitest-canvas-mock": "^0.3.3"
|
|
},
|
|
"dependencies": {
|
|
"@hpcc-js/wasm": "^2.16.2",
|
|
"@material/material-color-utilities": "^0.2.7",
|
|
"@types/jsdom": "^21.1.7",
|
|
"crypto-js": "^4.2.0",
|
|
"dependency-cruiser": "^16.3.3",
|
|
"i18next": "^23.11.1",
|
|
"i18next-browser-languagedetector": "^7.2.1",
|
|
"i18next-korean-postposition-processor": "^1.0.0",
|
|
"json-stable-stringify": "^1.1.0",
|
|
"phaser": "^3.70.0",
|
|
"phaser3-rex-plugins": "^1.1.84"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"imports": {
|
|
"#enums/*": "./enums/*",
|
|
"#app": "./src/main.js",
|
|
"#app/*": "./src/*",
|
|
"#test/*": "./src/test/*"
|
|
}
|
|
}
|