vite-plugin-react-native-web 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # vite-plugin-react-native-web
2
+ React Native Web support for Vite
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var index = 1;
6
+
7
+ exports.default = index;
8
+ module.exports = Object.assign(exports.default, exports);
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ var index = 1;
2
+
3
+ export { index as default };
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"type":"module"}
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "vite-plugin-react-native-web",
3
+ "version": "1.0.0",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "React Native Web support for Vite",
8
+ "license": "MIT",
9
+ "repository": {
10
+ "url": "Bram-dc/vite-plugin-react-native-web"
11
+ },
12
+ "author": "Bram del Canho",
13
+ "homepage": "https://github.com/Bram-dc/vite-plugin-react-native-web#readme",
14
+ "bugs": "https://github.com/Bram-dc/vite-plugin-react-native-web/issues",
15
+ "main": "./dist/cjs/index.js",
16
+ "module": "./dist/es/index.js",
17
+ "exports": {
18
+ "types": "./types/index.d.ts",
19
+ "import": "./dist/es/index.js",
20
+ "default": "./dist/cjs/index.js"
21
+ },
22
+ "engines": {
23
+ "node": ">=14.0.0"
24
+ },
25
+ "scripts": {
26
+ "build": "rollup -c",
27
+ "prerelease": "npm build",
28
+ "release": "npm ..."
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "!dist/**/*.map",
33
+ "types",
34
+ "README.md"
35
+ ],
36
+ "keywords": [
37
+ "vite",
38
+ "vite-plugin",
39
+ "plugin",
40
+ "react-native",
41
+ "react-native-web"
42
+ ],
43
+ "dependencies": {
44
+ "flow-remove-types": "^2.233.0"
45
+ },
46
+ "devDependencies": {
47
+ "@types/node": "^20.12.4",
48
+ "rollup": "^4.14.0",
49
+ "typescript": "^5.4.4",
50
+ "vite": "^5.2.8"
51
+ },
52
+ "types": "./types/index.d.ts"
53
+ }
@@ -0,0 +1,7 @@
1
+ import type { Plugin as VitePlugin } from "vite"
2
+
3
+ export type ViteReactNativeWebOptions = {
4
+
5
+ }
6
+
7
+ export default function reactNativeWeb(options?: ViteReactNativeWebOptions): VitePlugin