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",
|
2021-11-18 04:49:36 +08:00
|
|
|
"version": "4.0.5",
|
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"
|
|
|
|
]
|
|
|
|
},
|
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
|
|
|
],
|
2019-01-03 00:08:58 +08:00
|
|
|
"category": "3DGraphics"
|
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": {
|
2021-11-18 04:49:36 +08:00
|
|
|
"blockbench-types": "^4.0.0",
|
2021-10-09 21:44:11 +08:00
|
|
|
"electron": "^14.1.1",
|
2021-11-13 21:43:25 +08:00
|
|
|
"electron-builder": "^22.13.1",
|
2021-02-10 05:26:52 +08:00
|
|
|
"electron-notarize": "^1.0.0",
|
|
|
|
"webpack": "^5.21.2",
|
2021-02-22 04:59:39 +08:00
|
|
|
"webpack-cli": "^4.5.0",
|
2021-04-15 03:19:31 +08:00
|
|
|
"workbox-build": "^6.1.5"
|
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",
|
2020-07-16 15:32:59 +08:00
|
|
|
"electron-updater": "^4.3.1"
|
2018-12-03 02:39:27 +08:00
|
|
|
}
|
2017-10-27 01:00:52 +08:00
|
|
|
}
|