@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
167 lines (166 loc) • 4.98 kB
JSON
{
"name": "@fruits-chain/react-native-xiaoshu",
"description": "🌈 React Native UI library",
"version": "0.2.43",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.ts",
"types": "lib/typescript/index.d.ts",
"files": [
"lib/",
"src/"
],
"keywords": [
"react-native",
"ui-components",
"typescript"
],
"homepage": "https://hjfruit.github.io/xiaoshu-doc",
"repository": {
"type": "git",
"url": "https://github.com/hjfruit/react-native-xiaoshu"
},
"bugs": {
"url": "https://github.com/hjfruit/react-native-xiaoshu/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"scripts": {
"android": "react-native run-android",
"android:demo": "cd android && ./gradlew assembleRelease",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest --forceExit",
"test:s": "jest ./src/button/__tests__ -u --forceExit",
"test:coverage": "jest --coverage",
"test:clear": "jest --clearCache",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"commit": "npx git-cz",
"ncu": "npx npm-check-updates -u -x react,react-native,react-test-renderer,color",
"lint:ts": "tsc --noEmit && eslint src --ext .ts,.tsx",
"prettier": "prettier --write '{src,demo}/**/*.{js,json,yml,yaml,ts,tsx,md}'",
"lint-staged": "lint-staged --allow-empty",
"doc": "dumi dev",
"doc:build": "dumi build",
"doc:github-build": "cross-env PUBLIC_PATH=xiaoshu-doc/ dumi build",
"doc:commit": "git add docs-dist && git commit -n -m 'commit doc file'",
"doc:pulish-safe": "git subtree push --prefix docs-dist origin gh-pages",
"doc:pulish": "git push origin `git subtree split --prefix docs-dist master`:gh-pages --force",
"doc:reset": "git reset --hard HEAD^",
"prepare": "husky install",
"build": "bob build",
"release": "release-it",
"release:major": "release-it major",
"release:minor": "release-it minor",
"release:patch": "release-it patch"
},
"dependencies": {
"@fruits-chain/design-tokens-bailu": "^0.0.6",
"@types/react-is": "^17.0.3",
"color": "^3.2.1",
"lodash": "^4.17.21",
"react-is": "^18.1.0",
"react-native-popover-view": "^5.0.1",
"rn-placeholder": "^3.0.3"
},
"peerDependencies": {
"rc-field-form": "*",
"react-native-safe-area-context": "*",
"react-native-svg": "*"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/runtime": "^7.17.9",
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@fruits-chain/eslint-config-rn": "^0.1.9",
"@fruits-chain/prettier-config-preset": "^0.0.3",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"@release-it/conventional-changelog": "^5.0.0",
"@testing-library/jest-native": "^4.0.4",
"@testing-library/react-native": "^9.1.0",
"@types/color": "^3.0.3",
"@types/jest": "^27.5.0",
"@types/lodash": "^4.14.182",
"@types/react-native": "^0.67.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^28.0.3",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^4.1.0",
"core-js": "^3.22.4",
"cross-env": "^7.0.3",
"dumi": "^1.1.40",
"husky": "^7.0.4",
"jest": "^28.0.3",
"lint-staged": "^12.4.1",
"metro-react-native-babel-preset": "0.70.2",
"rc-field-form": "^1.26.3",
"react": "17.0.2",
"react-native": "0.66.4",
"react-native-builder-bob": "^0.18.2",
"react-native-gesture-handler": "^2.4.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-safe-area-context": "^4.2.5",
"react-native-screens": "^3.13.1",
"react-native-svg": "^12.3.0",
"react-test-renderer": "17.0.2",
"release-it": "^15.0.0",
"ts-jest": "^28.0.1",
"typescript": "4.6.4",
"umi-plugin-react-native": "^0.5.0"
},
"resolutions": {
"@types/react": "^17",
"prettier": "^2.5.1"
},
"prettier": "@fruits-chain/prettier-config-preset",
"lint-staged": {
"*.{yml,yaml,md}": [
"prettier --write"
],
"*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"bash -c tsc --noEmit",
"eslint --fix",
"prettier --write"
]
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
}