-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.58 KB
/
package.json
File metadata and controls
103 lines (103 loc) · 2.58 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
102
103
{
"name": "@fullstory/babel-plugin-react-native",
"version": "1.6.3",
"description": "The official FullStory React Native babel plugin",
"repository": "git://github.com/fullstorydev/fullstory-babel-plugin-react-native.git",
"homepage": "https://github.com/fullstorydev/fullstory-babel-plugin-react-native",
"author": "FullStory",
"license": "MIT",
"keywords": [
"babel",
"plugin",
"fullstory",
"react",
"react-native"
],
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"clean": "rm -rf lib",
"build": "babel src -d lib",
"lint": "eslint ./src",
"pretest": "npm run build",
"test": "jest",
"test:watch": "jest --watch"
},
"dependencies": {
"@babel/parser": "^7.0.0",
"@babel/types": "^7.0.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.3",
"@babel/eslint-parser": "^7.22.15",
"@babel/helper-plugin-test-runner": "^7.0.0",
"@babel/plugin-syntax-flow": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.0.0",
"@babel/preset-env": "7.0.0",
"@react-native/babel-preset": "^0.82.0",
"@testing-library/react-native": "^13.3.3",
"@types/react": "^19.1.1",
"babel-plugin-tester": "^11.0.4",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.7.0",
"prettier": "3.0.3",
"react": "^19.1.1",
"react-native": "^0.82.0",
"react-test-renderer": "^19.1.1"
},
"jest": {
"projects": [
{
"displayName": "transform",
"roots": [
"<rootDir>/__tests__/"
],
"testPathIgnorePatterns": [
"<rootDir>/__tests__/fixtures/*",
"<rootDir>/__tests__/runtime/"
]
},
{
"displayName": "runtime",
"cache": false,
"preset": "react-native",
"roots": [
"<rootDir>/__tests__/runtime/"
],
"testMatch": [
"**/__tests__/runtime/**/*.test.js"
],
"moduleNameMapper": {
"^@fullstory/react-native$": "<rootDir>/__tests__/runtime/__mocks__/fullstory-react-native.js"
},
"transform": {
"^.+\\.(js|ts|tsx)$": [
"babel-jest",
{
"configFile": "./__tests__/runtime/babel.config.js"
}
]
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(@react-native|react-native|react)/).+/"
]
}
]
},
"babel": {
"presets": [
"@babel/preset-env"
],
"env": {
"test": {
"presets": [
"@babel/preset-env"
]
}
}
}
}