2019-02-27 02:06:13 +07:00
|
|
|
{
|
2020-03-14 22:26:51 +07:00
|
|
|
"name": "ryzen-controller",
|
2021-10-25 15:10:51 +07:00
|
|
|
"version": "2.5.4",
|
2019-02-27 20:11:07 +07:00
|
|
|
"description": "A minimal Electron application to use ryzenAdj through a friendly interface.",
|
2019-02-27 02:06:13 +07:00
|
|
|
"scripts": {
|
2020-03-14 22:26:51 +07:00
|
|
|
"all": "yarn clean && yarn dist-pack",
|
|
|
|
"1______________________________________________________________": "echo Basic scripts",
|
|
|
|
"build": "react-scripts build",
|
|
|
|
"test": "react-scripts test",
|
|
|
|
"lint": "prettier --write src/**/*.{js,jsx,ts,tsx,json,css,scss,md}",
|
|
|
|
"2______________________________________________________________": "echo Cleaning scripts",
|
|
|
|
"clean": "yarn clean:dist && yarn clean:node && yarn clean:build && yarn clean:yarn",
|
|
|
|
"clean:dist": "rm -rf dist",
|
|
|
|
"clean:node": "rm -rf node_modules/* node_modules/.bin node_modules/.cache node_modules/.yarn-integrity",
|
|
|
|
"clean:build": "rm -rf build",
|
|
|
|
"clean:yarn": "yarn install --frozen-lockfile",
|
|
|
|
"3______________________________________________________________": "echo Start dev env",
|
|
|
|
"start": "run-p start:*",
|
|
|
|
"start:electron": "wait-on http://localhost:3000/ && electron --no-sandbox --enable-transparent-visuals .",
|
|
|
|
"start:react": "react-scripts start",
|
|
|
|
"4______________________________________________________________": "echo To create unpacked app",
|
|
|
|
"dist-unpack": "run-s dist-unpack:*",
|
|
|
|
"dist-unpack:build": "yarn build",
|
|
|
|
"dist-unpack:electron": "electron-builder --dir",
|
|
|
|
"5______________________________________________________________": "echo To create packed app",
|
|
|
|
"dist-pack": "run-s dist-pack:*",
|
|
|
|
"dist-pack:build": "yarn build",
|
|
|
|
"dist-pack:all": "electron-builder -wl",
|
|
|
|
"dist-pack-win": "electron-builder -w",
|
|
|
|
"dist-pack-linux": "electron-builder -l",
|
|
|
|
"6______________________________________________________________": "echo Yarn scripts into docker (for linux)",
|
|
|
|
"docker": "bash -c \"docker run --rm -ti -v node_modules:/project/node_modules -v /${PWD}:/project storm1er/electron-builder-wine-dubnium:1.0.2 bash\"",
|
|
|
|
"docker-permission-fix": "docker run --rm -ti -v ${PWD}:/project storm1er/electron-builder-wine-dubnium:1.0.2 bash -c \"chown `id -u`:`id -g` -R .\""
|
|
|
|
},
|
|
|
|
"main": "public/electron.js",
|
|
|
|
"private": false,
|
|
|
|
"author": {
|
|
|
|
"name": "Ryzen Controller Team",
|
|
|
|
"email": "incoming+ryzen-controller-team-ryzen-controller-11046417-issue-@incoming.gitlab.com",
|
|
|
|
"url": "https://gitlab.com/ryzen-controller-team/ryzen-controller/"
|
|
|
|
},
|
|
|
|
"homepage": "./",
|
|
|
|
"email": "quentin.decaunes@gmail.com",
|
2019-02-27 02:06:13 +07:00
|
|
|
"keywords": [
|
2019-06-08 04:31:09 +07:00
|
|
|
"Controller",
|
|
|
|
"Mobile",
|
|
|
|
"Ryzen",
|
|
|
|
"Overclock"
|
2019-02-27 02:06:13 +07:00
|
|
|
],
|
|
|
|
"license": "CC0-1.0",
|
2020-03-14 22:26:51 +07:00
|
|
|
"repository": "https://gitlab.com/ryzen-controller-team/ryzen-controller",
|
2019-02-27 20:00:19 +07:00
|
|
|
"dependencies": {
|
2020-03-14 22:26:51 +07:00
|
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
|
|
"@testing-library/react": "^9.4.0",
|
|
|
|
"@testing-library/user-event": "^7.2.1",
|
|
|
|
"@trodi/electron-splashscreen": "^1.0.0",
|
|
|
|
"@types/jest": "^24.0.24",
|
|
|
|
"@types/node": "^13.1.0",
|
|
|
|
"@types/react": "^16.9.17",
|
|
|
|
"@types/react-dom": "^16.9.4",
|
2021-08-30 14:32:57 +07:00
|
|
|
"@types/react-gauge-chart": "^0.3.1",
|
2020-03-14 22:26:51 +07:00
|
|
|
"@types/react-router-dom": "^5.1.3",
|
|
|
|
"@types/webpack-env": "^1.14.1",
|
2019-08-04 02:59:03 +07:00
|
|
|
"auto-launch": "^5.0.5",
|
2020-03-14 22:26:51 +07:00
|
|
|
"compare-versions": "^3.5.1",
|
|
|
|
"electron-is-dev": "^1.1.0",
|
|
|
|
"electron-react-devtools": "^0.5.3",
|
2019-02-28 14:11:03 +07:00
|
|
|
"electron-settings": "^3.2.0",
|
2020-03-14 22:26:51 +07:00
|
|
|
"fibers": "^4.0.2",
|
|
|
|
"husky": "^3.1.0",
|
|
|
|
"lint-staged": "^9.5.0",
|
|
|
|
"node-sass": "^4.13.0",
|
|
|
|
"object-hash": "^2.0.1",
|
|
|
|
"prettier": "^1.19.1",
|
|
|
|
"react": "^16.12.0",
|
|
|
|
"react-dom": "^16.12.0",
|
2021-08-30 14:32:57 +07:00
|
|
|
"react-gauge-chart": "^0.4.0",
|
2020-03-14 22:26:51 +07:00
|
|
|
"react-router-dom": "^5.1.2",
|
2021-08-31 18:19:52 +07:00
|
|
|
"react-scripts": "^3.3.0",
|
2020-03-14 22:26:51 +07:00
|
|
|
"sass": "^1.24.0",
|
|
|
|
"systeminformation": "^4.16.1",
|
|
|
|
"typescript": "^3.7.4",
|
|
|
|
"uikit": "^3.2.6",
|
|
|
|
"uuidv4": "^6.0.0",
|
|
|
|
"windows-scheduler": "https://github.com/Ryzen-Controller-Team/windows-scheduler.git#1e2cc67db8efb1474ba0fe780967f86ed68f36a3"
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"electron": "^7.1.7",
|
|
|
|
"electron-builder": "20.*",
|
|
|
|
"npm-run-all": "^4.1.5",
|
|
|
|
"wait-on": "^3.3.0"
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "ryzen-team.app.ryzen-controller",
|
|
|
|
"productName": "Ryzen Controller",
|
2020-03-16 15:00:37 +07:00
|
|
|
"icon": "./build/icons/app.ico",
|
2020-03-14 22:26:51 +07:00
|
|
|
"asarUnpack": [
|
|
|
|
"**/build/bin/*"
|
|
|
|
],
|
|
|
|
"linux": {
|
|
|
|
"category": "Utility",
|
2020-03-16 15:00:37 +07:00
|
|
|
"icon": "./build/icons/612x612.png",
|
2020-03-14 22:26:51 +07:00
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "deb"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "rpm"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"nsis": {
|
2020-03-16 15:00:37 +07:00
|
|
|
"installerIcon": "./build/icons/installer.ico",
|
2020-03-14 22:26:51 +07:00
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": true,
|
|
|
|
"allowToChangeInstallationDirectory": true
|
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"requestedExecutionLevel": "requireAdministrator"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"trailingComma": "es5",
|
|
|
|
"tabWidth": 2,
|
|
|
|
"printWidth": 120
|
2019-02-27 02:06:13 +07:00
|
|
|
}
|
|
|
|
}
|