{ "name": "trezor-suite", "version": "1.0.0", "private": true, "repository": "https://github.com/trezor/trezor-suite.git", "license": "SEE LICENSE IN LICENSE.md", "engines": { "node": "16", "yarn": ">=1.22.0 <2" }, "workspaces": { "packages": [ "packages/*", "suite-native/*", "suite-common/*", "scripts" ], "nohoist": [ "**/babel-jest" ] }, "scripts": { "_______ Hooks _______": "Yarn hooks.", "postinstall": "yarn run patch && yarn lerna run patch", "_______ Library Scripts #####": "Some libraries have their own build scripts.", "build:libs": "lerna run build:lib", "suite:build:web": "yarn workspace @trezor/suite-web build", "_______ Start Scripts _______": "Here are standalone scripts for running individual applications for development.", "suite:dev": "yarn workspace @trezor/suite-web dev", "suite:dev:ios": "yarn workspace @trezor/suite-native dev:ios", "suite:dev:android": "yarn workspace @trezor/suite-native dev:android", "suite:dev:desktop": "yarn workspace @trezor/suite-desktop dev", "_______ Testing _______": "Testing, linting, type checking...", "type-check": "yarn lerna run type-check", "type-check:force": "rimraf -rf **/libDev && yarn type-check", "test:unit": "yarn lerna run test:unit", "lint:js": "eslint --cache --ignore-path .gitignore --ext .js,.ts,.tsx ./", "lint": "yarn lerna run lint:styles && yarn lint:js", "lint-staged": "npx lint-staged", "_______ Commands _______": "Useful commands and scripts.", "patch": "yarn patch-package", "deduplicate": "yarn-deduplicate && yarn", "run-script": "babel-node --experimental-specifier-resolution=node --experimental-loader=ts-node/esm --", "update-project-references": "yarn run-script ./scripts/updateProjectReferences.js --ignore packages/suite-desktop", "verify-project-references": "yarn update-project-references --test", "generate-package": "yarn run-script ./scripts/generatePackage.js", "deps": "rimraf 'node_modules' '*/**/node_modules' && yarn", "msg-system-sign-config": "yarn workspace @trezor/suite-data msg-system-sign-config", "format": "yarn prettier --write \"**/*.{js,ts,tsx,mdx,md,html,json}\"", "format:verify": "yarn prettier --check \"**/*.{js,ts,tsx,mdx,md,html,json}\"", "update-submodules": "./scripts/update-submodules.sh", "update-coins": "./scripts/update-coins.sh", "_______ Aliases _______": "Aliases for longer commands which we often have to run manually. Names don't have to be pretty or make total sense.", "refs": "yarn update-project-references", "types": "yarn type-check", "dedup": "yarn deduplicate", "messages": "yarn msg-system-sign-config" }, "lint-staged": { "packages/**/*.{ts,tsx}": [ "eslint --fix", "git add" ], "packages/{components,suite}/**/*.{ts,tsx}": [ "stylelit --fix", "git add" ] }, "resolutions": { "**/@types/react": "17.0.0", "@types/react-native": "0.67.6", "typescript": "4.5.5", "react-native": "0.68.2", "prettier": "2.5.1", "type-fest": "2.12.2" }, "devDependencies": { "@babel/cli": "^7.13.14", "@babel/core": "^7.13.15", "@babel/node": "^7.13.13", "@babel/plugin-proposal-class-properties": "^7.13.0", "@babel/plugin-proposal-object-rest-spread": "^7.13.8", "@babel/plugin-transform-runtime": "^7.13.15", "@babel/preset-env": "^7.13.15", "@babel/preset-react": "^7.13.13", "@babel/preset-typescript": "^7.13.0", "@types/jest": "^26.0.20", "@types/node": "^14.14.37", "@typescript-eslint/eslint-plugin": "^5.10.0", "@typescript-eslint/parser": "^5.10.0", "babel-jest": "^26.6.3", "babel-plugin-module-resolver": "^4.0.0", "concurrently": "^5.1.0", "eslint": "^8.7.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-typescript": "^2.5.0", "eslint-plugin-cypress": "^2.12.1", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jest": "^26.1.3", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-hooks": "^4.3.0", "jest": "^26.6.3", "lerna": "^3.20.2", "metro-react-native-babel-preset": "^0.71.3", "npm-run-all": "^4.1.5", "patch-package": "^6.2.1", "postinstall-postinstall": "^2.0.0", "prettier": "2.5.1", "prettier-eslint": "^13.0.0", "rimraf": "^3.0.2", "semver": "^7.3.7", "ts-jest": "^26.5.4", "ts-node": "^10.6.0", "tsconfig-paths": "^3.13.0", "typescript": "4.5.5", "yarn-deduplicate": "^5.0.0" } }