70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
{
|
|
"name": "time-cat",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"author": "mol",
|
|
"main": "main.js",
|
|
"homepage": ".",
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^5.16.2",
|
|
"@testing-library/react": "^12.1.3",
|
|
"@testing-library/user-event": "^13.5.0",
|
|
"dayjs": "^1.10.8",
|
|
"electron-store": "^8.0.1",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"react-scripts": "5.0.0",
|
|
"web-vitals": "^2.1.4"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"eject": "react-scripts eject",
|
|
"make": "node --max-old-space-size=8192 && electron-builder --win --x64",
|
|
"electron": "electron .",
|
|
"electron:build": "electron-packager ./build TimeCat --platform=win32 --download.mirrorOptions.mirror=https://npmmirror.com/mirrors/electron/ --arch=x64 --out=./../out --asar --app-version=0.1.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest"
|
|
]
|
|
},
|
|
"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": "^17.1.0",
|
|
"electron-builder": "^22.14.13",
|
|
"electron-packager": "^15.4.0"
|
|
},
|
|
"build": {
|
|
"appId": "time-cat-v0.1.0",
|
|
"productName": "time cat",
|
|
"win": {
|
|
"target": [
|
|
"nsis"
|
|
],
|
|
"icon": "icon.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": true,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"electronDownload": {
|
|
"mirror": "https://npmmirror.com/mirrors/electron/"
|
|
}
|
|
}
|
|
}
|