-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
170 lines (170 loc) · 5.77 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "@artsy/palette-mobile",
"version": "13.2.43",
"description": "Artsy's design system for React Native",
"scripts": {
"android": "RCT_METRO_PORT=8082 react-native run-android --port 8082 --terminal terminal",
"beta:ios": "bundle e fastlane ios beta",
"bundle-install": "bundle install",
"clean": "rimraf dist",
"compile": "tsc",
"install:all": "yarn install && yarn bundle-install && yarn pod-install",
"ios": "RCT_METRO_PORT=8082 react-native run-ios --port 8082 --terminal terminal",
"lint:all": "yarn lint .",
"lint": "eslint --cache --cache-location '.cache/eslint/' --ext .ts,.tsx --fix",
"local-palette-dev": "./scripts/sync-after-change",
"open-xcode": "open ios/PaletteMobile.xcworkspace",
"pod-install": "cd ios && bundle exec pod install && cd ..",
"prepare": "husky install",
"prepublishOnly": "yarn clean && yarn compile",
"prestart": "sb-rn-get-stories",
"prettier-write": "prettier --write --ignore-unknown",
"release:canary": "auto canary",
"release": "auto shipit",
"setup:artsy": "./scripts/download-fonts",
"start:reset-cache": "react-native start --reset-cache --port 8082",
"start": "react-native start --port 8082",
"storybook-watcher": "sb-rn-watcher",
"test": "jest",
"type-check": "tsc --noEmit"
},
"dependenciesComments": [
"ONLY ADD DEPS THAT ARE OK TO SHIP WITH THIS LIBRARY.",
"FOR DEPS NEEDED FOR THE STORYBOOK APP, ADD THEM AS DEV DEPS BELOW."
],
"dependencies": {
"@artsy/palette-tokens": "^6.0.3",
"@shopify/flash-list": "^1.6.4",
"@styled-system/core": "^5.1.2",
"@styled-system/theme-get": "^5.1.2",
"events": "^3.3.0",
"lodash": "^4.17.21",
"moti": "^0.25.3",
"react-nanny": "^2.15.0",
"react-native-blurhash": "^1.1.11",
"react-native-collapsible-tab-view": "^8.0.0",
"react-native-fast-image": "^8.6.3",
"react-native-pager-view": "^6.2.0",
"react-native-popover-view": "^5.1.7",
"react-spring": "8.0.23",
"styled-system": "^5.1.5"
},
"peerDependenciesComments": [
"ADD ANY DEPS THAT ARE NEEDED FOR PALETTE AND HAVE NATIVE CODE."
],
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-blurhash": "^1.1.11",
"react-native-haptic-feedback": "*",
"react-native-linear-gradient": "*",
"react-native-reanimated": "*",
"react-native-svg": "*",
"styled-components": ">= 5"
},
"devDependencies": {
"@artsy/auto-config": "1.2.0",
"@auto-it/all-contributors": "10.46.0",
"@auto-it/first-time-contributor": "10.46.0",
"@babel/core": "^7.20.12",
"@babel/plugin-proposal-decorators": "7.20.13",
"@babel/preset-env": "^7.20.2",
"@babel/preset-flow": "7.18.6",
"@babel/preset-react": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@babel/runtime": "^7.20.13",
"@react-native-async-storage/async-storage": "1.19.8",
"@react-native/babel-preset": "0.73.21",
"@react-native/eslint-config": "^0.73.2",
"@react-native/metro-config": "^0.73.5",
"@react-native/typescript-config": "0.73.1",
"@storybook/react-native": "6.0.1-beta.11",
"@testing-library/jest-native": "^5.4.2",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/react-native": "11.5.1",
"@types/events": "^3.0.0",
"@types/jest": "29.4.0",
"@types/lodash": "4.14.191",
"@types/react": "^17.0.39",
"@types/react-test-renderer": "^18.0.0",
"@types/styled-components": "^5.1.26",
"@types/styled-components-react-native": "^5.2.1",
"@types/styled-system": "^5.1.16",
"@types/styled-system__core": "^5.1.3",
"@types/styled-system__theme-get": "^5.0.2",
"@typescript-eslint/eslint-plugin": "5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"auto": "10.38.5",
"babel-jest": "29.6.3",
"concurrently": "^7.6.0",
"eslint": "8.33.0",
"eslint-config-prettier": "8.6.0",
"eslint-import-resolver-typescript": "3.5.3",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "0.6.10",
"eslint-plugin-testing-library": "^5.10.2",
"husky": "^8.0.3",
"jest": "29.6.3",
"jest-environment-jsdom": "29.4.2",
"jest-extended": "3.2.3",
"jest-watch-typeahead": "2.2.2",
"jotai": "1.12.1",
"lint-staged": "13.1.2",
"metro-react-native-babel-preset": "0.76.8",
"nodemon": "^2.0.20",
"prettier": "^2.8.8",
"pull-lock": "1.0.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.73.10",
"react-native-device-info": "10.3.0",
"react-native-flipper": "0.265.0",
"react-native-haptic-feedback": "1.14.0",
"react-native-linear-gradient": "2.6.2",
"react-native-reanimated": "3.8.1",
"react-native-safe-area-context": "4.5.0",
"react-native-svg": "14.1.0",
"react-test-renderer": "18.2.0",
"rimraf": "4.1.2",
"rn-flipper-async-storage-advanced": "1.0.4",
"styled-components": "^5.3.6",
"typescript": "5.0.4"
},
"resolutions": {
"@types/react": "^17.0.39"
},
"engines": {
"yarn": "1.x"
},
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/artsy/palette-mobile.git"
},
"author": "Pavlos Vinieratos <pvinis@gmail.com>",
"license": "MIT",
"pull-lock": {
"ios/Podfile.lock": "echo \"🚨 New Podfile.lock detected!, you might need to run yarn install:all\" 🚨",
"yarn.lock": "yarn install"
},
"lint-staged": {
"*.@(md)": [
"yarn prettier-write"
],
"*.@(js|jsx|ts|tsx)": [
"yarn lint",
"prettier --write --ignore-unknown"
]
}
}