-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) 路 2.97 KB
/
Copy pathpackage.json
File metadata and controls
101 lines (101 loc) 路 2.97 KB
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
{
"name": "react-native-url-polyfill",
"version": "4.0.0",
"description": "A lightweight and trustworthy URL polyfill for React Native",
"keywords": [
"URL",
"URLSearchParams",
"polyfill",
"react native",
"whatwg-url"
],
"bugs": {
"url": "https://github.com/charpeni/react-native-url-polyfill/issues"
},
"homepage": "https://github.com/charpeni/react-native-url-polyfill",
"readme": "https://github.com/charpeni/react-native-url-polyfill#readme",
"repository": {
"type": "git",
"url": "https://github.com/charpeni/react-native-url-polyfill.git"
},
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"auto.js",
"js/URL.js",
"js/URL.d.ts",
"js/URLSearchParams.js",
"js/URLSearchParams.d.ts",
"js/ios10Fix.js"
],
"scripts": {
"test": "jest",
"test:wpt": "jest OfficialWPT-test --runInBand",
"lint": "eslint .",
"type-check": "tsgo",
"build": "tsdown",
"prepare": "husky install",
"prepack": "yarn build",
"benchmark": "yarn build && npx --yes --loglevel error --package whatwg-url --package whatwg-url-minimum -- sh -c 'NODE_PATH=\"${PATH%%/node_modules/.bin*}/node_modules\" node scripts/benchmark.js \"$@\"' sh",
"benchmark:hermes": "yarn build && npx --yes --loglevel error --package whatwg-url-without-unicode --package whatwg-url-minimum -- sh -c 'NODE_PATH=\"${PATH%%/node_modules/.bin*}/node_modules\" node scripts/benchmark-hermes.js \"$@\"' sh",
"bundle-size": "node scripts/bundle-size",
"update-wpt": "node scripts/update-wpt",
"generate:wpt:react-native": "node scripts/wpt/generate-react-native-wpt.js"
},
"author": "Nicolas Charpentier <nicolas.charpentier079@gmail.com>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.27.1",
"@babel/plugin-transform-typescript": "^7.28.0",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/eslint-config": "3.2.0",
"@react-native/babel-preset": "0.81.1",
"@types/node": "^22.13.10",
"@types/whatwg-url": "13.0.0",
"@typescript/native-preview": "7.0.0-dev.20260706.1",
"detox": "20.34.5",
"eslint": "8.56.0",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-prettier": "5.5.4",
"husky": "8.0.3",
"jest": "30.1.3",
"lint-staged": "15.2.0",
"nanoid": "3.3.11",
"prettier": "3.6.2",
"react": "19.1.1",
"react-native": "0.81.4",
"react-native-bundle-scale": "2.0.0",
"tsdown": "0.22.3",
"typescript": "5.9.2"
},
"peerDependencies": {
"react-native": "*"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"mjs",
"cjs",
"jsx",
"json",
"node"
],
"testPathIgnorePatterns": [
"/node_modules/",
"./platforms/",
"/wpt/"
]
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
]
}
}