alphavalid-sdk 0.0.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/.gitattributes ADDED
@@ -0,0 +1,2 @@
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # alphavalid-sdk
2
+
File without changes
@@ -0,0 +1 @@
1
+ (function(e){typeof define==`function`&&define.amd?define([],e):e()})(function(){});
package/package.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "alphavalid-sdk",
3
+ "version": "0.0.1",
4
+ "description": "SDK de validação facial e liveness",
5
+ "main": "dist/alphavalid.umd.js",
6
+ "module": "dist/alphavalid.es.js",
7
+ "scripts": {
8
+ "build": "vite build"
9
+ }
10
+ }
package/src/index.ts ADDED
File without changes
package/vite.config.ts ADDED
@@ -0,0 +1,17 @@
1
+ import { defineConfig } from 'vite';
2
+
3
+ export default defineConfig({
4
+ // Force Vite to treat this project as a library build (no index.html)
5
+ appType: 'custom',
6
+ publicDir: false,
7
+ build: {
8
+ copyPublicDir: false,
9
+ emptyOutDir: true,
10
+ lib: {
11
+ entry: 'src/index.ts',
12
+ name: 'AlphaValid',
13
+ formats: ['es', 'umd'],
14
+ fileName: (format) => `alphavalid.${format}.js`
15
+ }
16
+ }
17
+ });