SkirdaElectronLauncher/package.json
Daniel Scalzi d9394432d2
Add loading UI, add view transition animations.
Framework is in place to run initial load on app startup. These routines will be called
in Application's initLoad function. The loader will run for a min of 800ms to prevent it
from looking odd on the UI. This can be reduced/changed later if this turns out to not be
a concern.

Added an app reducer to redux. The loading state was initially going to be there. On further
inspection, it seemed better to have it as a state variable in the Application component. It
remains in the store for now as an example. The pattern is valid and will be used for other
proprties.

Added animations for view transitions. On v1, this was done with jquery. Here, we are using
react-transition-group. Got it working with a clever trick to store a workingView and use that
for rendering. When the currentView is changed by the redux store, the fade out transition will
start. Once the fade out completes, the workingView reference will be updated to the new view,
triggering the fade in.
2020-05-26 01:50:55 -04:00

97 lines
2.9 KiB
JSON

{
"name": "helioslauncher",
"version": "2.0.0-alpha.0",
"productName": "Helios Launcher",
"description": "Modded Minecraft Launcher",
"author": "Daniel Scalzi (https://github.com/dscalzi/)",
"license": "UNLICENSED",
"homepage": "https://github.com/dscalzi/HeliosLauncher",
"bugs": {
"url": "https://github.com/dscalzi/HeliosLauncher/issues"
},
"private": true,
"main": "./dist/main.js",
"scripts": {
"clean": "rimraf dist",
"tsc": "tsc",
"start": "electron .",
"cilinux": "node build.js WINDOWS && node build.js LINUX",
"cidarwin": "node build.js MAC",
"dist:win": "npm run dist -- WINDOWS",
"dist:mac": "npm run dist -- MAC",
"dist:linux": "npm run dist -- LINUX",
"lint": "eslint --ext=jsx,js,tsx,ts src",
"dev": "electron-webpack dev",
"compile": "electron-webpack",
"test": "cross-env TS_NODE_PROJECT='./tsconfig.test.json' mocha -r ts-node/register test/**/*.ts"
},
"engines": {
"node": "12.x.x"
},
"dependencies": {
"adm-zip": "^0.4.14",
"async": "^3.2.0",
"discord-rpc": "^3.1.1",
"electron-updater": "^4.3.1",
"fs-extra": "^9.0.0",
"github-syntax-dark": "^0.5.0",
"got": "^11.1.4",
"jquery": "^3.5.1",
"lodash": "^4.17.15",
"moment": "^2.26.0",
"request": "^2.88.2",
"semver": "^7.3.2",
"tar-fs": "^2.1.0",
"triple-beam": "^1.3.0",
"winreg": "^1.2.4",
"winston": "^3.2.1"
},
"devDependencies": {
"@babel/preset-react": "^7.9.4",
"@types/adm-zip": "^0.4.33",
"@types/async": "^3.2.3",
"@types/chai": "^4.2.11",
"@types/discord-rpc": "^3.0.4",
"@types/fs-extra": "^9.0.1",
"@types/jquery": "^3.3.38",
"@types/lodash": "^4.14.152",
"@types/mocha": "^7.0.2",
"@types/node": "^12.12.42",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/react-redux": "^7.1.9",
"@types/react-transition-group": "^4.4.0",
"@types/request": "^2.48.5",
"@types/tar-fs": "^2.0.0",
"@types/triple-beam": "^1.3.1",
"@types/winreg": "^1.2.30",
"@typescript-eslint/eslint-plugin": "^3.0.1",
"@typescript-eslint/parser": "^3.0.1",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"electron": "^8.3.0",
"electron-builder": "^22.6.1",
"electron-webpack": "^2.8.2",
"electron-webpack-ts": "^4.0.1",
"eslint": "^7.1.0",
"eslint-plugin-react": "^7.20.0",
"helios-distribution-types": "1.0.0-pre.1",
"mocha": "^7.2.0",
"nock": "^12.0.3",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-hot-loader": "^4.12.21",
"react-redux": "^7.2.0",
"react-transition-group": "^4.4.1",
"redux": "^4.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.10.1",
"typescript": "^3.9.3",
"webpack": "^4.43.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dscalzi/HeliosLauncher.git"
}
}