2021-04-06 13:03:44 +00:00
|
|
|
{
|
|
|
|
"private": true,
|
|
|
|
"name": "unpixel",
|
|
|
|
"productName": "UnPixel",
|
|
|
|
"description": "Help your eyes take a break",
|
|
|
|
"author": {
|
|
|
|
"name": "Niccolo Borgioli",
|
|
|
|
"email": "hi@nicco.io",
|
|
|
|
"url": "https://nicco.io"
|
|
|
|
},
|
2021-04-06 14:49:08 +00:00
|
|
|
"repository": {
|
|
|
|
"url": "https://github.com/cupcakearmy/unpixel"
|
|
|
|
},
|
2021-06-09 10:12:03 +00:00
|
|
|
"version": "1.3.0",
|
2021-04-06 13:03:44 +00:00
|
|
|
"main": "./dist/back/index.js",
|
|
|
|
"scripts": {
|
|
|
|
"start": "electron .",
|
2021-05-15 14:32:12 +00:00
|
|
|
"watch:front": "parcel watch --target front --no-hmr --no-cache ./src/front/*/index.html",
|
2021-04-06 13:03:44 +00:00
|
|
|
"watch:back": "parcel watch --target back --no-hmr --no-cache ./src/back/index.ts",
|
|
|
|
"dev": "run-p watch:*",
|
2021-05-15 14:32:12 +00:00
|
|
|
"build:front": "parcel build --target front ./src/front/*/index.html",
|
2021-04-06 13:03:44 +00:00
|
|
|
"build:back": "parcel build --target back ./src/back/index.ts",
|
|
|
|
"build": "run-s build:*",
|
|
|
|
"pack": "electron-builder -mwl",
|
2021-05-15 14:48:56 +00:00
|
|
|
"pack:dev": "electron-builder -m dir && open ./out/mac/UnPixel.app",
|
2021-06-09 10:12:03 +00:00
|
|
|
"dist": "run-s clean build pack",
|
|
|
|
"clean": "rm -rf .parcel-cache dist out"
|
2021-04-06 13:03:44 +00:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"last 2 Chrome versions"
|
|
|
|
],
|
|
|
|
"targets": {
|
|
|
|
"back": {
|
|
|
|
"distDir": "./dist/back",
|
|
|
|
"context": "electron-main"
|
|
|
|
},
|
|
|
|
"front": {
|
|
|
|
"distDir": "./dist/front",
|
|
|
|
"context": "electron-renderer",
|
|
|
|
"publicUrl": "../"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"auto-launch": "^5.0.5",
|
2021-04-06 15:18:36 +00:00
|
|
|
"axios": "^0.21.1",
|
2021-04-06 13:03:44 +00:00
|
|
|
"dayjs": "^1.10.4",
|
|
|
|
"electron-log": "^4.3.2",
|
|
|
|
"electron-store": "^7.0.2",
|
2021-05-15 14:32:12 +00:00
|
|
|
"ms": "^2.1.3",
|
2021-04-06 13:03:44 +00:00
|
|
|
"react": "^17.0.2",
|
|
|
|
"react-dom": "^17.0.2",
|
2021-04-06 15:18:36 +00:00
|
|
|
"semver": "^7.3.5",
|
2021-04-06 13:03:44 +00:00
|
|
|
"spectre.css": "^0.5.9",
|
|
|
|
"tachyons": "^4.12.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/core": "^7.0.0-0",
|
2021-04-07 10:00:09 +00:00
|
|
|
"@types/auto-launch": "^5.0.1",
|
2021-05-15 14:32:12 +00:00
|
|
|
"@types/ms": "^0.7.31",
|
2021-04-06 13:03:44 +00:00
|
|
|
"@types/react": "^17.0.3",
|
|
|
|
"@types/react-dom": "^17.0.3",
|
2021-04-07 10:28:05 +00:00
|
|
|
"@types/semver": "^7.3.4",
|
2021-06-10 20:22:39 +00:00
|
|
|
"electron": "^11",
|
2021-04-06 13:03:44 +00:00
|
|
|
"electron-builder": "^22.10.5",
|
|
|
|
"npm-run-all": "^4.1.5",
|
2021-05-31 16:58:23 +00:00
|
|
|
"parcel": "^2.0.0-beta.3.1",
|
2021-05-12 10:22:34 +00:00
|
|
|
"postcss": "^8.2.10",
|
2021-04-06 13:03:44 +00:00
|
|
|
"typescript": "^4.2.3"
|
|
|
|
}
|
|
|
|
}
|