@dmitryvim/form-builder 0.2.0 → 0.2.1
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 +16 -0
- package/dist/browser/formbuilder.min.js +52 -47
- package/dist/browser/formbuilder.v0.2.1.min.js +184 -0
- package/dist/cjs/index.cjs +123 -53
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +122 -53
- package/dist/esm/index.js.map +1 -1
- package/dist/form-builder.js +52 -47
- package/dist/types/types/config.d.ts +3 -0
- package/package.json +1 -1
- package/dist/browser/formbuilder.v0.2.0.min.js +0 -179
package/README.md
CHANGED
|
@@ -35,6 +35,22 @@ Try it now: **[https://picazru.github.io/form-builder/dist/index.html](https://p
|
|
|
35
35
|
npm install @dmitryvim/form-builder
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
### TypeScript Setup
|
|
39
|
+
|
|
40
|
+
This package ships with complete TypeScript definitions. Ensure your `tsconfig.json` is configured for modern module resolution:
|
|
41
|
+
|
|
42
|
+
```json
|
|
43
|
+
{
|
|
44
|
+
"compilerOptions": {
|
|
45
|
+
"moduleResolution": "NodeNext", // or "Bundler" for Vite/Webpack
|
|
46
|
+
"esModuleInterop": true,
|
|
47
|
+
"skipLibCheck": false
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
**No need for custom `.d.ts` files** - types are auto-resolved from the package at `dist/types/index.d.ts`.
|
|
53
|
+
|
|
38
54
|
## Core Features
|
|
39
55
|
|
|
40
56
|
- **🎯 Schema-driven forms**: JSON Schema v0.3 → Interactive forms with live preview
|