mirror of
https://github.com/mudita/mudita-center.git
synced 2025-12-23 22:28:03 -05:00
299 lines
11 KiB
JSON
299 lines
11 KiB
JSON
{
|
|
"name": "@mudita/mudita-center-app",
|
|
"version": "2.2.5",
|
|
"description": "Mudita Center",
|
|
"main": "./dist/main.js",
|
|
"productName": "Mudita Center",
|
|
"private": true,
|
|
"scripts": {
|
|
"MAIN COMMANDS": "=========================================================",
|
|
"develop": "cross-env START_HOT=1 npm run dev:start:renderer",
|
|
"start": "electron .",
|
|
"BUILD COMMANDS": "========================================================",
|
|
"build": "npm run build:main && npm run build:renderer",
|
|
"build:main": "cross-env NODE_ENV=production webpack --config webpack.config.main.js",
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --config webpack.config.renderer.js",
|
|
"DEV COMMANDS": "==========================================================",
|
|
"dev:start:main": "nodemon --config electron-nodemon.json",
|
|
"dev:start:renderer": "webpack serve --config webpack.config.renderer.js",
|
|
"LINT COMMANDS": "=========================================================",
|
|
"lint": "npm run lint:js && npm run lint:css",
|
|
"lint:css:lint-staged": "stylelint",
|
|
"lint:css": "cross-env stylelint '{src,test,mocks}/**/*.{ts,tsx}'",
|
|
"lint:js": "cross-env eslint '{src,test,mocks}/**/*.{ts,tsx}' --max-warnings=0",
|
|
"lint:js:lint-staged": "eslint --max-warnings=0",
|
|
"lint:typecheck": "tsc --noEmit",
|
|
"lint:fix": "npm run lint:js -- --fix",
|
|
"DIST COMMANDS": "=========================================================",
|
|
"dist:dev": "npm run build && electron-builder --publish never",
|
|
"dist:dev:all": "npm run dist:dev --",
|
|
"dist:prod": "npm run build && electron-builder --publish never",
|
|
"dist:prod:all": "npm run dist:prod --",
|
|
"TEST COMMANDS": "=========================================================",
|
|
"test": "cross-env TZ=UTC jest --config=jest-unit.config.js",
|
|
"test:all": "cross-env TZ=UTC jest --config=jest.config.js",
|
|
"test:coverage": "npm run test -- --coverage",
|
|
"test:watch": "npm test -- --watch",
|
|
"STORYBOOK COMMANDS": "====================================================",
|
|
"storybook:serve": "start-storybook -p 6006 --no-dll",
|
|
"storybook:build": "build-storybook",
|
|
"DATA UPDATE/OVERWRITE COMMANDS": "=========================================",
|
|
"translations:sort": "ts-node ./scripts/sort-translations.ts",
|
|
"translations:sync": "ts-node ./scripts/sync-translations.ts",
|
|
"fonts:download": "node ./scripts/downloadFonts.js",
|
|
"copy-static-dependencies": "node ./scripts/copy-static-sql-js-dependencies.js",
|
|
"news:download": "ts-node ./scripts/downloadNews.ts",
|
|
"help:download": "ts-node ./scripts/downloadHelpItems.ts",
|
|
"app-configuration:download": "ts-node ./scripts/download-configuration.ts",
|
|
"UTILITY/AUTO COMMANDS": "=================================================",
|
|
"postinstall": "npm run fonts:download && npm run news:download && npm run app-configuration:download && npm run copy-static-dependencies",
|
|
"prerelease": "npm run translations:overwrite && npm run build",
|
|
"prestart": "npm run build",
|
|
"predist:prod": "npm run translations:sync",
|
|
"predist:prod:all": "npm run translations:sync",
|
|
"posttranslations:sync": "npm run translations:sort",
|
|
"posttranslations:sort": "prettier --write src/**/*.json",
|
|
"posttest:coverage": "prettier --write ./jest.coverage.json"
|
|
},
|
|
"build": {
|
|
"productName": "Mudita Center",
|
|
"appId": "com.mudita.center",
|
|
"copyright": "Copyright (c) 2017-2023, Mudita sp. z o.o. All rights reserved.",
|
|
"mac": {
|
|
"category": "public.app-category.utilities",
|
|
"icon": "./icons/mac/icon.icns",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"artifactName": "Mudita-Center.${ext}",
|
|
"hardenedRuntime": true,
|
|
"entitlements": "./entitlements.mac.plist"
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "./icons/win/icon.ico"
|
|
},
|
|
"nsis": {
|
|
"include": "installer.nsh",
|
|
"artifactName": "Mudita-Center.${ext}",
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": false,
|
|
"runAfterFinish": true,
|
|
"deleteAppDataOnUninstall": true,
|
|
"license": "resources/license_en.txt"
|
|
},
|
|
"linux": {
|
|
"target": "AppImage",
|
|
"category": "Utility",
|
|
"executableName": "Mudita Center",
|
|
"artifactName": "Mudita-Center.${ext}"
|
|
},
|
|
"appImage": {
|
|
"license": "resources/license_en.txt"
|
|
},
|
|
"directories": {
|
|
"buildResources": "resources",
|
|
"output": "release"
|
|
},
|
|
"files": [
|
|
"dist/",
|
|
"node_modules/",
|
|
"package.json"
|
|
],
|
|
"afterSign": "./scripts/notarize.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Mudita/mudita-center"
|
|
},
|
|
"author": {
|
|
"name": "Mudita",
|
|
"email": "contact@mudita.com"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/Mudita/mudita-center/issues"
|
|
},
|
|
"homepage": "https://github.com/Mudita/mudita-center",
|
|
"devDependencies": {
|
|
"@appnroll/delay-response": "^1.0.2",
|
|
"@babel/core": "^7.19.1",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-decorators": "^7.19.1",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.18.9",
|
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
|
|
"@babel/polyfill": "^7.12.1",
|
|
"@babel/preset-env": "^7.16.5",
|
|
"@babel/preset-react": "^7.16.5",
|
|
"@babel/preset-typescript": "^7.16.5",
|
|
"@contentful/rich-text-react-renderer": "^15.11.0",
|
|
"@contentful/rich-text-types": "^15.11.0",
|
|
"@electron/remote": "^2.0.11",
|
|
"@faker-js/faker": "^7.5.0",
|
|
"@hot-loader/react-dom": "^17.0.1",
|
|
"@mudita/stylelint-config": "^1.0.4",
|
|
"@reduxjs/toolkit": "^1.9.6",
|
|
"@rematch/core": "^1.4.0",
|
|
"@rematch/select": "^2.0.5",
|
|
"@seznam/compose-react-refs": "1.0.4",
|
|
"@storybook/addon-actions": "~6.5.12",
|
|
"@storybook/addon-knobs": "~6.4.0",
|
|
"@storybook/addon-links": "~6.5.12",
|
|
"@storybook/addons": "~6.5.12",
|
|
"@storybook/builder-webpack5": "^6.5.12",
|
|
"@storybook/cli": "~6.5.12",
|
|
"@storybook/manager-webpack5": "^6.5.12",
|
|
"@storybook/react": "~6.5.12",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^12.1.3",
|
|
"@testing-library/react-hooks": "^7.0.2",
|
|
"@types/archiver": "^5.3.1",
|
|
"@types/chai": "^4.3.3",
|
|
"@types/elasticlunr": "^0.9.5",
|
|
"@types/electron-devtools-installer": "^2.2.2",
|
|
"@types/electron-localshortcut": "^3.1.0",
|
|
"@types/history": "^4.7.9",
|
|
"@types/jest": "^26.0.24",
|
|
"@types/lodash": "^4.14.182",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/mime-types": "2.1.2",
|
|
"@types/node": "^18.7.18",
|
|
"@types/node-fetch": "^3.0.3",
|
|
"@types/quoted-printable": "^1.0.0",
|
|
"@types/react": "^17.0.39",
|
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@types/react-hot-loader": "^4.1.1",
|
|
"@types/react-modal": "^3.13.1",
|
|
"@types/react-redux": "^7.1.24",
|
|
"@types/react-router": "^5.1.18",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@types/react-router-redux": "^5.0.21",
|
|
"@types/react-virtualized": "^9.21.21",
|
|
"@types/redux-logger": "^3.0.9",
|
|
"@types/redux-mock-store": "^1.0.3",
|
|
"@types/serialport": "^8.0.2",
|
|
"@types/sinon": "^10.0.13",
|
|
"@types/sql.js": "^1.4.3",
|
|
"@types/styled-components": "^5.1.26",
|
|
"@types/tar-stream": "^2.2.2",
|
|
"@types/tcp-port-used": "^1.0.1",
|
|
"@types/usb": "^1.5.3",
|
|
"@types/utf8": "^3.0.1",
|
|
"@types/uuid": "^8.3.4",
|
|
"@types/vcf": "^2.0.3",
|
|
"@types/webdriverio": "^5.0.0",
|
|
"@types/webpack-env": "^1.17.0",
|
|
"archiver": "^5.3.1",
|
|
"async-mutex": "^0.4.0",
|
|
"axios": "^0.27.2",
|
|
"axios-mock-adapter": "^1.21.2",
|
|
"babel-loader": "^8.2.5",
|
|
"babel-plugin-react-intl": "^7.8.3",
|
|
"babel-plugin-styled-components": "^2.0.7",
|
|
"babel-preset-react-app": "^10.0.1",
|
|
"babel-runtime": "^6.26.0",
|
|
"brie": "^3.0.4",
|
|
"chromedriver": "^103.0.0",
|
|
"circular-dependency-plugin": "^5.2.2",
|
|
"contentful": "^9.2.4",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^6.7.1",
|
|
"dotenv": "^16.0.2",
|
|
"elasticlunr": "^0.9.5",
|
|
"electron": "^26.0.0",
|
|
"electron-better-ipc": "^2.0.1",
|
|
"electron-builder": "^23.3.3",
|
|
"electron-devtools-installer": "^3.2.0",
|
|
"electron-localshortcut": "^3.2.1",
|
|
"electron-notarize": "^1.2.1",
|
|
"electron-store": "^8.0.1",
|
|
"electron-updater": "4.3.9",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.13",
|
|
"fs-extra": "^10.1.0",
|
|
"getmac": "^5.20.0",
|
|
"history": "^4.10.1",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"ical-generator": "^3.5.1",
|
|
"ical-js-parser": "^0.7.0",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"is-electron-renderer": "^2.0.1",
|
|
"jest": "^26.6.3",
|
|
"jest-styled-components": "^7.0.8",
|
|
"lodash": "^4.17.21",
|
|
"memfs": "^3.4.7",
|
|
"mini-css-extract-plugin": "^2.6.1",
|
|
"mock-fs": "^5.2.0",
|
|
"mockdate": "^3.0.5",
|
|
"moment": "^2.29.4",
|
|
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
"nodemon": "^2.0.19",
|
|
"p-queue": "^7.3.0",
|
|
"quoted-printable": "^1.0.1",
|
|
"react": "^17.0.2",
|
|
"react-beautiful-dnd": "^13.1.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-google-button": "^0.7.2",
|
|
"react-hook-form": "~7.12.2",
|
|
"react-hot-loader": "^4.13.0",
|
|
"react-intersection-observer": "^9.4.0",
|
|
"react-intl": "6.4.7",
|
|
"react-modal": "^3.15.1",
|
|
"react-redux": "^8.0.2",
|
|
"react-router": "^5.2.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-syntax-highlighter": "^15.5.0",
|
|
"react-tooltip": "^4.2.21",
|
|
"react-viewport-list": "^6.0.1",
|
|
"react-virtualized": "^9.22.3",
|
|
"react-virtuoso": "^2.18.0",
|
|
"redux": "^4.2.0",
|
|
"redux-logger": "^3.0.6",
|
|
"redux-mock-store": "^1.5.4",
|
|
"redux-thunk": "^2.4.1",
|
|
"reflect-metadata": "^0.1.13",
|
|
"reselect": "4.0.0",
|
|
"rrule": "^2.7.1",
|
|
"sass-loader": "^12.4.0",
|
|
"semver": "^7.3.5",
|
|
"source-map-loader": "^1.1.3",
|
|
"sql.js": "^1.7.0",
|
|
"style-loader": "^2.0.0",
|
|
"styled-components": "^5.3.3",
|
|
"styled-normalize": "^8.0.7",
|
|
"stylelint": "^13.13.1",
|
|
"stylelint-config-styled-components": "^0.1.1",
|
|
"stylelint-processor-styled-components": "^1.10.0",
|
|
"svg-react-loader": "^0.4.6",
|
|
"tar-stream": "^2.2.0",
|
|
"tcp-port-used": "^1.0.2",
|
|
"terser-webpack-plugin": "^5.3.6",
|
|
"ts-jest": "^26.5.6",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.8.3",
|
|
"url-loader": "4.1.1",
|
|
"usehooks-ts": "^2.6.0",
|
|
"utf8": "^3.0.0",
|
|
"vcf": "^2.1.1",
|
|
"webpack": "^5.74.0",
|
|
"webpack-cli": "^4.10.0",
|
|
"webpack-dev-server": "^4.15.1",
|
|
"winston": "^3.8.2",
|
|
"winston-daily-rotate-file": "^4.7.1",
|
|
"winston-transport-rollbar-3": "^3.2.0"
|
|
},
|
|
"dependencies": {
|
|
"serialport": "10.1.0"
|
|
},
|
|
"engines": {
|
|
"node": "18.16.1",
|
|
"npm": "9.5.1"
|
|
}
|
|
}
|