Registry / devops / react-native-quantum-babel-annotations

react-native-quantum-babel-annotations

JSON →
library1.0.1jsnpmunverified

A Babel plugin for React Native that annotates components to enable Quantum Metric's automatic selector generation for analytics. Version 1.0.1, currently stable but tightly coupled to Quantum Metric's proprietary SDK. Requires prior installation of `react-native-quantum-metric-library` and native SDKs. Releases are infrequent; this plugin is a supplementary tool for existing Quantum Metric customers, not a general-purpose library. No open-source equivalent.

npm install react-native-quantum-babel-annotations
INSTALL
IMPORT
SIG · REACT-NATIVE-QUANT
R
react-native-quantum-babel-annotations
devopsjavascriptv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

babel plugin
module.exports = { plugins: ['module:react-native-quantum-babel-annotations'] }
const plugin = require('react-native-quantum-babel-annotations')
This package is a Babel plugin, not a runtime module. Configure in babel.config.js.

Babel configuration for a React Native project with the Quantum Metric annotation plugin. Ensure the Quantum Metric native SDKs and RN module are installed first.

module.exports = function (api) { const presets = ['module:metro-react-native-babel-preset']; const plugins = ['module:react-native-quantum-babel-annotations']; api.cache(false); return { presets, plugins }; };
Debug
Known issues
gotchaPlugin requires prior installation of native SDKs and react-native-quantum-metric-library.
fix
Install @quantummetric/react-native-sdk and react-native-quantum-metric-library before adding this plugin.
affects: >=1.0.0
gotchaOnly works with React Native apps, not plain React or web.
fix
Ensure the project is a React Native application.
affects: >=1.0.0
gotchaThis plugin is proprietary and depends on a Quantum Metric account.
fix
Sign up at quantummetric.com to obtain necessary API keys.
affects: >=1.0.0
Errors
Common errors & fixes
Module not found: Can't resolve 'react-native-quantum-babel-annotations'
Missing npm install or incorrect module path.
fix
Run 'npm install react-native-quantum-babel-annotations' and ensure the path is 'module:react-native-quantum-babel-annotations'.
Babel plugin threw: Cannot find module 'react-native-quantum-metric-library'
Peer dependency missing.
fix
Install react-native-quantum-metric-library via npm.
Upgrade
Version history
1.0.1latest on npm
Audit
Dependencies
react-native-quantum-metric-libraryrequiredNative module peer dependency; must be installed before this plugin
Agent activity
4 hits · last 30 days
node
4
Resources
react-native-quantum-babel-annotations — npm install react-native-quantum-babel-annotations · libregistry