-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
159 lines (159 loc) · 4.36 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "thorium-nova",
"version": "1.0.0-alpha.15",
"description": "Spaceship Simulator Controls Platform",
"keywords": [],
"author": "Alex Anderson",
"license": "Apache 2.0",
"private": true,
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/Thorium-Sim/thorium-nova.git"
},
"main": "dist/electron.js",
"scripts": {
"dev": "tsx scripts/dev.ts",
"build": "tsx scripts/build.ts",
"typecheck": "concurrently --names \"client,server,shared,desktop\" -c \"blue.bold,magenta.bold,yellow.bold,green.bold\" \"npm run typecheck --workspace=client\" \"npm run typecheck --workspace=server\" \"npm run typecheck --workspace=shared\" \"npm run typecheck --workspace=desktop\"",
"lint": "biome lint .",
"start": "NODE_ENV=production node dist/index.js",
"test": "is-ci-cli \"test:coverage\" \"test:watch\"",
"test:coverage": "vitest --coverage",
"test:watch": "vitest --watch",
"format": "biome format --write .",
"format:different": "biome format .",
"semantic-release": "semantic-release",
"package": "electron-builder --dir",
"postinstall": "concurrently \"electron-builder install-app-deps\" \"npm run init:plugin\"",
"validate": "concurrently --names \"lint,format,typecheck,test\" -c \"yellow.bold,magenta.bold,blue.bold,green.bold\" \"npm run lint\" \"npm run format:different\" \"npm run typecheck\" \"CI=true npm run test\"",
"init:plugin": "tsx scripts/pluginInit.ts"
},
"build": {
"appId": "us.fyreworks.thorium-nova",
"productName": "Thorium Nova",
"electronVersion": "28.2.0",
"files": [
"dist/**/*",
"resources/**/*",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!.editorconfig",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
],
"asar": false,
"extraResources": [
{
"from": "./desktop/resources",
"to": "./app",
"filter": [
"server.*",
"index.html"
]
},
{
"from": "./dist",
"to": "./app",
"filter": [
"defaultPlugin.plug"
]
}
],
"directories": {
"output": "./packages",
"buildResources": "./desktop/resources"
},
"publish": {
"provider": "github"
},
"afterSign": "electron-builder-notarize",
"mac": {
"category": "public.app-category.entertainment",
"icon": "./nova.icns",
"hardenedRuntime": true,
"entitlements": "./desktop/resources/entitlements.mac.plist",
"entitlementsInherit": "./desktop/resources/entitlements.mac.plist",
"gatekeeperAssess": false,
"fileAssociations": [
{
"ext": "flight",
"name": "Thorium Nova Flight",
"icon": "./nova-doc.icns"
}
]
},
"nsis": {
"oneClick": true,
"perMachine": true
},
"win": {
"target": [
"zip",
"portable",
"nsis"
],
"icon": "./nova.ico",
"fileAssociations": [
{
"ext": "flight",
"name": "Thorium Nova Flight",
"description": "A saved flight for Thorium Nova.",
"icon": "./nova-doc.ico"
}
],
"protocols": {
"name": "Thorium Flight URL",
"schemes": [
"flight"
]
}
},
"linux": {
"category": "Utility"
}
},
"workspaces": [
"shared",
"client",
"server",
"desktop"
],
"volta": {
"node": "18.18.2"
},
"devDependencies": {
"@biomejs/biome": "1.6.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^28.1.6",
"@vitest/coverage-v8": "^0.34.6",
"alias-hq": "^6.2.3",
"concurrently": "^7.6.0",
"electron": "^28.2.0",
"electron-builder": "^24.9.1",
"electron-builder-notarize": "^1.5.1",
"esbuild": "^0.20.0",
"happy-dom": "^12.10.3",
"is-ci-cli": "^2.2.0",
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^2.2.1",
"prettier": "^3.2.5",
"semantic-release": "^20.0.1",
"tsx": "^4.7.1",
"vitest": "^0.34.6"
},
"publishConfig": {
"access": "restricted"
}
}