": "0.1.0",
"description": "refined react-native components",
"main": "dist/cjs/index.js",
"module...": "dist/es/index.js",
"browser": "dist/umd/index.js",
"types": "dist/es/index.d.ts",
"scripts"...iife/umd 包
globals: {
react: 'React',
'react-native': 'reactNative',
},.../dist/cjs/index.js', format: 'cjs', exports: 'auto' },
{ dir: '..../dist/es/index.js', format: 'es' },
],
plugins: [typescript()],
external: ['react', 'react-native