forked from wix/react-native-ui-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 5.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "react-native-ui-lib",
"version": "4.2.0",
"main": "index.js",
"types": "index.d.ts",
"author": "Ethan Sharabi <[email protected]>",
"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.12.9",
"@babel/preset-env": "^7.3.1",
"@babel/preset-react": "^7.10.1",
"@babel/runtime": "^7.12.5",
"@react-native-community/async-storage": "^1.6.2",
"@react-native-community/blur": "^3.4.1",
"@react-native-community/datetimepicker": "^3.4.6",
"@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",
"@types/url-parse": "^1.4.3",
"@typescript-eslint/eslint-plugin": "4.25.0",
"@typescript-eslint/parser": "4.25.0",
"@welldone-software/why-did-you-render": "^3.2.1",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-typescript-to-proptypes": "^1.3.2",
"babel-preset-react-native": "*",
"eslint": "^7.27.0",
"eslint-config-wix": "2.0.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-plugin-react-native": "^3.11.0",
"eslint-plugin-uilib": "file:./eslint-rules",
"gatsby": "^2.21.21",
"gh-pages": "^1.1.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
"mocha": "^5.0.0",
"prettier-eslint": "12.0.0",
"react": "17.0.1",
"react-autobind": "^1.0.6",
"react-dom": "^15.4.2",
"react-native": "0.64.1",
"react-native-gesture-handler": "1.10.3",
"react-native-haptic-feedback": "^1.11.0",
"react-native-keyboard-tracking-view": "^5.6.1",
"react-native-linear-gradient": "2.5.6",
"react-native-navigation": "7.6.0",
"react-native-reanimated": "2.1.0",
"react-native-shimmer-placeholder": "^2.0.6",
"react-native-svg": "^12.1.0",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "^17.0.1",
"shell-utils": "^1.0.10",
"typescript": "4.3.2"
},
"peerDependencies": {
"react": ">=17.0.1",
"react-native": ">=0.64.1",
"react-native-gesture-handler": ">=1.9.0",
"react-native-reanimated": ">=2.0.0",
"@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",
"transformIgnorePatterns": [
"node_modules/(?!(@react-native|react-native|react-native-animatable|react-native-reanimated|react-native-redash)/)"
],
"testPathIgnorePatterns": [
"/e2e/",
"/node_modules/",
"/typings/",
"/expoDemo/",
"/uilib-docs/"
],
"setupFiles": [
"./jest-setup.js"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js"
}
}
}