1 | {
|
2 | "name": "@draftbit/ui",
|
3 | "version": "38.0.0",
|
4 | "description": "Draftbit UI Library",
|
5 | "main": "lib/commonjs/index.js",
|
6 | "module": "lib/module/index.js",
|
7 | "types": "lib/typescript/src/index.d.ts",
|
8 | "react-native": "src/index.tsx",
|
9 | "source": "src/index.tsx",
|
10 | "files": [
|
11 | "src",
|
12 | "lib",
|
13 | "android",
|
14 | "ios",
|
15 | "cpp",
|
16 | "draftbit-ui.podspec"
|
17 | ],
|
18 | "scripts": {
|
19 | "test": "jest",
|
20 | "typescript": "tsc --noEmit",
|
21 | "lint": "eslint --ext .js,.ts,.tsx .",
|
22 | "build": "bob build",
|
23 | "prepublishOnly": "bob build",
|
24 | "release": "release-it",
|
25 | "publish:both": "./publish.sh",
|
26 | "example": "yarn --cwd example",
|
27 | "pods": "cd example && pod-install --quiet",
|
28 | "bootstrap": "yarn example && yarn && yarn pods"
|
29 | },
|
30 | "keywords": [
|
31 | "react-native",
|
32 | "ios",
|
33 | "android"
|
34 | ],
|
35 | "repository": "https://github.com/draftbit/react-native-jigsaw",
|
36 | "author": "Draftbit <services@draftbit.com> (https://draftbit.com)",
|
37 | "license": "MIT",
|
38 | "bugs": {
|
39 | "url": "https://github.com/draftbit/react-native-jigsaw/issues"
|
40 | },
|
41 | "homepage": "https://github.com/draftbit/react-native-jigsaw#readme",
|
42 | "devDependencies": {
|
43 | "@commitlint/config-conventional": "^8.3.4",
|
44 | "@react-native-community/bob": "^0.16.2",
|
45 | "@react-native-community/datetimepicker": "2.4.0",
|
46 | "@react-native-community/eslint-config": "^2.0.0",
|
47 | "@react-native-community/picker": "^1.8.0",
|
48 | "@release-it/conventional-changelog": "^1.1.4",
|
49 | "@types/color": "^3.0.1",
|
50 | "@types/dateformat": "^3.0.1",
|
51 | "@types/jest": "^26.0.0",
|
52 | "@types/react": "^16.9.36",
|
53 | "@types/react-native": "0.62.13",
|
54 | "commitlint": "^8.3.5",
|
55 | "dotenv": "^8.2.0",
|
56 | "eslint": "^7.2.0",
|
57 | "eslint-config-prettier": "^6.11.0",
|
58 | "eslint-plugin-prettier": "^3.1.4",
|
59 | "glob": "^7.1.6",
|
60 | "husky": "^4.2.5",
|
61 | "jest": "^26.0.1",
|
62 | "node-fetch": "^2.6.0",
|
63 | "pod-install": "^0.1.7",
|
64 | "prettier": "^2.0.5",
|
65 | "react": "~16.9.0",
|
66 | "react-dom": "^16.13.1",
|
67 | "react-native": "~0.62.2",
|
68 | "react-native-svg": "^12.1.0",
|
69 | "release-it": "^13.6.3",
|
70 | "typescript": "3.8.3"
|
71 | },
|
72 | "scriptDependencies": {
|
73 | "dotenv": "^8.2.0",
|
74 | "glob": "^7.1.6",
|
75 | "node-fetch": "^2.6.0"
|
76 | },
|
77 | "peerDependencies": {
|
78 | "@react-native-community/datetimepicker": "2.4.0",
|
79 | "@react-native-community/picker": "*",
|
80 | "react": "*",
|
81 | "react-native": "*",
|
82 | "react-native-safe-area-context": "*",
|
83 | "react-native-svg": "*"
|
84 | },
|
85 | "jest": {
|
86 | "preset": "react-native",
|
87 | "modulePathIgnorePatterns": [
|
88 | "<rootDir>/example/node_modules",
|
89 | "<rootDir>/lib/"
|
90 | ]
|
91 | },
|
92 | "husky": {
|
93 | "hooks": {
|
94 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
95 | "pre-commit": "yarn lint"
|
96 | }
|
97 | },
|
98 | "eslintConfig": {
|
99 | "extends": [
|
100 | "@react-native-community",
|
101 | "prettier"
|
102 | ],
|
103 | "rules": {
|
104 | "react-native/no-inline-styles": "off",
|
105 | "prettier/prettier": [
|
106 | "error",
|
107 | {
|
108 | "quoteProps": "consistent",
|
109 | "semi": true,
|
110 | "singleQuote": false,
|
111 | "tabWidth": 2,
|
112 | "trailingComma": "es5",
|
113 | "useTabs": false
|
114 | }
|
115 | ]
|
116 | }
|
117 | },
|
118 | "eslintIgnore": [
|
119 | "scripts",
|
120 | "example/web-build",
|
121 | "node_modules/",
|
122 | "lib/"
|
123 | ],
|
124 | "prettier": {
|
125 | "quoteProps": "consistent",
|
126 | "semi": true,
|
127 | "singleQuote": false,
|
128 | "tabWidth": 2,
|
129 | "trailingComma": "es5",
|
130 | "useTabs": false
|
131 | },
|
132 | "publishConfig": {
|
133 | "access": "public"
|
134 | },
|
135 | "release-it": {
|
136 | "git": {
|
137 | "commitMessage": "chore: release ${version}",
|
138 | "tagName": "v${version}"
|
139 | },
|
140 | "npm": {
|
141 | "publish": true
|
142 | },
|
143 | "github": {
|
144 | "release": true
|
145 | },
|
146 | "plugins": {
|
147 | "@release-it/conventional-changelog": {
|
148 | "preset": "angular"
|
149 | }
|
150 | }
|
151 | },
|
152 | "@react-native-community/bob": {
|
153 | "source": "src",
|
154 | "output": "lib",
|
155 | "targets": [
|
156 | "commonjs",
|
157 | "module",
|
158 | "typescript"
|
159 | ]
|
160 | },
|
161 | "dependencies": {
|
162 | "@date-io/date-fns": "1.x",
|
163 | "@draftbit/react-theme-provider": "^2.1.1",
|
164 | "@material-ui/core": "^4.11.0",
|
165 | "@material-ui/pickers": "^3.2.10",
|
166 | "@react-native-community/slider": "3.0.3",
|
167 | "color": "^3.1.2",
|
168 | "date-fns": "^2.16.1",
|
169 | "dateformat": "^3.0.3",
|
170 | "expo-step-indicator": "0.1.2",
|
171 | "react-native-safe-area-context": "~3.0.7",
|
172 | "react-native-typography": "^1.4.1"
|
173 | },
|
174 | "resolutions": {
|
175 | "@react-native-community/datetimepicker": "2.4.0",
|
176 | "react-native-windows": "0.62.0"
|
177 | }
|
178 | }
|