-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
141 lines (141 loc) · 3.79 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
{
"name": "react-native-jigsaw",
"version": "0.0.0",
"private": true,
"description": "Root package.json for workspaces",
"license": "MIT",
"author": "Draftbit <[email protected]> (https://draftbit.com)",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"postinstall": "yarn-deduplicate && patch-package",
"example": "yarn --cwd example",
"bootstrap": "lerna bootstrap",
"crosslink": "lerna link",
"format": "prettier --write .",
"lint": "eslint \"**/*.{ts,tsx}\"",
"build": "lerna run build",
"test": "lerna run test --stream -- --passWithNoTests",
"release": "lerna publish",
"example:snack": "ts-node --transpile-only scripts/upload-to-snack.ts",
"clean": "lerna run clean",
"clean:modules": "lerna run clean:modules && rm -rf node_modules",
"typescript": "tsc --composite false",
"version:expo": "lerna version major --no-push --exact --force-publish",
"version:major": "lerna version minor --no-push --exact --force-publish",
"version:minor": "lerna version patch --no-push --exact --force-publish",
"version:patch": "echo \"No patch versions: See root README.md\"",
"prepare": "husky install",
"tsc": "echo 'You are trying to run \"tsc\" in the workspace root. Run it from an individual package instead.' && exit 1"
},
"workspaces": [
"example",
"packages/*"
],
"resolutions": {
"react-native-gesture-handler": "~2.12.0",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.22.1",
"@babel/preset-env": "^7.22.4",
"@babel/preset-typescript": "^7.21.5",
"@react-native-community/eslint-config": "^3.2.0",
"@testing-library/jest-native": "^5.4.2",
"@testing-library/react-native": "^12.1.2",
"@types/jest": "^29.5.0",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.5.0",
"dotenv": "^9.0.2",
"eslint": "^8.18.0",
"eslint-plugin-prettier": "^4.2.0",
"husky": ">=6",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-expo": "^49.0.0",
"json-server": "^0.16.3",
"lerna": "^5.6.2",
"lint-staged": ">=15",
"node-fetch": "^2.6.1",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-node": "^10.0.0",
"typescript": "~4.7.4",
"utility-types": "^3.10.0",
"yarn-deduplicate": "^3.1.0"
},
"eslintConfig": {
"extends": [
"@react-native-community",
"prettier"
],
"settings": {
"react": {
"version": "18"
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"react-native/no-inline-styles": "off",
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"bracketSpacing": true
}
]
},
"parserOptions": {
"requireConfigFile": false
}
},
"eslintIgnore": [
"scripts",
"example/web-build",
"node_modules/",
"lib/",
"__generated__",
"jest-setup.js"
],
"prettier": {
"quoteProps": "consistent",
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"bracketSpacing": true,
"endOfLine": "auto"
},
"lint-staged": {
"*.{js,ts,tsx,jsx}": "eslint --cache --fix",
"*.{js,ts,tsx,json,mcss,md}": "prettier --write"
},
"browserslist": {
"browsers": [
"defaults",
"not dead",
"not ie <= 11",
"not op_mini all",
"not android <= 4.4",
"not samsung <= 4"
],
"node": "16"
},
"engines": {
"node": "18.x"
}
}