UNPKG

@fullstory/babel-plugin-react-native

Version:
104 lines (103 loc) 2.64 kB
{ "name": "@fullstory/babel-plugin-react-native", "version": "1.6.4", "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" ] } } } }