Update package.json
- Move things around - Remove unnecessary "xml2json" package - Remove unnecessary "electron-rebuild" package - Add "clean" script / Add "rimraf" to devDeps - Modify some scripts
This commit is contained in:
parent
4047f6ea17
commit
28f7f3ddac
File diff suppressed because it is too large
Load Diff
88
package.json
88
package.json
|
@ -1,12 +1,53 @@
|
||||||
{
|
{
|
||||||
|
"name": "freetube",
|
||||||
|
"productName": "FreeTube",
|
||||||
|
"description": "A private YouTube client",
|
||||||
|
"version": "0.13.2",
|
||||||
|
"license": "AGPL-3.0-or-later",
|
||||||
|
"main": "./dist/main.js",
|
||||||
|
"private": true,
|
||||||
"author": {
|
"author": {
|
||||||
"name": "PrestonN",
|
"name": "PrestonN",
|
||||||
"email": "FreeTubeApp@protonmail.com",
|
"email": "FreeTubeApp@protonmail.com",
|
||||||
"url": "https://github.com/FreeTubeApp/FreeTube"
|
"url": "https://github.com/FreeTubeApp/FreeTube"
|
||||||
},
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/FreeTubeApp/FreeTube.git"
|
||||||
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/FreeTubeApp/FreeTube/issues"
|
"url": "https://github.com/FreeTubeApp/FreeTube/issues"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "run-s rebuild:electron pack build-release",
|
||||||
|
"build:arm64": "run-s rebuild:electron pack build-release:arm64",
|
||||||
|
"build:arm32": "run-s rebuild:electron pack build-release:arm32",
|
||||||
|
"build-release": "node _scripts/build.js",
|
||||||
|
"build-release:arm64": "node _scripts/build.js arm64",
|
||||||
|
"build-release:arm32": "node _scripts/build.js arm32",
|
||||||
|
"clean": "rimraf build/ dashFiles/ dist/ storyboards/",
|
||||||
|
"debug": "run-s rebuild:electron debug-runner",
|
||||||
|
"debug-runner": "node _scripts/dev-runner.js --remote-debug",
|
||||||
|
"dev": "run-s rebuild:electron dev-runner",
|
||||||
|
"dev-runner": "node _scripts/dev-runner.js",
|
||||||
|
"jest": "jest",
|
||||||
|
"jest:coverage": "jest --collect-coverage",
|
||||||
|
"jest:watch": "jest --watch",
|
||||||
|
"lint-fix": "eslint --fix --ext .js,.ts,.vue ./",
|
||||||
|
"lint": "eslint --ext .js,.ts,.vue ./",
|
||||||
|
"pack": "run-p pack:main pack:renderer pack:workers",
|
||||||
|
"pack:main": "webpack --mode=production --node-env=production --config _scripts/webpack.main.config.js",
|
||||||
|
"pack:renderer": "webpack --mode=production --node-env=production --config _scripts/webpack.renderer.config.js",
|
||||||
|
"pack:web": "webpack --mode=production --node-env=production --config _scripts/webpack.web.config.js",
|
||||||
|
"pack:workers": "webpack --mode=production --node-env=production --config _scripts/webpack.workers.config.js",
|
||||||
|
"postinstall": "npm run rebuild:electron",
|
||||||
|
"prettier": "prettier --write \"{src,_scripts}/**/*.{js,ts,vue}\"",
|
||||||
|
"rebuild:electron": "electron-builder install-app-deps",
|
||||||
|
"rebuild:node": "npm rebuild",
|
||||||
|
"release": "run-s test build",
|
||||||
|
"test": "run-s rebuild:node pack:workers jest",
|
||||||
|
"test:watch": "run-s rebuild:node pack:workers jest:watch"
|
||||||
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
"@fortawesome/fontawesome-svg-core": "^1.2.35",
|
||||||
"@fortawesome/free-brands-svg-icons": "^5.15.3",
|
"@fortawesome/free-brands-svg-icons": "^5.15.3",
|
||||||
|
@ -45,7 +86,6 @@
|
||||||
"vue-observe-visibility": "^1.0.0",
|
"vue-observe-visibility": "^1.0.0",
|
||||||
"vue-router": "^3.5.1",
|
"vue-router": "^3.5.1",
|
||||||
"vuex": "^3.6.2",
|
"vuex": "^3.6.2",
|
||||||
"xml2json": "^0.12.0",
|
|
||||||
"youtube-suggest": "^1.1.2",
|
"youtube-suggest": "^1.1.2",
|
||||||
"yt-channel-info": "^2.2.0",
|
"yt-channel-info": "^2.2.0",
|
||||||
"yt-comment-scraper": "^5.0.1",
|
"yt-comment-scraper": "^5.0.1",
|
||||||
|
@ -55,7 +95,6 @@
|
||||||
"ytpl": "^2.2.1",
|
"ytpl": "^2.2.1",
|
||||||
"ytsr": "^3.5.0"
|
"ytsr": "^3.5.0"
|
||||||
},
|
},
|
||||||
"description": "A private YouTube client",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.14.5",
|
"@babel/core": "^7.14.5",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
||||||
|
@ -72,7 +111,6 @@
|
||||||
"electron-builder": "^22.11.7",
|
"electron-builder": "^22.11.7",
|
||||||
"electron-builder-squirrel-windows": "^22.11.7",
|
"electron-builder-squirrel-windows": "^22.11.7",
|
||||||
"electron-debug": "^3.2.0",
|
"electron-debug": "^3.2.0",
|
||||||
"electron-rebuild": "^2.3.5",
|
|
||||||
"eslint": "^7.28.0",
|
"eslint": "^7.28.0",
|
||||||
"eslint-config-prettier": "^8.3.0",
|
"eslint-config-prettier": "^8.3.0",
|
||||||
"eslint-config-standard": "^16.0.3",
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
@ -91,6 +129,7 @@
|
||||||
"node-loader": "^2.0.0",
|
"node-loader": "^2.0.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"prettier": "^2.3.1",
|
"prettier": "^2.3.1",
|
||||||
|
"rimraf": "^3.0.2",
|
||||||
"sass": "^1.35.1",
|
"sass": "^1.35.1",
|
||||||
"sass-loader": "^12.1.0",
|
"sass-loader": "^12.1.0",
|
||||||
"style-loader": "^2.0.0",
|
"style-loader": "^2.0.0",
|
||||||
|
@ -105,46 +144,5 @@
|
||||||
"webpack": "^5.39.1",
|
"webpack": "^5.39.1",
|
||||||
"webpack-cli": "^4.7.2",
|
"webpack-cli": "^4.7.2",
|
||||||
"webpack-dev-server": "^4.0.0-beta.3"
|
"webpack-dev-server": "^4.0.0-beta.3"
|
||||||
},
|
}
|
||||||
"license": "AGPL-3.0-or-later",
|
|
||||||
"main": "./dist/main.js",
|
|
||||||
"name": "freetube",
|
|
||||||
"private": true,
|
|
||||||
"productName": "FreeTube",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/FreeTubeApp/FreeTube.git"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"build": "run-s rebuild:electron pack build-release",
|
|
||||||
"build:arm64": "run-s rebuild:electron pack build-release:arm64",
|
|
||||||
"build:arm32": "run-s rebuild:electron pack build-release:arm32",
|
|
||||||
"build-release": "node _scripts/build.js",
|
|
||||||
"build-release:arm64": "node _scripts/build.js arm64",
|
|
||||||
"build-release:arm32": "node _scripts/build.js arm32",
|
|
||||||
"debug": "run-s rebuild:electron debug-runner",
|
|
||||||
"debug-runner": "node _scripts/dev-runner.js --remote-debug",
|
|
||||||
"dev": "run-s rebuild:electron dev-runner",
|
|
||||||
"dev-runner": "node _scripts/dev-runner.js",
|
|
||||||
"electron-builder-install": "electron-builder install-app-deps",
|
|
||||||
"electron-rebuild": "electron-rebuild",
|
|
||||||
"jest": "jest",
|
|
||||||
"jest:coverage": "jest --collect-coverage",
|
|
||||||
"jest:watch": "jest --watch",
|
|
||||||
"lint-fix": "eslint --fix --ext .js,.ts,.vue ./",
|
|
||||||
"lint": "eslint --ext .js,.ts,.vue ./",
|
|
||||||
"pack": "run-p pack:main pack:renderer pack:workers",
|
|
||||||
"pack:main": "webpack --mode=production --node-env=production --config _scripts/webpack.main.config.js",
|
|
||||||
"pack:renderer": "webpack --mode=production --node-env=production --config _scripts/webpack.renderer.config.js",
|
|
||||||
"pack:web": "webpack --mode=production --node-env=production --config _scripts/webpack.web.config.js",
|
|
||||||
"pack:workers": "webpack --mode=production --node-env=production --config _scripts/webpack.workers.config.js",
|
|
||||||
"postinstall": "electron-rebuild",
|
|
||||||
"prettier": "prettier --write \"{src,_scripts}/**/*.{js,ts,vue}\"",
|
|
||||||
"rebuild:electron": "run-s electron-builder-install electron-rebuild",
|
|
||||||
"rebuild:node": "npm rebuild",
|
|
||||||
"release": "run-s test build",
|
|
||||||
"test": "run-s rebuild:node pack:workers jest",
|
|
||||||
"test:watch": "run-s rebuild:node pack:workers jest:watch"
|
|
||||||
},
|
|
||||||
"version": "0.13.2"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue