-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 3.76 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 3.76 KB
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "npsharp-electron",
"version": "26.3.3",
"description": "NPSharp migrated to Electron, TypeScript and Monaco Editor.",
"main": "dist-electron/main/main.js",
"type": "commonjs",
"author": "CoreLabs",
"homepage": "https://github.com/girellidev/npsharp",
"repository": {
"type": "git",
"url": "https://github.com/girellidev/npsharp.git"
},
"license": "SEE LICENSE IN ../NPSharp/LICENSE.txt",
"scripts": {
"clean": "node scripts/clean.mjs",
"dev": "node scripts/dev.mjs",
"dev:renderer": "vite",
"build:renderer": "vite build",
"build:electron": "tsc -p tsconfig.electron.json",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.electron.json",
"build": "node scripts/build.mjs",
"build:mobile": "npm run typecheck && npm run build:renderer",
"package": "node scripts/build.mjs",
"package:linux": "node scripts/build.mjs linux",
"package:win": "node scripts/build.mjs win",
"mobile:init": "npm install @capacitor/core @capacitor/cli @capacitor/android @capacitor/filesystem && npx cap init NPSharp br.com.corelabs.npsharp --web-dir=dist && npx cap add android",
"cap:sync": "npm run build:mobile && npx cap sync android",
"android": "npm run cap:sync && npx cap run android",
"android:open": "npm run cap:sync && npx cap open android",
"mobile:sync": "npm run cap:sync",
"mobile:android": "npm run android:open"
},
"dependencies": {
"@capacitor/core": "^8.4.2",
"@capacitor/filesystem": "^8.1.2",
"monaco-editor": "^0.52.2",
"ssh2": "^1.16.0"
},
"devDependencies": {
"@capacitor/android": "^8.4.2",
"@capacitor/cli": "^8.4.2",
"@types/node": "^22.10.2",
"@types/ssh2": "^1.15.4",
"electron": "^33.2.1",
"electron-builder": "^25.1.8",
"typescript": "^5.7.2",
"vite": "^6.0.3"
},
"build": {
"appId": "br.com.corelabs.npsharp",
"productName": "NPSharp",
"directories": {
"output": "release",
"buildResources": "resources"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"build/**/*",
"package.json"
],
"extraResources": [
{
"from": "resources",
"to": "resources",
"filter": [
"**/*"
]
}
],
"npmRebuild": true,
"nativeRebuilder": "parallel",
"asarUnpack": [
"node_modules/node-pty/**/*",
"node_modules/cpu-features/**/*"
],
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "icon.png",
"category": "Development",
"maintainer": "CoreLabs",
"synopsis": "NPSharp IDE",
"description": "NPSharp is a fast, modern and developer-first IDE powered by Electron, React and Monaco Editor.",
"desktop": {
"Name": "NPSharp",
"Comment": "Code, run and manage projects with NPSharp",
"Categories": "Development;IDE;",
"StartupWMClass": "NPSharp"
}
},
"win": {
"target": [
"nsis",
"portable"
],
"icon": "icon.ico"
},
"mac": {
"icon": "icon.icns",
"category": "public.app-category.developer-tools"
},
"appImage": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"deb": {
"artifactName": "${productName}-${version}-${arch}.${ext}",
"afterInstall": "build/linux-after-install.sh",
"fpm": [
"--deb-no-default-config-files"
],
"depends": [
"libgtk-3-0",
"libnotify4",
"libnss3",
"libxss1",
"libxtst6",
"libasound2",
"libgbm1",
"libdrm2",
"libxkbcommon0",
"xdg-utils",
"libatspi2.0-0",
"libuuid1",
"libsecret-1-0"
]
}
},
"optionalDependencies": {
"node-pty": "1.0.0"
}
}