@rrjs/babel-plugin 0.1.1 → 0.2.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/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "@rrjs/babel-plugin",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "Babel plugin that compiles JSX to h() calls with reactive bindings for Reactive React",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
8
14
  "files": [
9
15
  "dist",
10
16
  "README.md",
@@ -18,21 +24,31 @@
18
24
  },
19
25
  "dependencies": {
20
26
  "@babel/core": "^7.24.0",
27
+ "@babel/helper-module-imports": "^7.29.7",
21
28
  "@babel/plugin-syntax-jsx": "^7.24.0",
22
- "@babel/types": "^7.24.0"
29
+ "@babel/types": "^7.24.0",
30
+ "@types/babel__core": "^7.20.5"
23
31
  },
24
32
  "devDependencies": {
25
33
  "@babel/preset-typescript": "^7.24.0",
26
- "@types/babel__core": "^7.20.5",
27
- "vitest": "^1.0.0",
28
- "typescript": "^5.0.0"
34
+ "typescript": "^5.0.0",
35
+ "vitest": "^1.0.0"
36
+ },
37
+ "peerDependencies": {
38
+ "@rrjs/renderer": "^0.2.0"
29
39
  },
40
+ "author": "Saman Abaasi <samyar1992@gmail.com>",
30
41
  "license": "MIT",
31
- "author": "Saman Abaasi <samabaasii@gmail.com>",
32
42
  "repository": {
33
43
  "type": "git",
34
44
  "url": "https://github.com/SamAbaasi/reactive-react.git",
35
45
  "directory": "packages/babel-plugin"
36
46
  },
37
- "keywords": ["babel", "babel-plugin", "jsx", "reactive-react", "signals"]
38
- }
47
+ "keywords": [
48
+ "babel",
49
+ "babel-plugin",
50
+ "jsx",
51
+ "reactive-react",
52
+ "signals"
53
+ ]
54
+ }