mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
144 lines
3.2 KiB
JSON
144 lines
3.2 KiB
JSON
{
|
|
"name": "Blockbench",
|
|
"description": "Low-poly modeling and animation software",
|
|
"version": "4.11.2",
|
|
"license": "GPL-3.0-or-later",
|
|
"author": {
|
|
"name": "JannisX11",
|
|
"email": "info@blockbench.net"
|
|
},
|
|
"homepage": "https://blockbench.net",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/JannisX11/blockbench"
|
|
},
|
|
"main": "main.js",
|
|
"build": {
|
|
"afterSign": "scripts/notarize.js",
|
|
"appId": "blockbench",
|
|
"productName": "Blockbench",
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"publish": [
|
|
{
|
|
"provider": "github"
|
|
}
|
|
],
|
|
"mac": {
|
|
"target": {
|
|
"target": "default",
|
|
"arch": [
|
|
"arm64",
|
|
"x64"
|
|
]
|
|
},
|
|
"artifactName": "${productName}_${arch}_${version}.${ext}",
|
|
"category": "macOS.application",
|
|
"hardenedRuntime": true,
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist"
|
|
},
|
|
"files": [
|
|
"assets/",
|
|
"build/",
|
|
"css/",
|
|
"js/",
|
|
"lib/",
|
|
"font/",
|
|
"main.js",
|
|
"bundle.js",
|
|
"index.html",
|
|
"package.json",
|
|
"favicon.png",
|
|
"icon.icns",
|
|
"icon.ico",
|
|
"icon.png"
|
|
],
|
|
"dmg": {
|
|
"artifactName": "${productName}_${arch}_${version}.${ext}",
|
|
"window": {
|
|
"x": 200,
|
|
"y": 100,
|
|
"width": 440,
|
|
"height": 220
|
|
},
|
|
"contents": [
|
|
{
|
|
"x": 130,
|
|
"y": 120
|
|
},
|
|
{
|
|
"x": 360,
|
|
"y": 120,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"certificateSubjectName": "Jannis Tobias Petersen",
|
|
"artifactName": "${productName}_${arch}_${version}.${ext}",
|
|
"target": {
|
|
"target": "nsis",
|
|
"arch": [
|
|
"arm64",
|
|
"x64"
|
|
]
|
|
}
|
|
},
|
|
"nsis": {
|
|
"license": "LICENSE.MD"
|
|
},
|
|
"linux": {
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"target": [
|
|
"deb",
|
|
"rpm",
|
|
"appImage"
|
|
],
|
|
"category": "Graphics;3DGraphics",
|
|
"icon": "build/icon.icns"
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"ext": "bbmodel",
|
|
"name": "Blockbench Project",
|
|
"mimeType": "model/vnd.blockbench.bbmodel",
|
|
"role": "Editor"
|
|
},
|
|
{
|
|
"ext": "json",
|
|
"name": "JSON Model",
|
|
"mimeType": "application/json",
|
|
"role": "Editor"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"bundle": "webpack --config webpack.config.js",
|
|
"bundle-watch": "webpack --config webpack.config.js --watch",
|
|
"dev": "electron .",
|
|
"dist": "electron-builder",
|
|
"beta": "electron-builder --windows portable",
|
|
"publish-windows": "npm run bundle && electron-builder -w --publish=onTagOrDraft && node ./scripts/rename_portable.js && electron-builder --windows portable --publish=onTagOrDraft",
|
|
"pwa": "node ./scripts/generate_pwa.js",
|
|
"prepublish": "npm run bundle && npm run pwa",
|
|
"prepublish-beta": "node ./scripts/enable_beta.js && npm run bundle && npm run pwa",
|
|
"webapp": "git checkout gh-pages && git pull && git merge master && git push && git checkout master"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/notarize": "^2.3.0",
|
|
"blockbench-types": "^4.6.1",
|
|
"electron": "^31.4.0",
|
|
"electron-builder": "^24.13.3",
|
|
"webpack": "^5.74.0",
|
|
"webpack-cli": "^4.5.0",
|
|
"workbox-build": "^6.5.3"
|
|
},
|
|
"dependencies": {
|
|
"@electron/remote": "^2.1.2",
|
|
"electron-color-picker": "^0.2.0",
|
|
"electron-updater": "^6.3.4",
|
|
"gifenc": "^1.0.3"
|
|
}
|
|
}
|