-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"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.3.2",
"main": "./dist/back/index.js",
"engines": {
"node": "14",
"npm": "please-use-pnpm",
"yarn": "please-use-pnpm"
},
"scripts": {
"start": "electron .",
"watch:front": "parcel watch --target front --no-hmr ./src/front/*/index.html",
"watch:back": "parcel watch --target back --no-hmr ./src/back/index.ts",
"dev": "run-p watch:*",
"build:front": "parcel build --target front ./src/front/*/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 dir && open ./out/mac/UnPixel.app",
"dist": "run-s clean build pack",
"clean": "rm -rf .parcel-cache dist out"
},
"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.25.0",
"dayjs": "^1.10.7",
"electron-log": "^4.4.5",
"electron-store": "^8.0.1",
"ms": "^2.1.3",
"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.16.10",
"@types/auto-launch": "^5.0.2",
"@types/ms": "^0.7.31",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/semver": "^7.3.9",
"electron": "^11.5.0",
"electron-builder": "^22.14.5",
"npm-run-all": "^4.1.5",
"parcel": "^2.2.1",
"postcss": "^8.4.5",
"typescript": "^4.5.5"
}
}