加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.99 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "react-native-ui-lib",
"version": "4.2.0",
"main": "index.js",
"types": "index.d.ts",
"author": "Ethan Sharabi <ethan.shar@gmail.com>",
"homepage": "https://github.com/wix/react-native-ui-lib",
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/wix/react-native-ui-lib"
},
"scripts": {
"start": "watchman watch-del-all && export DEV_MODE=true && react-native start",
"start-ios": "node ./scripts/cliStuff.js",
"ios": "react-native run-ios",
"iPad": "react-native run-ios --simulator='iPad Pro (9.7 inch)'",
"android": "react-native run-android",
"pretest": "npm run lint",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src -c .eslintrc.js --ext .tsx,.ts,.js",
"lint:fix": "eslint src -c .eslintrc.js --fix",
"lint:test": "mocha --compilers js:babel-core/register eslint-rules/tests/lib/rules",
"xcode": "xed ios",
"build:dev": "tsc --p tsconfig.dev.json",
"build:exports": "./node_modules/.bin/babel src --out-dir src --config-file ./src/.babelrc.json --extensions '.ts,.tsx' --ignore 'src/index.ts'",
"build:packages": "node scripts/buildPackages.js",
"build": "tsc --p tsconfig.build.json && npm run build:exports && npm run build:packages",
"prepush": "npm run build:dev && npm run test",
"log": "react-native log-ios | grep 'ethan -'",
"docs:install": "(cd ./uilib-docs && rm -rf node_modules && rm -rf package-lock.json && npm install)",
"docs:deploy": "(cd ./uilib-docs && gatsby build --prefix-paths && gh-pages -d public --branch gh-pages)",
"docs:build": "(cd ./uilib-docs && npm install && gatsby build --prefix-paths && gh-pages -d public --branch gh-pages)",
"docs:develop": "(cd ./uilib-docs && gatsby develop)",
"bump:patch": "npm version patch",
"demo": "./scripts/demo.sh",
"release": "node ./scripts/release.js",
"jenkinsRelease": "node ./scripts/jenkinsRelease.js",
"build:ts": "rm -rf dist-ts && ./scripts/build-ts.sh",
"build:typings": "rm -rf ./typings && ./scripts/build-typings.sh && tsc --emitDeclarationOnly"
},
"dependencies": {
"babel-plugin-transform-inline-environment-variables": "^0.0.2",
"color": "^3.1.0",
"commons-validator-js": "^1.0.237",
"hoist-non-react-statics": "^3.0.0",
"lodash": "^4.0.0",
"memoize-one": "^5.0.5",
"moment": "^2.24.0",
"prop-types": "^15.5.10",
"react-native-animatable": "^1.1.0",
"react-native-color": "0.0.10",
"react-native-redash": "^12.0.3",
"react-native-text-size": "4.0.0-rc.1",
"semver": "^5.5.0",
"url-parse": "^1.2.0"
},
"devDependencies": {
"@babel/cli": "^7.10.1",
"@babel/core": "^7.8.4",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.10.1",
"@babel/runtime": "^7.8.4",
"@react-native-community/async-storage": "^1.6.2",
"@react-native-community/blur": "^3.4.1",
"@react-native-community/datetimepicker": "^2.1.0",
"@react-native-community/eslint-config": "^1.1.0",
"@react-native-community/netinfo": "^5.6.2",
"@react-native-picker/picker": "^1.9.4",
"@testing-library/react-hooks": "^3.4.2",
"@types/lodash": "^4.0.0",
"@types/prop-types": "^15.5.3",
"@types/react-native": "0.63.4",
"@types/tinycolor2": "^1.4.2",
"@typescript-eslint/eslint-plugin": "^2.13.0",
"@typescript-eslint/parser": "^2.13.0",
"@welldone-software/why-did-you-render": "^3.2.1",
"babel-jest": "^25.2.4",
"babel-plugin-typescript-to-proptypes": "^1.3.2",
"babel-preset-react-native": "*",
"eslint": "^5.16.0",
"eslint-config-wix": "^1.1.28",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-plugin-uilib": "file:./eslint-rules",
"gatsby": "^2.21.21",
"gh-pages": "^1.1.0",
"jest": "^25.2.4",
"metro-react-native-babel-preset": "^0.59.0",
"mocha": "^5.0.0",
"prettier-eslint": "11.0.0",
"react": "16.13.1",
"react-autobind": "^1.0.6",
"react-dom": "^15.4.2",
"react-native": "0.63.4",
"react-native-gesture-handler": "1.9.0",
"react-native-keyboard-tracking-view": "^5.6.1",
"react-native-navigation": "7.6.0",
"react-native-reanimated": "1.13.2",
"react-test-renderer": "^16.13.1",
"shell-utils": "^1.0.10",
"typescript": "3.9.7"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-native": ">=0.63.4",
"react-native-gesture-handler": ">=1.9.0",
"react-native-reanimated": ">=1.13.2",
"@react-native-community/blur": ">=3.4.1",
"@react-native-community/datetimepicker": "^2.1.0",
"@react-native-community/netinfo": "^5.6.2",
"@react-native-picker/picker": "^1.9.4"
},
"jest": {
"preset": "react-native",
"testPathIgnorePatterns": [
"/e2e/",
"/node_modules/",
"/typings/",
"/expoDemo/",
"/uilib-docs/"
],
"setupFiles": [
"./jest-setup.js"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化