Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.84 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 1.84 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
{
"type": "module",
"name": "@msw/react-native",
"version": "0.1.0",
"description": "Mock Service Worker integration for React Native.",
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"test": "pnpm --dir test/app test",
"typecheck": "tsc --noEmit && pnpm --dir test/app typecheck",
"prepack": "pnpm build",
"lint": "oxlint src test/app/tests test/app/scripts test/app/*.js test/app/*.mjs *.ts",
"publint": "publint",
"test:build:ios": "pnpm --dir test/app build:ios",
"release": "release publish"
},
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./package.json": "./package.json"
},
"files": [
"lib",
"src"
],
"sideEffects": true,
"keywords": [
"native",
"react-native",
"mock",
"test",
"network",
"api",
"http",
"graphql",
"websocket"
],
"author": "Artem Zakharchenko <kettanaito@gmail.com>",
"license": "MIT",
"homepage": "https://mswjs.io",
"repository": {
"type": "git",
"url": "git+https://github.com/mswjs/react-native.git"
},
"publishConfig": {
"access": "public"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"version": "^11.5.2",
"onFail": "download"
}
},
"peerDependencies": {
"msw": "^2.15.0",
"react-native": "*"
},
"dependencies": {
"@mswjs/interceptors": "^0.45.12",
"core-js": "^3.51.0",
"fast-text-encoding": "^1.0.6",
"react-native-url-polyfill": "^4.0.0",
"web-streams-polyfill": "^4.5.1"
},
"devDependencies": {
"@ossjs/release": "^0.11.2",
"@types/node": "^24.0.0",
"msw": "^3.0.6",
"oxlint": "^1.94.0",
"publint": "^0.3.25",
"tsup": "^8.5.1",
"typescript": "~7.0.0"
}
}