Files
onekey-monorepo/package.json
huhuanming 7b58b9eb70 chore: fix lint warnings (#3848)
* chore: remove tsCheck file

* fix: fix lint warnings

* chore: reduce the number of warnings
2023-11-22 10:52:53 +08:00

157 lines
6.0 KiB
JSON

{
"private": true,
"name": "@onekeyhq/app-monorepo",
"version": "1.0.0",
"workspaces": [
"apps/*",
"packages/*"
],
"engines": {
"node": ">=16"
},
"scripts": {
"setup:env": "bash -c 'if [ ! -f .env ]; then cp .env.example .env; fi'",
"postinstall": "yarn setup:env && patch-package && yarn copy:inject",
"copy:inject": "bash development/copy-injected.sh",
"app:desktop": "yarn workspace @onekeyhq/desktop start",
"app:ext": "yarn workspace @onekeyhq/ext start",
"app:ext:build": "yarn workspace @onekeyhq/ext build",
"app:ext:build:all": "yarn workspace @onekeyhq/ext build:all",
"app:ext:v3": "yarn workspace @onekeyhq/ext start:v3",
"app:ext:v3:build": "yarn workspace @onekeyhq/ext build:v3",
"app:ext:v3:build:all": "yarn workspace @onekeyhq/ext build:all:v3",
"app:web": "yarn workspace @onekeyhq/web start",
"app:web:build": "yarn workspace @onekeyhq/web build",
"app:web-embed": "yarn workspace @onekeyhq/web-embed start",
"app:web-embed:build": "yarn workspace @onekeyhq/web-embed build",
"app:native-bundle": "yarn workspace @onekeyhq/mobile native-bundle",
"app:ios": "yarn workspace @onekeyhq/mobile ios",
"app:ios:device": "yarn workspace @onekeyhq/mobile ios:device",
"app:android": "yarn workspace @onekeyhq/mobile android",
"app:android:device": "yarn workspace @onekeyhq/mobile android:device",
"build:icon": "yarn workspace @onekeyhq/components build:icons",
"_tsc": "sh -c 'npx tsc --noEmit --tsBuildInfoFile \"$(yarn config get cacheFolder)\"/.app-mono-ts-cache --pretty'",
"_lint": "node ./development/lintCheck",
"lint:project": "yarn _tsc && yarn _lint",
"lint": "ultra lint:project",
"lint:only": "npx eslint . --ext .ts,.tsx --fix --cache --cache-location \"$(yarn config get cacheFolder)\"",
"tsc:only": "npx tsc --noEmit --tsBuildInfoFile \"$(yarn config get cacheFolder)\"/.app-mono-ts-cache --pretty",
"test": "yarn jest"
},
"dependencies": {
"@onekeyfe/cross-inpage-provider-core": "1.1.42",
"@onekeyfe/cross-inpage-provider-errors": "1.1.42",
"@onekeyfe/cross-inpage-provider-injected": "1.1.42",
"@onekeyfe/cross-inpage-provider-types": "1.1.42",
"@onekeyfe/extension-bridge-hosted": "1.1.42",
"@onekeyfe/hd-ble-sdk": "0.3.27",
"@onekeyfe/hd-core": "0.3.27",
"@onekeyfe/hd-shared": "0.3.27",
"@onekeyfe/hd-transport": "0.3.27",
"@onekeyfe/hd-web-sdk": "0.3.27",
"@onekeyfe/onekey-cross-webview": "1.1.42",
"@tamagui/animations-moti": "1.71.0",
"@tamagui/config": "1.71.0",
"@tamagui/static": "1.71.0",
"@tamagui/themes": "1.71.0",
"@tamagui/toast": "1.71.0",
"@ungap/structured-clone": "^1.2.0",
"@vespaiach/axios-fetch-adapter": "^0.3.1",
"browserify-zlib": "^0.2.0",
"crypto-browserify": "^3.12.0",
"ejs-loader": "^0.5.0",
"eslint": "^8.25.0",
"expo": "~49.0.13",
"expo-status-bar": "~1.6.0",
"jotai": "^2.5.0",
"memoizee": "^0.4.15",
"natsort": "^2.0.3",
"prettier": "^2.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.5",
"react-render-tracker": "^0.7.6",
"redux-flipper": "^2.0.2",
"stream-browserify": "^3.0.0",
"superagent": "6.1.0",
"tamagui": "1.71.0",
"use-suspender": "^2.0.0-beta.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-proposal-class-static-block": "^7.21.0",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-env": "^7.22.9",
"@emurgo/cardano-message-signing-nodejs": "^1.0.1",
"@emurgo/cardano-serialization-lib-nodejs": "^11.5.0",
"@expo/webpack-config": "^18.1.3",
"@open-wc/webpack-import-meta-loader": "^0.4.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@tamagui/babel-plugin": "1.71.0",
"@types/chrome": "^0.0.248",
"@types/elliptic": "^6.4.16",
"@types/ethjs-util": "^0.1.2",
"@types/jest": "^29.5.6",
"@types/lodash": "^4.14.200",
"@types/memoizee": "^0.4.10",
"@types/react": "^18.2.29",
"@types/react-dom": "^18.2.13",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"axios": "^1.6.0",
"babel-loader": "^9.1.3",
"babel-plugin-import": "^1.13.5",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-react-native-web": "^0.19.9",
"babel-plugin-transform-define": "^2.1.2",
"babel-plugin-transform-inline-environment-variables": "^0.4.4",
"cheerio": "^1.0.0-rc.12",
"copy-webpack-plugin": "^6.0.2",
"cross-env": "^7.0.3",
"css-loader": "^6.8.1",
"date-fns": "^2.30.0",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-wesbos": "^3.1.4",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.7",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-spellcheck": "^0.0.20",
"fake-indexeddb": "^5.0.0",
"html-webpack-plugin": "^5.5.3",
"jest": "^29.7.0",
"jest-expo": "^49.0.0",
"jest-html-reporter": "^3.10.2",
"node-notifier": "^10.0.1",
"patch-package": "^7.0.0",
"prettier": "^2.8.1",
"progress-bar-webpack-plugin": "^2.1.0",
"react-dev-utils": "^12.0.1",
"react-refresh": "^0.14.0",
"rimraf": "^5.0.5",
"style-loader": "^3.3.3",
"tamagui-loader": "1.71.0",
"ts-jest": "^29.1.1",
"ultra-runner": "^3.10.5",
"webpack": "5.88.2",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-manifest-plugin": "^5.0.0",
"webpack-subresource-integrity": "^5.2.0-rc.1"
},
"resolutions": {
"tronweb@^5.1.0": "5.1.0",
"@tamagui/create-context": "1.73.0",
"fs": "npm:@favware/skip-dependency@1.2.1"
},
"packageManager": "yarn@3.5.0"
}