-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 loc) · 2.43 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
76
77
78
79
80
81
82
{
"name": "fragmemo",
"productName": "fragmemo",
"version": "0.1.5",
"description": "Snippet tool",
"main": "build/main.js",
"scripts": {
"dev": "tsc -b main-process/ && vite",
"build": "tsc --noEmit && vite build",
"serve": "vite preview",
"electron": "wait-on tcp:127.0.0.1:3000 && cross-env IS_DEV=true electron .",
"electron:pack": "electron-builder --dir",
"electron:dev": "concurrently -k \"cross-env BROWSER=none yarn dev\" \"yarn electron\"",
"electron:builder": "electron-builder",
"build:for:electron": "cross-env ELECTRON=true vite build && tsc -b main-process/",
"app:build": "yarn build:for:electron && yarn electron:builder",
"app:build:mac:x64": "yarn build:for:electron && yarn electron:builder --mac --x64",
"app:build:mac:arm64": "yarn build:for:electron && yarn electron:builder --mac --arm64",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"lint:prettier": "prettier --write .",
"test": "jest"
},
"keywords": [],
"author": {
"name": "noriyotcp",
"email": "noriyo.akita@gmail.com"
},
"license": "MIT",
"engines": {
"node": "^18"
},
"dependencies": {
"@ui5/webcomponents": "^1.14.0",
"electron-json-storage": "^4.6.0",
"fast-json-patch": "^3.1.1",
"lit": "^2.7.5",
"monaco-editor": "^0.38.0",
"realm": "^11.10.1",
"split.js": "^1.6.5"
},
"devDependencies": {
"@swc/core": "^1.3.70",
"@swc/jest": "^0.2.27",
"@types/electron-json-storage": "^4.5.0",
"@types/jest": "^29.5.3",
"@types/node": "^20.2.5",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"electron": "^25.3.1",
"electron-builder": "^24.4.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"jest": "^29.6.1",
"prettier": "3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"wait-on": "^7.0.1"
},
"build": {
"appId": "com.electron.fragmemo",
"productName": "fragmemo",
"copyright": "Copyright © 2021 ${author}",
"mac": {
"category": "public.app-category.utilities",
"icon": "icons/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"files": [
"build/**/*"
],
"directories": {
"buildResources": "assets"
}
}
}