{
"name": "demo",
"version": "1.0.0",
"private": true,
"description": "",
"displayName": "项目中文名称",
"templateInfo": {
"name": "default",
"typescript": true,
"css": "sass"
},
"iosVersion": "1.23.0",
"androidVersion": "1.23.0",
"scripts": {
"build:weapp": "taro build --type weapp",
"build:swan": "taro build --type swan",
"build:alipay": "taro build --type alipay",
"build:tt": "taro build --type tt",
"build:h5": "taro build --type h5",
"build:rn": "taro build --type rn",
"build:qq": "taro build --type qq",
"build:quickapp": "taro build --type quickapp",
"dev:weapp": "npm run build:weapp -- --watch",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:rn": "npm run build:rn -- --watch",
"dev:qq": "npm run build:qq -- --watch",
"dev:quickapp": "npm run build:quickapp -- --watch",
"precommit": "lint-staged",
"metro": "node ./node_modules/react-native/local-cli/cli.js start --reset-cache",
"run:android": "react-native run-android",
"release:android": "rm -rf android/app/build/outputs/apk/release && react-native run-android --variant=release && open android/app/build/outputs/apk/release/",
"test:android": "rm -rf android/app/build/outputs/apk/releaseStaging && react-native run-android --variant=releaseStaging && open android/app/build/outputs/apk/releaseStaging/ ",
"clean:android": "cd android && ./gradlew clean && cd ..",
"clean:ios": "./make-ios-bundle.sh",
"run:ios": "react-native run-ios",
"postinstall": "node ./scripts/patch.js && node node_modules/sensorsdata-analytics-react-native/SensorsDataRNHook.js -run",
"clean": "node ./scripts/clean",
"start:rn": "react-native start"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
}
},
"author": "",
"license": "MIT",
"dependencies": {
"@react-native-community/async-storage": "^1.12.1",
"@react-native-community/cameraroll": "^4.0.4",
"@react-native-community/netinfo": "^5.9.7",
"@react-native-community/picker": "^1.8.1",
"@tarojs/components": "2.2.17",
"@tarojs/components-rn": "2.2.17",
"@tarojs/mobx": "2.2.17",
"@tarojs/mobx-h5": "2.2.17",
"@tarojs/mobx-rn": "2.2.17",
"@tarojs/rn-runner": "2.2.17",
"@tarojs/router": "2.2.17",
"@tarojs/taro": "2.2.17",
"@tarojs/taro-h5": "2.2.17",
"@tarojs/taro-rn": "2.2.17",
"@tarojs/taro-router-rn": "2.2.17",
"@tarojs/taro-weapp": "2.2.17",
"babel-runtime": "^6.26.0",
"bind-decorator": "^1.0.11",
"dayjs": "^1.7.7",
"expo-av": "^8.6.0",
"expo-brightness": "^8.3.0",
"expo-file-system": "^9.2.0",
"expo-image-picker": "^9.1.0",
"expo-location": "^9.0.0",
"expo-sensors": "^9.1.0",
"jcore-react-native": "^1.9.2",
"jpush-react-native": "2.8.3",
"mobx": "4.8.0",
"nerv-devtools": "^1.5.7",
"nervjs": "^1.5.7",
"querystringify": "2.1.1",
"react": "16.13.1",
"react-native": "0.63.3",
"react-native-actionsheet": "^2.4.2",
"react-native-amap-geolocation": "1.1.2",
"react-native-device-info": "^8.0.1",
"react-native-exit-app": "^1.1.0",
"react-native-fs": "^2.18.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-maps": "^0.27.1",
"react-native-permissions": "^3.0.5",
"react-native-progress": "^5.0.0",
"react-native-render-html": "^4.2.4",
"react-native-status-bar-height": "^2.6.0",
"react-native-svg": "^12.1.1",
"react-native-swipe-gestures": "^1.0.5",
"react-native-swipe-list-view": "^3.2.4",
"react-native-swiper": "1.6.0",
"react-native-syan-image-picker": "^0.5.3",
"react-native-unimodules": "^0.11.0",
"react-native-view-shot": "^3.1.2",
"react-native-webview": "^11.0.2",
"react-native-wechat-lib": "1.1.22",
"regenerator-runtime": "0.11.1",
"sa-sdk-miniprogram": "1.17.5",
"sensorsdata-analytics-react-native": "2.2.2",
"sha1": "^1.1.1",
"sortablejs": "^1.10.1",
"taro-axios": "^1.1.1",
"tslib": "^1.8.0",
"webpack-bundle-analyzer": "^3.8.0"
},
"devDependencies": {
"@tarojs/cli": "2.2.17",
"@tarojs/mini-runner": "2.2.17",
"@tarojs/plugin-sass": "2.2.17",
"@tarojs/plugin-terser": "2.2.17",
"@tarojs/webpack-runner": "2.2.17",
"@types/querystringify": "^2.0.0",
"@types/react": "^16.4.6",
"@types/webpack-env": "^1.13.6",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"app-root-path": "2.0.1",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-jsx-stylesheet": "^0.6.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.1",
"chokidar": "^3.0.2",
"cross-env": "5.2.0",
"eslint": "^5.16.0",
"eslint-config-taro": "2.2.17",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-react-hooks": "^1.6.1",
"eslint-plugin-taro": "2.2.17",
"fs-extra": "^8.1.0",
"husky": "^1.3.1",
"jsonfile": "^5.0.0",
"lint-staged": "^8.1.0",
"prettier": "^1.16.1",
"shelljs": "0.5.3",
"stylelint": "9.3.0",
"stylelint-config-taro-rn": "2.2.17",
"stylelint-taro-rn": "2.2.17",
"typescript": "^3.0.1"
},
"resolutions": {
"expo-image-picker": "9.1.0",
"react-devtools-core": "4.14.0"
}
}
项目taro的package.json配置
最新推荐文章于 2023-09-18 16:45:22 发布