-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 2.44 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "hexaeight-sessions",
"version": "1.6.839",
"description": "Authenticate Any Email User In Front-End Apps Using HexaEight Sessions",
"exports": {
"./": "./auth/",
"./hexaeightsession.mjs": "./auth/hexaeightsession.mjs",
"./hexaeightAIchat.mjs": "./auth/hexaeightAIchat.mjs",
"./hexaeightaxios.mjs": "./auth/hexaeightaxios.mjs",
"./chatui.css": "./auth/chatui.css"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node -e \"const fs = require('fs'); const path = require('path'); const publicDir = path.join(__dirname, 'public'); const samplesDir = path.join(__dirname, 'samples'); const destDir = path.join(__dirname, '..', '..'); if (fs.existsSync(publicDir)) { const destPublicDir = path.join(destDir, 'public'); if (!fs.existsSync(destPublicDir)) { fs.mkdirSync(destPublicDir); } fs.readdirSync(publicDir).forEach(file => { fs.copyFileSync(path.join(publicDir, file), path.join(destPublicDir, file)); }); } if (fs.existsSync(samplesDir)) { const destSamplesDir = path.join(destDir, 'samples'); if (fs.existsSync(destSamplesDir)) { fs.rmSync(destSamplesDir, { recursive: true }); } fs.mkdirSync(destSamplesDir); copyFilesRecursive(samplesDir, destSamplesDir); } function copyFilesRecursive(source, destination) { const files = fs.readdirSync(source); for (const file of files) { const currentSource = path.join(source, file); const currentDest = path.join(destination, file); if (fs.statSync(currentSource).isDirectory()) { fs.mkdirSync(currentDest); copyFilesRecursive(currentSource, currentDest); } else { fs.copyFileSync(currentSource, currentDest); } } }\""
},
"files": [
"public/*",
"auth/*",
"samples/*"
],
"browser" : {
"fs" : false,
"os" : false,
"path" : false
},
"keywords": [
"authentication",
"authorization",
"HexaEight",
"HexaEight Authentication Assistant",
"Copilot Enabled Application",
"user management",
"frontend security",
"session management",
"identity management",
"frontend development",
"web development",
"React",
"Vue",
"Vanilla",
"PWA",
"frontend frameworks",
"encryption",
"security",
"cryptography",
"data protection",
"secure storage",
"data privacy",
"end-to-end encryption"
],
"author": "HexaEight Team <admin@hexaeight.com> (https://www.hexaeight.com)",
"license": "Apache-2.0",
"dependencies": {
"axios": "^1.6.7",
"pouchdb": "^8.0.1"
}
}