mirror of
https://github.com/cupcakearmy/unpixel.git
synced 2024-12-22 08:06:33 +00:00
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"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"
|
|
},
|
|
"repository": {
|
|
"url": "https://github.com/cupcakearmy/unpixel"
|
|
},
|
|
"version": "1.0.3",
|
|
"main": "./dist/back/index.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"watch:front": "parcel watch --target front --no-hmr --no-cache ./src/front/banner/index.html ./src/front/settings/index.html",
|
|
"watch:back": "parcel watch --target back --no-hmr --no-cache ./src/back/index.ts",
|
|
"dev": "run-p watch:*",
|
|
"build:front": "parcel build --target front ./src/front/banner/index.html ./src/front/settings/index.html",
|
|
"build:back": "parcel build --target back ./src/back/index.ts",
|
|
"build": "run-s build:*",
|
|
"pack": "electron-builder -mwl",
|
|
"pack:dev": "electron-builder -m",
|
|
"dist": "rm -rf .parcel-cache dist && run-s build pack"
|
|
},
|
|
"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",
|
|
"axios": "^0.21.1",
|
|
"dayjs": "^1.10.4",
|
|
"electron-log": "^4.3.2",
|
|
"electron-store": "^7.0.2",
|
|
"react": "^17.0.2",
|
|
"react-dom": "^17.0.2",
|
|
"semver": "^7.3.5",
|
|
"spectre.css": "^0.5.9",
|
|
"tachyons": "^4.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0-0",
|
|
"@types/auto-launch": "^5.0.1",
|
|
"@types/react": "^17.0.3",
|
|
"@types/react-dom": "^17.0.3",
|
|
"@types/semver": "^7.3.4",
|
|
"electron": "^12.0.0",
|
|
"electron-builder": "^22.10.5",
|
|
"npm-run-all": "^4.1.5",
|
|
"parcel": "next",
|
|
"postcss": "^8.2.9",
|
|
"typescript": "^4.2.3"
|
|
}
|
|
}
|