@arcmantle/lit-jsx 1.0.15 → 1.0.17

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -17
package/README.md CHANGED
@@ -84,7 +84,7 @@ export default defineConfig({
84
84
  {
85
85
  "compilerOptions": {
86
86
  "jsx": "preserve",
87
- "jsxImportSource": "lit-jsx"
87
+ "jsxImportSource": "@arcmantle/lit-jsx"
88
88
  }
89
89
  }
90
90
  ```
package/package.json CHANGED
@@ -1,29 +1,23 @@
1
1
  {
2
2
  "name": "@arcmantle/lit-jsx",
3
+ "version": "1.0.17",
3
4
  "description": "A JSX runtime and compiler that transforms JSX into Lit templates.",
4
5
  "license": "Apache-2.0",
5
- "contributors": [
6
- "Kristoffer Roen-Lie"
7
- ],
8
- "repository": {
9
- "type": "git",
10
- "url": "git+https://github.com/arcmantle/lit-jsx.git"
11
- },
12
- "version": "1.0.15",
13
- "files": [
14
- "dist",
15
- "src"
16
- ],
6
+ "author": "Kristoffer Roen-Lie",
7
+ "sideEffects": false,
17
8
  "type": "module",
18
- "main": "./dist/react-jsx/jsx-runtime.js",
19
- "types": "./dist/shared/jsx-types.d.ts",
20
9
  "exports": {
21
10
  ".": "./dist/utils.js",
22
11
  "./jsx-runtime": "./dist/shared/jsx-types.d.ts",
23
12
  "./jsx-dev-runtime": "./dist/shared/jsx-types.d.ts",
24
13
  "./vite": "./dist/compiler/vite-plugin.js"
25
14
  },
26
- "sideEffects": false,
15
+ "main": "./dist/react-jsx/jsx-runtime.js",
16
+ "types": "./dist/shared/jsx-types.d.ts",
17
+ "files": [
18
+ "dist",
19
+ "src"
20
+ ],
27
21
  "dependencies": {
28
22
  "@babel/core": "^7.20.12",
29
23
  "@babel/plugin-syntax-jsx": "^7.18.6",
@@ -48,8 +42,8 @@
48
42
  "vitest": "^3.2.4"
49
43
  },
50
44
  "scripts": {
45
+ "build": "rimraf dist && tsc --project ./src/tsconfig.json",
51
46
  "dev": "vite build --watch --mode=development",
52
- "test": "pnpm vitest run",
53
- "build": "rimraf dist && tsc --project ./src/tsconfig.json"
47
+ "test": "pnpm vitest run"
54
48
  }
55
49
  }