blockbench/package.json

143 lines
3.2 KiB
JSON
Raw Permalink Normal View History

2017-10-26 19:00:52 +02:00
{
2018-12-02 19:39:27 +01:00
"name": "Blockbench",
"description": "Low-poly modeling and animation software",
2025-02-19 23:03:54 +01:00
"version": "4.12.3",
2020-07-16 09:32:59 +02:00
"license": "GPL-3.0-or-later",
2018-12-02 19:39:27 +01:00
"author": {
"name": "JannisX11",
"email": "info@blockbench.net"
},
2019-07-17 20:32:07 +02:00
"homepage": "https://blockbench.net",
2018-12-02 19:39:27 +01:00
"repository": {
"type": "git",
"url": "https://github.com/JannisX11/blockbench"
},
"main": "main.js",
"build": {
2020-07-16 09:32:59 +02:00
"afterSign": "scripts/notarize.js",
2018-12-02 19:39:27 +01:00
"appId": "blockbench",
"productName": "Blockbench",
2021-06-24 11:13:19 +02:00
"artifactName": "${productName}_${version}.${ext}",
2020-07-16 09:32:59 +02:00
"publish": [
{
"provider": "github"
}
],
2018-12-02 19:39:27 +01:00
"mac": {
2021-06-24 11:13:19 +02:00
"target": {
2021-08-21 22:45:10 +02:00
"target": "default",
2021-06-24 11:13:19 +02:00
"arch": [
"arm64",
"x64"
]
},
2022-07-25 21:03:44 +02:00
"artifactName": "${productName}_${arch}_${version}.${ext}",
"category": "macOS.application",
2020-07-16 09:32:59 +02:00
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
2018-12-02 19:39:27 +01:00
},
"files": [
"assets/",
"build/",
"css/",
2021-02-09 22:26:52 +01:00
"js/",
"lib/",
"font/",
2018-12-02 19:39:27 +01:00
"main.js",
2023-11-13 21:34:41 +01:00
"bundle.js",
2018-12-02 19:39:27 +01:00
"index.html",
"package.json",
"favicon.png",
"icon.icns",
"icon.ico",
"icon.png"
],
"dmg": {
2021-06-24 11:13:19 +02:00
"artifactName": "${productName}_${arch}_${version}.${ext}",
2019-01-02 17:08:58 +01:00
"window": {
"x": 200,
"y": 100,
"width": 440,
2019-01-09 15:54:35 +01:00
"height": 220
2019-01-02 17:08:58 +01:00
},
2018-12-02 19:39:27 +01:00
"contents": [
{
"x": 130,
2019-01-02 17:08:58 +01:00
"y": 120
2018-12-02 19:39:27 +01:00
},
{
2019-01-02 17:08:58 +01:00
"x": 360,
"y": 120,
2018-12-02 19:39:27 +01:00
"type": "link",
"path": "/Applications"
}
]
},
"win": {
2025-01-20 18:59:04 +01:00
"certificateSubjectName": "Jannis Tobias Petersen",
2024-08-28 23:51:21 +02:00
"artifactName": "${productName}_${arch}_${version}.${ext}",
"target": {
"target": "nsis",
"arch": [
"arm64",
"x64"
]
}
2018-12-02 19:39:27 +01:00
},
2024-05-26 19:13:03 +02:00
"nsis": {
"license": "LICENSE.MD"
},
2018-12-02 19:39:27 +01:00
"linux": {
"artifactName": "${productName}_${version}.${ext}",
2018-12-02 19:39:27 +01:00
"target": [
2019-07-17 18:02:07 +02:00
"deb",
2020-05-31 15:54:04 +02:00
"rpm",
"appImage"
2018-12-02 19:39:27 +01:00
],
2024-07-18 18:20:26 +02:00
"category": "Graphics;3DGraphics",
"icon": "build/icon.icns"
2020-07-16 09:32:59 +02:00
},
"fileAssociations": [
{
"ext": "bbmodel",
"name": "Blockbench Project",
2024-07-17 23:47:06 +02:00
"mimeType": "model/vnd.blockbench.bbmodel",
2020-07-16 09:32:59 +02:00
"role": "Editor"
},
{
"ext": "json",
"name": "JSON Model",
"mimeType": "application/json",
"role": "Editor"
2020-07-16 09:32:59 +02:00
}
]
2018-12-02 19:39:27 +01:00
},
"scripts": {
2021-02-09 22:26:52 +01:00
"bundle": "webpack --config webpack.config.js",
"bundle-watch": "webpack --config webpack.config.js --watch",
2020-04-25 20:25:07 +02:00
"dev": "electron .",
2020-07-16 09:32:59 +02:00
"dist": "electron-builder",
2020-07-16 21:50:08 +02:00
"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"
2018-12-02 19:39:27 +01:00
},
"devDependencies": {
2025-01-15 13:32:32 +01:00
"@electron/notarize": "^2.5.0",
2023-03-03 21:10:41 +01:00
"blockbench-types": "^4.6.1",
"electron": "^33.3.1",
2025-01-15 16:19:43 +01:00
"electron-builder": "^24.13.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.5.0",
2022-05-19 21:51:04 +02:00
"workbox-build": "^6.5.3"
2020-07-16 09:32:59 +02:00
},
"dependencies": {
2024-03-03 15:28:52 +01:00
"@electron/remote": "^2.1.2",
2021-05-05 20:19:48 +02:00
"electron-color-picker": "^0.2.0",
"electron-updater": "^6.3.4",
"gifenc": "^1.0.3"
2018-12-02 19:39:27 +01:00
}
2025-01-20 18:59:04 +01:00
}