mirror of
https://github.com/keyboardio/Chrysalis.git
synced 2026-02-28 19:07:17 +01:00
176 lines
5.2 KiB
JSON
176 lines
5.2 KiB
JSON
{
|
|
"name": "chrysalis",
|
|
"version": "0.11.1-snapshot",
|
|
"license": "GPL-3.0-only",
|
|
"author": {
|
|
"name": "Keyboardio",
|
|
"email": "help@keyboard.io"
|
|
},
|
|
"homepage": "https://github.com/keyboardio/Chrysalis",
|
|
"scripts": {
|
|
"precompile": "node tools/precompile.mjs",
|
|
"preinstall": "node tools/preinstall.js",
|
|
"postinstall": "electron-builder install-app-deps",
|
|
"start": "yarn run precompile && electron-webpack dev",
|
|
"compile": "electron-webpack",
|
|
"build:all": "npm-run-all compile --parallel 'electron-builder -m' 'electron-builder -w' 'electron-builder -l'",
|
|
"build:osx": "yarn compile && electron-builder -m",
|
|
"build:mac": "yarn run build:osx",
|
|
"build:windows": "yarn compile && electron-builder -w",
|
|
"build:win": "yarn run build:windows",
|
|
"build:linux": "yarn compile && electron-builder -l",
|
|
"build:Linux": "yarn run build:linux",
|
|
"build:Windows": "yarn run build:windows",
|
|
"build:macOS": "yarn run build:osx",
|
|
"prettier": "prettier --write \"src/**/*.{js,json,css,scss,md}\"",
|
|
"lint:all": "npm-run-all lint:js lint:css",
|
|
"lint:js": "eslint src/**/*.js",
|
|
"lint:css": "stylelint src/**/*.css",
|
|
"clean:code": "npm-run-all prettier lint:all",
|
|
"firmware:update": "tools/firmware-update"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm-run-all -p lint:all"
|
|
}
|
|
},
|
|
"build": {
|
|
"appId": "keyboardio.chrysalis",
|
|
"productName": "Chrysalis",
|
|
"artifactName": "${productName}-${version}.${ext}",
|
|
"copyright": "Copyright © 2018-2022 Keyboardio Inc.; distributed under the GPLv3",
|
|
"win": {
|
|
"target": [
|
|
"nsis",
|
|
"portable"
|
|
]
|
|
},
|
|
"portable": {
|
|
"artifactName": "${productName}-${version}-portable.${ext}"
|
|
},
|
|
"mac": {
|
|
"darkModeSupport": true,
|
|
"hardenedRuntime": true,
|
|
"entitlements": "./build/entitlements.mac.inherit.plist",
|
|
"target": [
|
|
{
|
|
"target": "dmg",
|
|
"arch": [
|
|
"universal"
|
|
]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": [
|
|
"universal"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"linux": {
|
|
"target": [
|
|
"AppImage"
|
|
]
|
|
},
|
|
"afterPack": "./build/afterPackHook.js",
|
|
"afterSign": "electron-builder-notarize",
|
|
"extraResources": [
|
|
{
|
|
"from": "./build/launcher.sh",
|
|
"to": "launcher.sh"
|
|
},
|
|
"static",
|
|
"!static/cldr",
|
|
"!static/dfu-util",
|
|
"static/dfu-util/${platform}-*",
|
|
"NEWS.md"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.8.2",
|
|
"@emotion/styled": "^11.8.1",
|
|
"@gatsbyjs/reach-router": "^1.3.6",
|
|
"@mui/icons-material": "^5.5.1",
|
|
"@mui/material": "^5.5.2",
|
|
"@mui/system": "^5.5.2",
|
|
"archiver": "^5.0.2",
|
|
"avrgirl-arduino": "keyboardio/avrgirl-arduino#serialport-10",
|
|
"electron-devtools-installer": "^3.1.1",
|
|
"electron-store": "^8.0.1",
|
|
"electron-updater": "^5.0.1",
|
|
"electron-window-state": "^5.0.3",
|
|
"i18next": "^21.6.14",
|
|
"i18next-electron-language-detector": "^0.0.10",
|
|
"immutability-helper": "^3.1.1",
|
|
"js-yaml": "^4.1.0",
|
|
"json-stringify-pretty-compact": "^3.0.0",
|
|
"react": "^17.0.2",
|
|
"react-color": "^2.14.1",
|
|
"react-dnd": "^16.0.1",
|
|
"react-dnd-html5-backend": "^16.0.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-i18next": "^11.8.5",
|
|
"react-markdown": "^7.1.0",
|
|
"react-rnd": "^10.3.7",
|
|
"remark-emoji": "^3.0.2",
|
|
"remark-gfm": "^3.0.1",
|
|
"serialport": "^10.4.0",
|
|
"source-map-support": "^0.5.16",
|
|
"sudo-prompt": "^9.2.1",
|
|
"systeminformation": "^5.3.1",
|
|
"teensy-loader": "^0.3.1",
|
|
"tmp": "^0.2.1",
|
|
"typeface-roboto": "^0.0.54",
|
|
"typeface-source-code-pro": "^0.0.71",
|
|
"usb": "^2.4.2",
|
|
"uuid": "^8.3.1",
|
|
"winston": "^3.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.17.8",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
"@babel/preset-env": "^7.16.11",
|
|
"@babel/preset-react": "^7.16.7",
|
|
"@spotxyz/universal": "",
|
|
"app-builder-lib": "^23.0.3",
|
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
"cldr": "^7.1.1",
|
|
"core-js": "^3.21.1",
|
|
"electron": "17",
|
|
"electron-builder": "^23.0.3",
|
|
"electron-builder-notarize": "^1.2.0",
|
|
"electron-webpack": "^2.8.2",
|
|
"electron-webpack-eslint": "^6.0.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^4.1.0",
|
|
"eslint-import-resolver-babel-module": "^5.3.1",
|
|
"eslint-import-resolver-webpack": "^0.13.2",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-prettier": "^3.3.1",
|
|
"eslint-plugin-react": "^7.22.0",
|
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
"husky": "^1.1.2",
|
|
"lint-staged": "^12.3.7",
|
|
"node-abi": "^3.8.0",
|
|
"npm-run-all": "^4.1.3",
|
|
"prettier": "^2.6.1",
|
|
"stylelint": "^14.6.1",
|
|
"stylelint-config-standard": "^25.0.0",
|
|
"unraw": "^2.0.0",
|
|
"webpack": "4.46.0",
|
|
"yarn": "^1.22.0",
|
|
"xml2js": "^0.4.23"
|
|
},
|
|
"resolutions": {
|
|
"teensy-loader/usb": "^2.4.2",
|
|
"avrgirl-arduino/stk500-v2/async": "^2.6.4",
|
|
"avrgirl-arduino/stk500/async": "^2.6.4",
|
|
"cacache/y18n": "^4.0.1",
|
|
"yargs/y18n": "^4.0.1",
|
|
"**/node-forge": "^1.3.0",
|
|
"**/glob-parent": "^5.1.2",
|
|
"**/@electron/universal": "npm:@spotxyz/universal"
|
|
}
|
|
}
|