-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
162 lines (162 loc) · 5.09 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
{
"name": "@trendyol/baklava-react-native",
"version": "0.0.0-dev",
"description": "Trendyol Baklava Design System for React Native",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.ts",
"types": "lib/typescript/src/index.d.ts",
"publishConfig": {
"access": "public"
},
"author": {
"name": "Trendyol Tech",
"url": "https://github.com/Trendyol"
},
"repository": {
"type": "git",
"url": "https://github.com/Trendyol/baklava-react-native.git"
},
"license": "MIT",
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"test:watch": "jest --watch",
"test:watch:cov": "jest --watch --coverage",
"test:cov": "jest --coverage",
"lint": "npm-run-all -s lint:*",
"lint:eslint": "eslint -c .eslintrc.js --ext .ts,.tsx",
"lint:tsc": "tsc --noEmit",
"lint:prettier": "prettier --check src/",
"format": "eslint -c .eslintrc.js --fix && prettier --write .",
"commit": "commit",
"storybook": "start-storybook -c docs/.storybook -p 6006",
"build-storybook-docs": "build-storybook -c docs/.storybook --docs",
"build": "bob build",
"prestart": "sbn-get-stories",
"sb-watcher": "sbn-watcher",
"pod": "cd ios; pod install; cd ..;",
"prepare": "bob build && husky install",
"svgr": "svgr ./src/svg-icons -d ./src/icons --icon --native --typescript --svgo-config svgo.config.js --ignore-existing --replace-attr-values '#273142={props?.fill ?? `#273142`}'"
},
"dependencies": {
"@ergenekonyigit/restyle": "2.4.0-1ec4a08.3",
"@gorhom/portal": "^1.0.14",
"@shopify/restyle": "2.3.0",
"styled-components": "5.3.0",
"styled-system": "5.1.5"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@commitlint/prompt-cli": "17.1.2",
"@react-native-async-storage/async-storage": "1.17.7",
"@react-native-community/datetimepicker": "3.5.2",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/slider": "4.1.8",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-controls": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/addon-ondevice-actions": "^6.5.7",
"@storybook/addon-ondevice-backgrounds": "^6.5.7",
"@storybook/addon-ondevice-controls": "^6.5.7",
"@storybook/addon-ondevice-notes": "^6.5.7",
"@storybook/builder-webpack4": "^6.5.16",
"@storybook/manager-webpack4": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/react-native": "^6.5.7",
"@svgr/cli": "6.3.1",
"@testing-library/jest-native": "4.0.5",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "10.1.1",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.67.5",
"@types/react-test-renderer": "^17.0.1",
"@types/styled-components-react-native": "5.1.3",
"@types/styled-system": "5.1.12",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"@welldone-software/why-did-you-render": "^7.0.1",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.5",
"eslint": "^7.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-storybook": "0.6.4",
"husky": "8.0.1",
"jest": "^26.6.3",
"lint-staged": "13.0.3",
"metro-react-native-babel-preset": "^0.66.2",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"react": "17.0.2",
"react-dom": "^17.0.2",
"react-native": "0.67.5",
"react-native-builder-bob": "0.18.3",
"react-native-safe-area-context": "4.3.4",
"react-native-svg": "13.1.0",
"react-test-renderer": "17.0.2",
"typescript": "^4.4.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-svg": "*"
},
"resolutions": {
"@types/react": "^17"
},
"engines": {
"node": ">=18"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|@react-native|react-clone-referenced-element|@react-native-community|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base)"
],
"setupFilesAfterEnv": [
"<rootDir>/__mocks__/globalMock.js"
],
"collectCoverageFrom": [
"src/components/**",
"!src/components/**/*.stories.tsx",
"!src/components/**/types.ts",
"!src/components/**/__snapshots__/**"
]
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.json"
}
]
],
"files": [
"lib/",
"src/"
]
}
}