Files
koodo-reader/package.json
troyeguo a738ba2413 :tada:: 更新网页版地址
Former-commit-id: 359531863477a80b8c110dc51f71bfe68422cedb
2020-04-03 19:17:58 +08:00

131 lines
3.2 KiB
JSON

{
"name": "koodo-reader",
"main": "main.js",
"version": "0.1.6",
"description": "A cross-platform open source Epub reader ",
"author": {
"name": "App by Troye",
"email": "troyeguo@102410.xyz"
},
"repository": "https://github.com/troyeguo/koodo-desktop",
"private": true,
"dependencies": {
"electron-is-dev": "^1.1.0",
"electron-updater": "4.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"ele": "electron .",
"dev": "concurrently \"cross-env BROWSER=none npm start\" \"wait-on http://localhost:3000/ && electron .\"",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"release": "cross-env GH_TOKEN=GH_TOKEN electron-builder ",
"prerelease": "npm run build",
"prepack": "npm run build",
"predist": "npm run build"
},
"homepage": "./",
"build": {
"appId": "koodoReader",
"productName": "可道阅读器",
"copyright": "Copyright © 2020 ${author}",
"files": [
"build/**/*",
"node_modules/**/*",
"package.json",
"main.js"
],
"directories": {
"buildResources": "assets"
},
"publish": [
"github"
],
"extends": null,
"mac": {
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"dmg": {
"background": "assets/appdmg.png",
"icon": "assets/icon-mac.icns",
"iconSize": 128,
"contents": [
{
"x": 380,
"y": 280,
"type": "link",
"path": "/Applications"
},
{
"x": 110,
"y": 280,
"type": "file"
}
],
"window": {
"width": 500,
"height": 500
}
},
"win": {
"target": [
"nsis"
],
"icon": "assets/icon.ico",
"artifactName": "${productName}-Web-Setup-${version}.${ext}",
"publisherName": "App by Troye"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": false,
"installerSidebar": null
}
},
"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": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"classnames": "^2.2.6",
"concurrently": "^5.0.1",
"cross-env": "^6.0.3",
"electron": "^7.1.4",
"electron-builder": "^22.3.6",
"electron-is-dev": "^1.1.0",
"file-saver": "^2.0.2",
"jszip": "^3.2.2",
"localforage": "^1.7.3",
"node-sass": "^4.13.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-fontawesome": "^1.7.1",
"react-redux": "^7.2.0",
"react-scripts": "3.3.0",
"react-simplemde-editor": "^4.1.0",
"redux": "^4.0.5",
"redux-thunk": "^2.3.0",
"sass-loader": "^8.0.0",
"spark-md5": "^3.0.1",
"wait-on": "^3.3.0"
}
}