Files
trezor-suite/package.json
2022-03-29 17:09:51 +02:00

113 lines
4.8 KiB
JSON

{
"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": "14",
"yarn": ">=1.22.0 <2"
},
"workspaces": {
"packages": [
"packages/*",
"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",
"typescript": "4.5.5"
},
"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-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",
"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",
"ts-jest": "^26.5.4",
"ts-node": "^10.6.0",
"tsconfig-paths": "^3.13.0",
"typescript": "4.5.5",
"yarn-deduplicate": "^3.1.0"
}
}