{ "name": "sophie", "version": "0.1.0", "description": "Messaging app built from the ground up with security in mind", "keywords": [ "messaging", "app" ], "author": "Kristóf Marussy (https://marussy.com)", "contributors": [ "Vijay A " ], "license": "AGPL-3.0-only", "repository": "https://gitlab.com/say-hi-to-sophie/sophie", "private": true, "engines": { "node": ">=v16.14.2" }, "type": "module", "main": "packages/main/dist/index.cjs", "scripts": { "clean": "rimraf coverage dist 'packages/*/dist' 'packages/*/*.tsbuildinfo' .vite", "test": "node --experimental-vm-modules --no-warnings $(yarn bin jest)", "test:ci": "cross-env DISABLE_GPU=true JEST_JUNIT_SUITE_NAME=\"{filepath}\" JEST_JUNIT_CLASSNAME=\"{filepath}\" JEST_JUNIT_ADD_FILE_ATTRIBUTE=true JEST_JUNIT_REPORT_TEST_SUITE_ERRORS=true yarn test --ci --coverage --reporters=default --reporters=jest-junit", "test:integ": "electron scripts/electronJest.cjs --user-data-dir=userDataDir/integ --config=jest.integ.config.cjs --runInBand", "test:integ:xvfb": "cross-env DISABLE_GPU=true xvfb-run -s \"-screen 0 1920x1080x24\" electron scripts/electronJest.cjs --user-data-dir=userDataDir/integ --disable-features=WebRTCPipeWireCapturer --ozone-platform=x11 --config=jest.integ.config.cjs --runInBand", "test:integ:ci": "cross-env DISABLE_GPU=true yarn test:integ --ci --coverage --reporters=default --reporters=jest-junit", "test:integ:xvfb:ci": "cross-env DISABLE_GPU=true JEST_JUNIT_SUITE_NAME=\"{filepath}\" JEST_JUNIT_CLASSNAME=\"{filepath}\" JEST_JUNIT_ADD_FILE_ATTRIBUTE=true JEST_JUNIT_REPORT_TEST_SUITE_ERRORS=true xvfb-run -s \"-screen 0 1920x1080x24\" electron scripts/electronJest.cjs --no-sandbox --user-data-dir=userDataDir/integ --disable-features=WebRTCPipeWireCapturer --ozone-platform=x11 --config=jest.integ.config.cjs --runInBand --ci --coverage --reporters=default --reporters=jest-junit", "test:integ:check-exit": "grep -qF 'failures=\"0\" errors=\"0\"' junit.xml", "build": "node scripts/build.js", "precompile": "cross-env MODE=production yarn run build", "compile": "yarn precompile && yarn compile:electron-builder", "compile:electron-builder": "electron-builder build --config .electron-builder.config.cjs --dir", "watch": "node scripts/watch.js", "watch:test": "yarn test --watch", "lint": "yarn types && yarn lint:only", "lint:ci": "yarn lint:only --format gitlab", "lint:only": "yarn lint:eslint . --ext .cjs,.js,.jsx,.ts,.tsx", "lint:precommit": "yarn types && yarn lint:eslint --fix", "lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=16384\" eslint", "lint:staged": "nano-staged", "typecheck": "yarn types && yarn typecheck:ci", "typecheck:ci": "yarn workspaces foreach -vp run typecheck:workspace", "typecheck:workspace": "yarn g:typecheck", "g:typecheck": "cd $INIT_CWD && tsc", "types": "yarn workspaces foreach -vpt run types", "g:types": "cd $INIT_CWD && tsc -b tsconfig.build.json", "postinstall": "is-ci || simple-git-hooks", "update-electron-vendors": "node scripts/updateElectronVendors.js", "main": "yarn workspace @sophie/main", "preload": "yarn workspace @sophie/preload", "renderer": "yarn workspace @sophie/renderer", "service-inject": "yarn workspace @sophie/service-inject", "service-preload": "yarn workspace @sophie/service-preload", "service-shared": "yarn workspace @sophie/service-shared", "shared": "yarn workspace @sophie/shared", "test-utils": "yarn workspace @sophie/test-utils" }, "workspaces": [ "packages/*" ], "devDependencies": { "@electron/fuses": "^1.5.0", "@types/is-ci": "^3.0.0", "@types/jest": "^27.5.1", "@types/prettier": "^2.6.3", "@typescript-eslint/eslint-plugin": "^5.27.0", "@typescript-eslint/parser": "^5.27.0", "@vitejs/plugin-react": "^1.3.2", "chokidar": "^3.5.3", "cross-env": "^7.0.3", "electron": "^19.0.1", "electron-builder": "^23.1.0", "esbuild": "^0.14.42", "eslint": "^8.16.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^8.5.0", "eslint-formatter-gitlab": "^3.0.0", "eslint-import-resolver-typescript": "^2.7.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^26.4.6", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.30.0", "eslint-plugin-react-hooks": "^4.5.0", "eslint-plugin-security": "^1.5.0", "eslint-plugin-unicorn": "^42.0.0", "git-repo-info": "^2.1.1", "is-ci": "^3.0.1", "jest": "^28.1.0", "jest-cli": "^28.1.0", "jest-environment-node": "^28.1.0", "jest-junit": "^13.2.0", "nano-staged": "^0.8.0", "prettier": "^2.6.2", "rimraf": "^3.0.2", "simple-git-hooks": "^2.8.0", "typescript": "^4.7.2", "vite": "^2.9.9" }, "packageManager": "yarn@3.2.1" }