forked from xcarpentier/react-native-country-picker-modal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 4.2 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
{
"name": "react-native-country-picker-modal",
"version": "2.0.0",
"description": "react-native country picker",
"main": "src/index.tsx",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/xcarpentier/react-native-country-picker-modal.git"
},
"scripts": {
"start": "expo start",
"start:web": "bun config:dev && expo start -w",
"tsc": "node_modules/.bin/tsc --noEmit",
"build": "rm -rf lib/ && node_modules/.bin/tsc && mkdir ./lib && cp -rf ./src/assets ./lib/assets && bun minify",
"minify": "bun minify:emoji",
"minify:emoji": "./scripts/minify.js ./lib/assets/data/countries-emoji.json",
"lint": "eslint .",
"test": "TZ=Europe/Paris jest",
"data:image": "rm -rf ./data/countries.json && ./scripts/transform-world-countries.js > ./data/countries.json",
"data:emoji": "rm -rf ./data/countries-emoji.json && ./scripts/transform-world-countries.js --emoji > ./data/countries-emoji.json",
"data:cca2": "rm -rf ./data/cca2.json && ./scripts/transform-world-countries.js --cca2 > ./data/cca2.json",
"data:regions": "rm -rf ./data/cca2.json && ./scripts/transform-world-countries.js --regions > ./data/regions.json",
"data:subregions": "rm -rf ./data/cca2.json && ./scripts/transform-world-countries.js --subregions > ./data/subregions.json",
"cleaning": "rm -rf node_modules && rm -f bun.lock && bun cache clean && bun install && watchman watch-del-all && rm -fr $TMPDIR/react-*",
"verify": "bun lint && bun build && bun test",
"prepublishOnly": "bun verify && bun config:npm",
"postpublish": "bun config:dev",
"deploy": "gh-pages -d web-build",
"predeploy": "bun verify && expo build:web && mkdir web-build/countries && cp ./data/countries.json web-build/countries/index.json",
"dev": "expo start -w"
},
"keywords": [
"react-native",
"components",
"country-picker",
"country",
"flag"
],
"author": "Xavier Carpentier <xcapetir@gmail.com> (https://xaviercarpentier.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/xcarpentier/react-native-country-picker-modal/issues"
},
"homepage": "http://xcarpentier.github.io/react-native-country-picker-modal",
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@callstack/react-theme-provider": "3.0.9",
"@expo/metro-config": "~0.10.7",
"@expo/metro-runtime": "^4.0.0",
"@react-native/assets-registry": "^0.76.5",
"@react-native/metro-config": "^0.76.5",
"fuse.js": "3.4.5",
"node-emoji": "1.11.0",
"react-async-hook": "^4.0.0",
"react-native-svg-transformer": "^1.5.0",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@types/jest": "29.5.5",
"@types/node-emoji": "1.8.2",
"@types/react": "18.2.24",
"@types/react-native": "0.72.3",
"@types/react-test-renderer": "18.0.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-cli": "6.26.0",
"babel-jest": "29.7.0",
"babel-preset-expo": "^9.9.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.37.2",
"expo": "^52.0.19",
"gh-pages": "6.0.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-expo": "^49.0.0",
"json": "^11.0.0",
"prettier": "3.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"typescript": "^5.7.2",
"world-countries": "5.0.0"
},
"jest": {
"preset": "react-native",
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
},
"testMatch": [
"**/*.test.ts?(x)"
],
"modulePathIgnorePatterns": [
"<rootDir>/example-expo",
"<rootDir>/example-slack-message"
]
},
"husky": {
"hooks": {
"pre-commit": "bun lint && bun tsc"
}
},
"resolutions": {
"mem": "^4.0.0"
},
"trustedDependencies": [
"core-js"
]
}