You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
2.7 KiB
JSON
105 lines
2.7 KiB
JSON
{
|
|
"name": "media-downloader",
|
|
"version": "0.0.0",
|
|
"description": "在线视频下载",
|
|
"author": "caorushizi",
|
|
"main": "dist/main/index.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "cross-env NODE_ENV=development vite",
|
|
"electron": "cross-env NODE_ENV=development node esbuild.config.js && electron dist/main/index.js",
|
|
"prestart": "script/prestart",
|
|
"start": "concurrently -n=vite,electron -c=green,blue \"npm run dev\" \"npm run electron\"",
|
|
"build": "tsc && vite build && node esbuild.config.js",
|
|
"serve": "vite preview",
|
|
"pack": "electron-builder --dir",
|
|
"dist": "electron-builder"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^4.6.2",
|
|
"antd": "^4.14.0",
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/eslint-parser": "^7.13.10",
|
|
"@types/glob": "^7.1.3",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/node": "^14.14.35",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/semver": "^7.3.4",
|
|
"@vitejs/plugin-react-refresh": "^1.3.1",
|
|
"concurrently": "^6.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"dotenv": "^8.2.0",
|
|
"electron": "11.2.1",
|
|
"electron-builder": "^22.10.5",
|
|
"electron-log": "^4.3.2",
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"electron-store": "^7.0.2",
|
|
"electron-util": "^0.14.2",
|
|
"esbuild": "^0.9.5",
|
|
"eslint": "7.2.0",
|
|
"eslint-config-airbnb": "18.2.1",
|
|
"eslint-config-prettier": "^8.1.0",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-react": "7.21.5",
|
|
"eslint-plugin-react-hooks": "1.7.0",
|
|
"glob": "^7.1.6",
|
|
"mime": "^2.5.2",
|
|
"prettier": "2.2.1",
|
|
"sass": "^1.32.8",
|
|
"semver": "^7.3.4",
|
|
"spawn-args": "^0.2.0",
|
|
"typescript": "^4.1.2",
|
|
"vite": "^2.1.0"
|
|
},
|
|
"build": {
|
|
"productName": "在线视频下载",
|
|
"appId": "mediago.ziying.site",
|
|
"copyright": "caorushizi",
|
|
"directories": {
|
|
"output": "build"
|
|
},
|
|
"files": [
|
|
"dist/electron",
|
|
"dist/main",
|
|
"package.json"
|
|
],
|
|
"win": {
|
|
"icon": "",
|
|
"target": [
|
|
{
|
|
"target": "nsis"
|
|
}
|
|
]
|
|
},
|
|
"dmg": {
|
|
"contents": [
|
|
]
|
|
},
|
|
"mac": {
|
|
"icon": "build/icons/icon.icns"
|
|
},
|
|
"linux": {
|
|
"icon": "build/icons"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"allowElevation": true,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"installerIcon": "",
|
|
"uninstallerIcon": "",
|
|
"installerHeaderIcon": "",
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "xxxx",
|
|
"include": "",
|
|
"script": ""
|
|
}
|
|
}
|
|
}
|