mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
9a3bdbcec7
Improve support for beta version codes
119 lines
2.4 KiB
JSON
119 lines
2.4 KiB
JSON
{
|
|
"name": "Blockbench",
|
|
"description": "Model editing and animation software",
|
|
"version": "4.0.0-beta.0",
|
|
"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": "dmg",
|
|
"arch": [
|
|
"arm64",
|
|
"x64"
|
|
]
|
|
},
|
|
"category": "macOS.application",
|
|
"hardenedRuntime": true,
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist"
|
|
},
|
|
"files": [
|
|
"assets/",
|
|
"build/",
|
|
"css/",
|
|
"js/",
|
|
"lib/",
|
|
"font/",
|
|
"main.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": {
|
|
"target": "nsis"
|
|
},
|
|
"linux": {
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"target": [
|
|
"deb",
|
|
"rpm",
|
|
"appImage"
|
|
],
|
|
"category": "3DGraphics"
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"ext": "bbmodel",
|
|
"name": "Blockbench Project",
|
|
"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",
|
|
"pwa": "node ./scripts/generate_pwa.js",
|
|
"prepublish": "npm run bundle && npm run pwa",
|
|
"webapp": "git checkout gh-pages && git merge master && git push && git checkout master"
|
|
},
|
|
"devDependencies": {
|
|
"blockbench-types": "^3.9.0",
|
|
"electron": "^13.1.2",
|
|
"electron-builder": "^22.11.7",
|
|
"electron-notarize": "^1.0.0",
|
|
"webpack": "^5.21.2",
|
|
"webpack-cli": "^4.5.0",
|
|
"workbox-build": "^6.1.5"
|
|
},
|
|
"dependencies": {
|
|
"electron-color-picker": "^0.2.0",
|
|
"electron-updater": "^4.3.1"
|
|
}
|
|
}
|