blockbench/package.json

123 lines
2.5 KiB
JSON
Raw Normal View History

2017-10-27 01:00:52 +08:00
{
2018-12-03 02:39:27 +08:00
"name": "Blockbench",
"description": "Low-poly modeling and animation software",
2023-04-18 04:10:08 +08:00
"version": "4.7.1",
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",
"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}",
"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/",
"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": {
"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
],
"category": "3DGraphics",
"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",
"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-03-04 04:10:41 +08:00
"blockbench-types": "^4.6.1",
2023-04-14 01:11:46 +08:00
"electron": "^24.1.1",
"electron-builder": "^23.6.0",
2021-02-10 05:26:52 +08:00
"electron-notarize": "^1.0.0",
"webpack": "^5.74.0",
"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": {
"@electron/remote": "^2.0.1",
2021-05-06 02:19:48 +08:00
"electron-color-picker": "^0.2.0",
"electron-updater": "^5.2.1",
"gifenc": "^1.0.3"
2018-12-03 02:39:27 +08:00
}
2017-10-27 01:00:52 +08:00
}