@block-auth.io/blockauth-lib-react 0.2.32
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 +168 -0
- package/dist/bundle.css +1 -0
- package/dist/bundle.es.js +2 -0
- package/dist/bundle.es.js.map +1 -0
- package/dist/bundle.js +2 -0
- package/dist/bundle.js.map +1 -0
- package/dist/bundle.modern.js +2 -0
- package/dist/bundle.modern.js.map +1 -0
- package/dist/bundle.umd.js +2 -0
- package/dist/bundle.umd.js.map +1 -0
- package/package.json +157 -0
- package/public/output.css +5696 -0
package/package.json
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@block-auth.io/blockauth-lib-react",
|
|
3
|
+
"license": "UNLICENSED",
|
|
4
|
+
"description": "Block-Auth LIB is a SaaS service blockchain based authentication service. It provides a simple and secure way to authenticate users in your application.",
|
|
5
|
+
"version": "0.2.32",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "Block-Auth",
|
|
8
|
+
"url": "https://block-auth.io"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "./dist/bundle.umd.js",
|
|
12
|
+
"module": "./dist/bundle.es.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/bundle.es.js",
|
|
17
|
+
"require": "./dist/bundle.umd.js"
|
|
18
|
+
},
|
|
19
|
+
"./dist/bundle.css": {
|
|
20
|
+
"import": "./dist/bundle.css",
|
|
21
|
+
"require": "./dist/bundle.css"
|
|
22
|
+
},
|
|
23
|
+
"./public/output.css": {
|
|
24
|
+
"import": "./public/output.css",
|
|
25
|
+
"require": "./public/output.css"
|
|
26
|
+
},
|
|
27
|
+
"./node_modules/react": {
|
|
28
|
+
"import": "./node_modules/react/index.js",
|
|
29
|
+
"require": "./node_modules/react/index.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"public"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"build": "microbundle-crl --globals react=React --jsxFragment React.Fragment --jsx React.createElement --css-modules true -i src/main.js -o dist/bundle.js",
|
|
38
|
+
"dev": "microbundle-crl --globals react=React --jsxFragment React.Fragment --jsx React.createElement --css-modules true -i src/main.js -o dist/bundle.js watch",
|
|
39
|
+
"css": "npx tailwindcss -i \"src/assets/css/input.css\" -o \"public/output.css\"",
|
|
40
|
+
"css:dev": "npx tailwindcss -i \"./src/assets/css/input.css\" -o \"public/output.css\" --watch",
|
|
41
|
+
"test": "jest --collectCoverage --coverageDirectory=\".coverage/\" --ci --reporters=default --reporters=jest-junit --watchAll=false --detectOpenHandles --forceExit",
|
|
42
|
+
"lint": "eslint \"src/**/*.{js,jsx}\" \".storybook/stories/**/*.{js,jsx}\" \"__tests__/**/*test*.{js,jsx}\"",
|
|
43
|
+
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,}\" \".storybook/stories/**/*.{js,jsx}\" \"__tests__/**/*test*.{js,jsx}\"",
|
|
44
|
+
"format": "prettier --write \"src/**/*.{js,jsx,}\" \".storybook/stories/**/*.{js,jsx}\" \"__tests__/**/*test*.{js,jsx}\" --config \".prettier.json\"",
|
|
45
|
+
"compile:dashboard": "npx cp blockauth-lib-react-*.tgz ../blockauth-dashboard/libs/",
|
|
46
|
+
"compile:auth": "npx cp blockauth-lib-react-*.tgz ../blockauth-auth/libs/",
|
|
47
|
+
"compile:sdkreact": "npx cp blockauth-lib-react-*.tgz ../blockauth-sdk-react/libs/",
|
|
48
|
+
"compile:extension": "npx cp blockauth-lib-react-*.tgz ../blockauth-extension-chrome/libs/",
|
|
49
|
+
"compile:identity": "npx cp blockauth-lib-react-*.tgz ../blockauth-identity/libs/",
|
|
50
|
+
"ci": "yarn lint && yarn format && yarn test && yarn build && yarn pack",
|
|
51
|
+
"ci:css": "yarn css && yarn lint && yarn format && yarn test && yarn build && yarn pack",
|
|
52
|
+
"ci:compile": "yarn ci && yarn compile:dashboard && yarn compile:auth && yarn compile:identity && yarn compile:sdkreact && yarn compile:extension",
|
|
53
|
+
"stories": "storybook dev -p 6006",
|
|
54
|
+
"stories:build": "storybook build -o dist-stories",
|
|
55
|
+
"docs": "storybook dev --docs",
|
|
56
|
+
"docs:build": "storybook build --docs -o dist-docs",
|
|
57
|
+
"clean": "npx rm -rf dist dist-stories dist-docs .coverage package-lock.json junit.xml *.tgz yarn.lock node_modules",
|
|
58
|
+
"cleanrm": "rm -rf dist dist-stories dist-docs .coverage package-lock.json junit.xml *.tgz yarn.lock node_modules"
|
|
59
|
+
},
|
|
60
|
+
"browserslist": "defaults, not ie <= 11",
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"-": "^0.0.1",
|
|
63
|
+
"@headlessui/react": "^2.0.3",
|
|
64
|
+
"@headlessui/tailwindcss": "^0.2.0",
|
|
65
|
+
"@heroicons/react": "^2.1.3",
|
|
66
|
+
"@radix-ui/react-slider": "^1.1.2",
|
|
67
|
+
"animate.css": "^4.1.1",
|
|
68
|
+
"dayjs": "^1.11.11",
|
|
69
|
+
"framer-motion": "^11.2.6",
|
|
70
|
+
"google-libphonenumber": "^3.2.34",
|
|
71
|
+
"react": "^18.2.0",
|
|
72
|
+
"react-icons": "^5.2.1",
|
|
73
|
+
"react-international-phone": "^4.3.0",
|
|
74
|
+
"react-loader-spinner": "^6.1.6",
|
|
75
|
+
"react-spinners": "^0.13.8",
|
|
76
|
+
"react-use": "^17.5.0",
|
|
77
|
+
"tailwind-children": "^0.5.0",
|
|
78
|
+
"vite": "^5.2.0",
|
|
79
|
+
"zustand": "^4.3.3"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@babel/core": "^7.23.9",
|
|
83
|
+
"@babel/plugin-transform-unicode-property-regex": "^7.24.7",
|
|
84
|
+
"@babel/preset-env": "^7.23.9",
|
|
85
|
+
"@babel/preset-react": "^7.23.3",
|
|
86
|
+
"@chromatic-com/storybook": "^1",
|
|
87
|
+
"@storybook/addon-essentials": "^8.0.0",
|
|
88
|
+
"@storybook/addon-interactions": "^8.0.0",
|
|
89
|
+
"@storybook/addon-links": "^8.0.0",
|
|
90
|
+
"@storybook/addon-onboarding": "^8.0.0",
|
|
91
|
+
"@storybook/blocks": "^8.0.0",
|
|
92
|
+
"@storybook/react": "^8.0.0",
|
|
93
|
+
"@storybook/react-vite": "^8.0.0",
|
|
94
|
+
"@storybook/test": "^8.0.0",
|
|
95
|
+
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
96
|
+
"@tailwindcss/forms": "^0.5.7",
|
|
97
|
+
"@tailwindcss/line-clamp": "^0.4.4",
|
|
98
|
+
"@tailwindcss/typography": "^0.5.10",
|
|
99
|
+
"@testing-library/react": "^16.0.0",
|
|
100
|
+
"@types/jest": "^29.4.0",
|
|
101
|
+
"@types/react": "^18.2.66",
|
|
102
|
+
"@types/react-dom": "^18.2.22",
|
|
103
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
104
|
+
"autoprefixer": "^10.4.16",
|
|
105
|
+
"babel-jest": "^29.7.0",
|
|
106
|
+
"daisyui": "^3.9.4",
|
|
107
|
+
"eslint": "^8.52.0",
|
|
108
|
+
"eslint-config-prettier": "^9.0.0",
|
|
109
|
+
"eslint-config-standard": "^17.1.0",
|
|
110
|
+
"eslint-plugin-import": "^2.29.0",
|
|
111
|
+
"eslint-plugin-n": "^16.2.0",
|
|
112
|
+
"eslint-plugin-promise": "^6.1.1",
|
|
113
|
+
"eslint-plugin-react": "^7.33.2",
|
|
114
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
115
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
116
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
117
|
+
"identity-obj-proxy": "^3.0.0",
|
|
118
|
+
"jest": "^29.7.0",
|
|
119
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
120
|
+
"jest-junit": "^16.0.0",
|
|
121
|
+
"jest-svg-transformer": "^1.0.0",
|
|
122
|
+
"microbundle-crl": "^0.13.11",
|
|
123
|
+
"npx": "^10.2.2",
|
|
124
|
+
"postcss": "^8.4.32",
|
|
125
|
+
"postcss-nesting": "^12.0.1",
|
|
126
|
+
"prettier": "^3.0.3",
|
|
127
|
+
"prettier-plugin-tailwindcss": "^0.5.6",
|
|
128
|
+
"react-dom": "^18.2.0",
|
|
129
|
+
"react-router-dom": "^6.23.1",
|
|
130
|
+
"storybook": "^8.0.0",
|
|
131
|
+
"tailwindcss": "^3.4.0",
|
|
132
|
+
"tailwindcss-children": "^2.1.0"
|
|
133
|
+
},
|
|
134
|
+
"publishConfig": {
|
|
135
|
+
"access": "public"
|
|
136
|
+
},
|
|
137
|
+
"jest": {
|
|
138
|
+
"transform": {
|
|
139
|
+
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
|
|
140
|
+
},
|
|
141
|
+
"moduleNameMapper": {
|
|
142
|
+
"\\.(jpg|ico|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/mocks/fileMock.js",
|
|
143
|
+
"^.+\\.svg$": "jest-svg-transformer",
|
|
144
|
+
"^.+\\.(css|less|scss)$": "identity-obj-proxy",
|
|
145
|
+
"^uuid$": "<rootDir>/node_modules/uuid/dist/index.js"
|
|
146
|
+
},
|
|
147
|
+
"setupFilesAfterEnv": [
|
|
148
|
+
"<rootDir>/setupTests.js"
|
|
149
|
+
],
|
|
150
|
+
"coverageReporters": [
|
|
151
|
+
"html",
|
|
152
|
+
"text",
|
|
153
|
+
"text-summary",
|
|
154
|
+
"cobertura"
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
}
|