2017-10-27 01:00:52 +08:00
|
|
|
{
|
2018-12-03 02:39:27 +08:00
|
|
|
"name": "Blockbench",
|
2021-09-24 03:35:36 +08:00
|
|
|
"description": "Low-poly modeling and animation software",
|
2023-01-09 04:36:47 +08:00
|
|
|
"version": "4.6.0-beta.2",
|
2020-07-16 15:32:59 +08:00
|
|
|
"license": "GPL-3.0-or-later",
|
2018-12-03 02:39:27 +08:00
|
|
|
"author": {
|
|
|
|
"name": "JannisX11",
|
|
|
|
"email": "info@blockbench.net"
|
|
|
|
},
|
2019-07-18 02:32:07 +08:00
|
|
|
"homepage": "https://blockbench.net",
|
2018-12-03 02:39:27 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/JannisX11/blockbench"
|
|
|
|
},
|
|
|
|
"main": "main.js",
|
|
|
|
"build": {
|
2020-07-16 15:32:59 +08:00
|
|
|
"afterSign": "scripts/notarize.js",
|
2018-12-03 02:39:27 +08:00
|
|
|
"appId": "blockbench",
|
2019-01-02 22:04:45 +08:00
|
|
|
"productName": "Blockbench",
|
2021-06-24 17:13:19 +08:00
|
|
|
"artifactName": "${productName}_${version}.${ext}",
|
2020-07-16 15:32:59 +08:00
|
|
|
"publish": [
|
|
|
|
{
|
|
|
|
"provider": "github"
|
|
|
|
}
|
|
|
|
],
|
2018-12-03 02:39:27 +08:00
|
|
|
"mac": {
|
2021-06-24 17:13:19 +08:00
|
|
|
"target": {
|
2021-08-22 04:45:10 +08:00
|
|
|
"target": "default",
|
2021-06-24 17:13:19 +08:00
|
|
|
"arch": [
|
|
|
|
"arm64",
|
|
|
|
"x64"
|
|
|
|
]
|
|
|
|
},
|
2022-07-26 03:03:44 +08:00
|
|
|
"artifactName": "${productName}_${arch}_${version}.${ext}",
|
2019-01-02 22:04:45 +08:00
|
|
|
"category": "macOS.application",
|
2020-07-16 15:32:59 +08:00
|
|
|
"hardenedRuntime": true,
|
|
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
|
|
"entitlementsInherit": "build/entitlements.mac.plist"
|
2018-12-03 02:39:27 +08:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"assets/",
|
|
|
|
"build/",
|
|
|
|
"css/",
|
2021-02-10 05:26:52 +08:00
|
|
|
"js/",
|
|
|
|
"lib/",
|
2021-03-01 04:21:53 +08:00
|
|
|
"font/",
|
2018-12-03 02:39:27 +08:00
|
|
|
"main.js",
|
|
|
|
"index.html",
|
|
|
|
"package.json",
|
|
|
|
"favicon.png",
|
|
|
|
"icon.icns",
|
|
|
|
"icon.ico",
|
|
|
|
"icon.png"
|
|
|
|
],
|
|
|
|
"dmg": {
|
2021-06-24 17:13:19 +08:00
|
|
|
"artifactName": "${productName}_${arch}_${version}.${ext}",
|
2019-01-03 00:08:58 +08:00
|
|
|
"window": {
|
|
|
|
"x": 200,
|
|
|
|
"y": 100,
|
|
|
|
"width": 440,
|
2019-01-09 22:54:35 +08:00
|
|
|
"height": 220
|
2019-01-03 00:08:58 +08:00
|
|
|
},
|
2018-12-03 02:39:27 +08:00
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
"x": 130,
|
2019-01-03 00:08:58 +08:00
|
|
|
"y": 120
|
2018-12-03 02:39:27 +08:00
|
|
|
},
|
|
|
|
{
|
2019-01-03 00:08:58 +08:00
|
|
|
"x": 360,
|
|
|
|
"y": 120,
|
2018-12-03 02:39:27 +08:00
|
|
|
"type": "link",
|
|
|
|
"path": "/Applications"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"win": {
|
2021-06-24 17:13:19 +08:00
|
|
|
"target": "nsis"
|
2018-12-03 02:39:27 +08:00
|
|
|
},
|
|
|
|
"linux": {
|
2019-01-02 22:04:45 +08:00
|
|
|
"artifactName": "${productName}_${version}.${ext}",
|
2018-12-03 02:39:27 +08:00
|
|
|
"target": [
|
2019-07-18 00:02:07 +08:00
|
|
|
"deb",
|
2020-05-31 21:54:04 +08:00
|
|
|
"rpm",
|
|
|
|
"appImage"
|
2018-12-03 02:39:27 +08:00
|
|
|
],
|
2022-07-19 02:13:16 +08:00
|
|
|
"category": "3DGraphics",
|
2022-07-20 05:11:00 +08:00
|
|
|
"icon": "build/icon.icns"
|
2020-07-16 15:32:59 +08:00
|
|
|
},
|
|
|
|
"fileAssociations": [
|
|
|
|
{
|
|
|
|
"ext": "bbmodel",
|
|
|
|
"name": "Blockbench Project",
|
|
|
|
"role": "Editor"
|
|
|
|
}
|
|
|
|
]
|
2018-12-03 02:39:27 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-02-10 05:26:52 +08:00
|
|
|
"bundle": "webpack --config webpack.config.js",
|
|
|
|
"bundle-watch": "webpack --config webpack.config.js --watch",
|
2020-04-26 02:25:07 +08:00
|
|
|
"dev": "electron .",
|
2020-07-16 15:32:59 +08:00
|
|
|
"dist": "electron-builder",
|
2020-07-17 03:50:08 +08:00
|
|
|
"beta": "electron-builder --windows portable",
|
2021-02-22 04:59:39 +08:00
|
|
|
"pwa": "node ./scripts/generate_pwa.js",
|
|
|
|
"prepublish": "npm run bundle && npm run pwa",
|
2020-07-17 03:50:08 +08:00
|
|
|
"webapp": "git checkout gh-pages && git merge master && git push && git checkout master"
|
2018-12-03 02:39:27 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-01-07 03:18:48 +08:00
|
|
|
"blockbench-types": "^4.5.0",
|
2022-12-22 20:22:30 +08:00
|
|
|
"electron": "^22.0.0",
|
2022-07-04 01:58:30 +08:00
|
|
|
"electron-builder": "^23.1.0",
|
2021-02-10 05:26:52 +08:00
|
|
|
"electron-notarize": "^1.0.0",
|
2022-10-09 03:35:21 +08:00
|
|
|
"webpack": "^5.74.0",
|
2021-02-22 04:59:39 +08:00
|
|
|
"webpack-cli": "^4.5.0",
|
2022-05-20 03:51:04 +08:00
|
|
|
"workbox-build": "^6.5.3"
|
2020-07-16 15:32:59 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-10-09 21:44:11 +08:00
|
|
|
"@electron/remote": "^2.0.1",
|
2021-05-06 02:19:48 +08:00
|
|
|
"electron-color-picker": "^0.2.0",
|
2022-07-30 20:57:59 +08:00
|
|
|
"electron-updater": "^5.2.1"
|
2018-12-03 02:39:27 +08:00
|
|
|
}
|
2017-10-27 01:00:52 +08:00
|
|
|
}
|