-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 3.03 KB
/
Copy pathpackage.json
File metadata and controls
104 lines (104 loc) · 3.03 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
{
"name": "draftdown",
"version": "1.0.0",
"description": "A local desktop 3D CAD application inspired by DraftDown, built with Electron",
"main": "dist/main/main.js",
"author": "DraftDown",
"scripts": {
"dev": "concurrently \"webpack --config webpack.main.config.js --watch\" \"webpack serve --config webpack.renderer.config.js\"",
"build:main": "webpack --config webpack.main.config.js",
"build:renderer": "webpack --config webpack.renderer.config.js --mode production",
"build": "npm run build:main && npm run build:renderer",
"start": "npm run build && electron dist/main/main.js",
"dist:mac": "export $(cat .env.signing | xargs) && npm run build && electron-builder --mac --x64 --arm64",
"dist:win": "npm run build && electron-builder --win --x64",
"dist:linux": "npm run build && electron-builder --linux --x64",
"dist:all": "npm run build && electron-builder --mac --x64 --arm64 --win --x64 --linux --x64",
"build:web": "webpack --config webpack.web.config.js --mode production",
"dev:web": "webpack serve --config webpack.web.config.js --mode development",
"test": "jest",
"test:e2e": "jest --config jest.e2e.config.js"
},
"build": {
"appId": "com.cachefactory.draftdown",
"productName": "DraftDown",
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**/*",
"package.json"
],
"mac": {
"category": "public.app-category.graphics-design",
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"notarize": true
},
"dmg": {
"sign": false
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": ["x64"]
}
],
"category": "Graphics"
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
]
}
},
"dependencies": {
"assimpjs": "^0.0.10",
"electron-store": "^8.1.0",
"manifold-3d": "^3.4.1",
"opencascade.js": "^1.1.1",
"three": "^0.162.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@types/jest": "^30.0.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@types/three": "^0.162.0",
"@types/uuid": "^9.0.0",
"concurrently": "^8.2.0",
"copy-webpack-plugin": "^12.0.0",
"css-loader": "^6.10.0",
"electron": "^28.0.0",
"electron-builder": "^26.8.1",
"electron-playwright-helpers": "^2.1.0",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"style-loader": "^3.3.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.5.0",
"typescript": "^5.9.3",
"webpack": "^5.90.0",
"webpack-cli": "^5.1.0",
"webpack-dev-server": "^5.0.0"
}
}