@buildocsdev/sdk 1.1.0 → 1.1.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 +14 -10
- package/dist/{chunk-LQXFE73I.js → chunk-4ERJUFL7.js} +2 -2
- package/dist/{chunk-OPK746DI.js → chunk-K3T5WWJQ.js} +1 -1
- package/dist/chunk-N2SNK2Y5.js +2 -0
- package/dist/{chunk-X2F7ACCC.js → chunk-VAZMUBDS.js} +1 -1
- package/dist/{fileviewer-CW5UNGEV.js → fileviewer-EQ5VLP5K.js} +1 -1
- package/dist/form.js +1 -1
- package/dist/formeditor-BUNWD2YG.js +1 -0
- package/dist/formeditor.js +1 -1
- package/dist/index.js +2 -2
- package/dist/metafile-esm.json +1 -1
- package/package.json +325 -325
- package/dist/chunk-NOHQQSA7.js +0 -2
- package/dist/formeditor-UE4HC4V2.js +0 -1
package/package.json
CHANGED
|
@@ -1,325 +1,325 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@buildocsdev/sdk",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"registry": "https://registry.npmjs.org/"
|
|
6
|
-
},
|
|
7
|
-
"main": "./dist/index.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js"
|
|
13
|
-
},
|
|
14
|
-
"./form": {
|
|
15
|
-
"types": "./dist/form.d.ts",
|
|
16
|
-
"import": "./dist/form.js"
|
|
17
|
-
},
|
|
18
|
-
"./formeditor": {
|
|
19
|
-
"types": "./dist/formeditor.d.ts",
|
|
20
|
-
"import": "./dist/formeditor.js"
|
|
21
|
-
},
|
|
22
|
-
"./index.css": {
|
|
23
|
-
"types": "./dist/style.d.ts",
|
|
24
|
-
"default": "./dist/index.css"
|
|
25
|
-
},
|
|
26
|
-
"./form.css": {
|
|
27
|
-
"types": "./dist/style.d.ts",
|
|
28
|
-
"default": "./dist/ui/css/form.css"
|
|
29
|
-
},
|
|
30
|
-
"./formeditor.css": {
|
|
31
|
-
"types": "./dist/style.d.ts",
|
|
32
|
-
"default": "./dist/ui/css/formeditor.css"
|
|
33
|
-
},
|
|
34
|
-
"./formcanvas.css": {
|
|
35
|
-
"types": "./dist/style.d.ts",
|
|
36
|
-
"default": "./dist/ui/css/formcanvas.css"
|
|
37
|
-
},
|
|
38
|
-
"./office.css": {
|
|
39
|
-
"types": "./dist/style.d.ts",
|
|
40
|
-
"default": "./dist/ui/css/office.css"
|
|
41
|
-
},
|
|
42
|
-
"./tabulator.css": {
|
|
43
|
-
"types": "./dist/style.d.ts",
|
|
44
|
-
"default": "./dist/ui/css/tabulator.css"
|
|
45
|
-
},
|
|
46
|
-
"./providers/theme.css": {
|
|
47
|
-
"types": "./dist/style.d.ts",
|
|
48
|
-
"default": "./dist/providers/theme.css"
|
|
49
|
-
},
|
|
50
|
-
"./img/*": "./dist/ui/img/*"
|
|
51
|
-
},
|
|
52
|
-
"files": [
|
|
53
|
-
"dist",
|
|
54
|
-
"img"
|
|
55
|
-
],
|
|
56
|
-
"scripts": {
|
|
57
|
-
"start": "set PORT=3001&&craco start",
|
|
58
|
-
"start:analyze": "set PORT=3001&&set ANALYZE=true&&craco start",
|
|
59
|
-
"dev": "npm run build:styles:dev && cross-env NODE_ENV=development tsup --watch --config tsup.config.ts --onSuccess=\"serve dist-dev -l 3000\"",
|
|
60
|
-
"dev:link": "npm run build:styles && cross-env NODE_ENV=production tsup --watch --no-dts --no-clean",
|
|
61
|
-
"build:styles:dev": "sass --load-path=node_modules --load-path=src --quiet-deps --silence-deprecation=import --silence-deprecation=global-builtin --silence-deprecation=color-functions src:dist-dev --no-source-map --style=expanded && postcss \"dist-dev/**/*.css\" --config postcss.config.mjs --replace",
|
|
62
|
-
"build:styles": "sass --load-path=node_modules --load-path=src --quiet-deps --silence-deprecation=import --silence-deprecation=global-builtin --silence-deprecation=color-functions src:dist --no-source-map --style=compressed && postcss \"dist/**/*.css\" --config postcss.config.mjs --replace && npm run build:assets",
|
|
63
|
-
"create:css-dts": "node -e \"require('fs').writeFileSync('dist/style.d.ts', 'export {};\\n')\"",
|
|
64
|
-
"build": "cross-env NODE_ENV=production tsup && npm run fix:dts && npm run create:css-dts && npm run build:styles",
|
|
65
|
-
"build:local": "cross-env NODE_ENV=production tsup --no-dts && npm run build:styles",
|
|
66
|
-
"build:cra": "craco build",
|
|
67
|
-
"build:analyze": "set ANALYZE=true&&craco build",
|
|
68
|
-
"analyze": "set ANALYZE=true&&craco build --stats",
|
|
69
|
-
"build:assets": "cpy \"src/ui/img/**/*\" dist/ui/img/ && cpy \"src/ui/img/**/*\" img/",
|
|
70
|
-
"prepare": "npm run build",
|
|
71
|
-
"build:watch": "tsup --watch",
|
|
72
|
-
"clean": "rimraf dist",
|
|
73
|
-
"build:types": "tsc -p tsconfig.build.json",
|
|
74
|
-
"analyze:tsup": "tsup --analyze",
|
|
75
|
-
"fix:dts": "node -e \"const fs=require('fs'); fs.readdirSync('dist').filter(f=>f.endsWith('.d.mts')).forEach(f=>fs.renameSync('dist/'+f, 'dist/'+f.replace('.d.mts','.d.ts')))\"",
|
|
76
|
-
"test": "jest",
|
|
77
|
-
"test:watch": "jest --watch",
|
|
78
|
-
"test:coverage": "jest --coverage"
|
|
79
|
-
},
|
|
80
|
-
"sideEffects": [
|
|
81
|
-
"*.css",
|
|
82
|
-
"*.scss",
|
|
83
|
-
"*.sass"
|
|
84
|
-
],
|
|
85
|
-
"overrides": {
|
|
86
|
-
"react-tag-autocomplete": "^7.3.0",
|
|
87
|
-
"jest-watch-typeahead": "^2.2.2",
|
|
88
|
-
"react-pro-sidebar": {
|
|
89
|
-
"react-slidedown": "^2.4.7"
|
|
90
|
-
},
|
|
91
|
-
"@storybook/addon-actions": {
|
|
92
|
-
"react-inspector": "^6.0.0"
|
|
93
|
-
},
|
|
94
|
-
"@storybook/addon-docs": {
|
|
95
|
-
"@mdx-js/react": "^2.0.0"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"keywords": [
|
|
99
|
-
"backend-driven-ui",
|
|
100
|
-
"dynamic-ui",
|
|
101
|
-
"ui-runtime",
|
|
102
|
-
"schema-driven-ui",
|
|
103
|
-
"enterprise-ui",
|
|
104
|
-
"workflow-engine",
|
|
105
|
-
"react-components"
|
|
106
|
-
],
|
|
107
|
-
"author": "Aleksandr Russakov",
|
|
108
|
-
"license": "Apache 2.0",
|
|
109
|
-
"description": "Buildocs SDK is a backend-driven UI runtime for rendering dynamic interfaces, workflows, tables, and modals inside React applications.",
|
|
110
|
-
"repository": {
|
|
111
|
-
"type": "git",
|
|
112
|
-
"url": "https://github.com/Buildocsdev/sdk.git"
|
|
113
|
-
},
|
|
114
|
-
"homepage": "https://
|
|
115
|
-
"bugs": {
|
|
116
|
-
"url": "https://github.com/Buildocsdev/sdk/issues"
|
|
117
|
-
},
|
|
118
|
-
"engines": {
|
|
119
|
-
"node": ">=18.0.0",
|
|
120
|
-
"npm": ">=9.0.0"
|
|
121
|
-
},
|
|
122
|
-
"dependencies": {},
|
|
123
|
-
"peerDependencies": {
|
|
124
|
-
"@lagarsoft/forge-viewer-react": "^0.3.5",
|
|
125
|
-
"@emotion/react": "^11",
|
|
126
|
-
"@emotion/styled": "^11",
|
|
127
|
-
"@mui/icons-material": "^5",
|
|
128
|
-
"@mui/material": "^5",
|
|
129
|
-
"@mui/system": "^5",
|
|
130
|
-
"@mui/x-tree-view": "^7",
|
|
131
|
-
"@react-spring/web": "^9.7.4",
|
|
132
|
-
"@reduxjs/toolkit": "^1.8.3",
|
|
133
|
-
"@types/pdfjs-dist": "^2.10.378",
|
|
134
|
-
"axios": ">=0.27.2",
|
|
135
|
-
"bootstrap": "^5.3.8",
|
|
136
|
-
"i18next-http-backend": "^2.1.0",
|
|
137
|
-
"react": ">=18 <19",
|
|
138
|
-
"react-color": "^2.19.3",
|
|
139
|
-
"react-dnd": "^16.0.1",
|
|
140
|
-
"react-dnd-html5-backend": "^16.0.1",
|
|
141
|
-
"react-dnd-scrolling": "^1.3.3",
|
|
142
|
-
"react-dnd-touch-backend": "^16.0.1",
|
|
143
|
-
"react-dom": ">=18 <19",
|
|
144
|
-
"react-hook-form": "^7.66.1",
|
|
145
|
-
"react-player": "^2.16.0",
|
|
146
|
-
"react-icons": "^5.5.0",
|
|
147
|
-
"react-pdf": "^10.3.0",
|
|
148
|
-
"react-redux": "^8.0.2",
|
|
149
|
-
"react-router-dom": "^6.4.1",
|
|
150
|
-
"react-tabulator": "^0.21.0",
|
|
151
|
-
"xlsx": "^0.18.5"
|
|
152
|
-
},
|
|
153
|
-
"peerDependenciesMeta": {
|
|
154
|
-
"@lagarsoft/forge-viewer-react": {
|
|
155
|
-
"optional": true
|
|
156
|
-
},
|
|
157
|
-
"react-color": {
|
|
158
|
-
"optional": true
|
|
159
|
-
},
|
|
160
|
-
"react-dnd": {
|
|
161
|
-
"optional": true
|
|
162
|
-
},
|
|
163
|
-
"react-dnd-html5-backend": {
|
|
164
|
-
"optional": true
|
|
165
|
-
},
|
|
166
|
-
"react-dnd-scrolling": {
|
|
167
|
-
"optional": true
|
|
168
|
-
},
|
|
169
|
-
"react-dnd-touch-backend": {
|
|
170
|
-
"optional": true
|
|
171
|
-
},
|
|
172
|
-
"react-player": {
|
|
173
|
-
"optional": true
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"devDependencies": {
|
|
177
|
-
"@lagarsoft/forge-viewer-react": "^0.3.5",
|
|
178
|
-
"buildocslib": "^0.2.179",
|
|
179
|
-
"immutability-helper": "^3.1.1",
|
|
180
|
-
"prop-types": "^15.8.1",
|
|
181
|
-
"react-hook-form": "^7.66.1",
|
|
182
|
-
"react-indiana-drag-scroll": "^2.2.0",
|
|
183
|
-
"react-player": "^2.16.0",
|
|
184
|
-
"react-select": "^5.7.0",
|
|
185
|
-
"react-tabs": "^6.0.0",
|
|
186
|
-
"react-use-draggable-scroll": "^0.4.7",
|
|
187
|
-
"stylis-plugin-rtl": "^2.1.1",
|
|
188
|
-
"typescript": "^4.9.5",
|
|
189
|
-
"@craco/craco": "^7.1.0",
|
|
190
|
-
"@emotion/react": "^11.13.3",
|
|
191
|
-
"@emotion/styled": "^11.13.0",
|
|
192
|
-
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
193
|
-
"@headlessui/react": "^1.7.3",
|
|
194
|
-
"@mui/icons-material": "^5.16.7",
|
|
195
|
-
"@mui/lab": "^5.0.0-alpha.173",
|
|
196
|
-
"@mui/material": "^5.16.7",
|
|
197
|
-
"@mui/styled-engine-sc": "^5.8.0",
|
|
198
|
-
"@mui/system": "^5.16.7",
|
|
199
|
-
"@mui/x-date-pickers": "^6.20.2",
|
|
200
|
-
"@mui/x-tree-view": "^7.13.0",
|
|
201
|
-
"@react-spring/web": "^9.7.4",
|
|
202
|
-
"@reduxjs/toolkit": "^1.8.3",
|
|
203
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
204
|
-
"@testing-library/react": "^13.3.0",
|
|
205
|
-
"@testing-library/user-event": "^13.5.0",
|
|
206
|
-
"@types/feather-icons": "^4.7.0",
|
|
207
|
-
"@types/forge-viewer": "^7.99.1",
|
|
208
|
-
"@types/jest": "^29.5.14",
|
|
209
|
-
"@types/js-cookie": "^3.0.6",
|
|
210
|
-
"@types/lodash.debounce": "^4.0.9",
|
|
211
|
-
"@types/node": "^20.19.39",
|
|
212
|
-
"@types/react": "^18.3.25",
|
|
213
|
-
"@types/react-color": "^3.0.13",
|
|
214
|
-
"@types/react-dom": "^18.3.7",
|
|
215
|
-
"@types/react-input-mask": "^3.0.6",
|
|
216
|
-
"@types/sanitize-html": "^2.11.0",
|
|
217
|
-
"@types/stylis": "^4.2.7",
|
|
218
|
-
"@types/tabulator-tables": "^6.2.3",
|
|
219
|
-
"@types/three": "^0.160.0",
|
|
220
|
-
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
221
|
-
"autoprefixer": "^10.4.21",
|
|
222
|
-
"axios": "^0.27.2",
|
|
223
|
-
"babel-plugin-named-exports-order": "^0.0.2",
|
|
224
|
-
"baseline-browser-mapping": "^1.0.0",
|
|
225
|
-
"bim-fragment": "^1.2.6",
|
|
226
|
-
"bootstrap": "^5.3.8",
|
|
227
|
-
"buffer": "^6.0.3",
|
|
228
|
-
"cpy-cli": "^6.0.0",
|
|
229
|
-
"cross-env": "^10.1.0",
|
|
230
|
-
"css-pro-layout": "^1.1.0",
|
|
231
|
-
"dayjs": "^1.11.18",
|
|
232
|
-
"dayjs-plugin-utc": "^0.1.2",
|
|
233
|
-
"esbuild-sass-plugin": "^3.3.1",
|
|
234
|
-
"i18next": "^25.8.4",
|
|
235
|
-
"i18next-http-backend": "^2.1.0",
|
|
236
|
-
"jest": "^29.7.0",
|
|
237
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
238
|
-
"js-cookie": "^3.0.5",
|
|
239
|
-
"postcss": "^8.5.6",
|
|
240
|
-
"postcss-cli": "^11.0.1",
|
|
241
|
-
"postcss-import": "^15.1.0",
|
|
242
|
-
"postcss-nesting": "^12.0.2",
|
|
243
|
-
"react": "^18.3.1",
|
|
244
|
-
"react-app-rewired": "^2.2.1",
|
|
245
|
-
"react-color": "^2.19.3",
|
|
246
|
-
"react-dnd": "^16.0.1",
|
|
247
|
-
"react-dnd-html5-backend": "^16.0.1",
|
|
248
|
-
"react-dnd-scrolling": "^1.3.3",
|
|
249
|
-
"react-dnd-touch-backend": "^16.0.1",
|
|
250
|
-
"react-dom": "^18.3.1",
|
|
251
|
-
"react-i18next": "^16.5.4",
|
|
252
|
-
"react-icons": "^5.5.0",
|
|
253
|
-
"react-input-mask": "^2.0.4",
|
|
254
|
-
"react-number-format": "^5.3.4",
|
|
255
|
-
"react-pdf": "^10.3.0",
|
|
256
|
-
"react-pro-sidebar": "^1.1.0",
|
|
257
|
-
"react-redux": "^8.0.2",
|
|
258
|
-
"react-responsive": "^9.0.0-beta.10",
|
|
259
|
-
"react-router-dom": "^6.4.1",
|
|
260
|
-
"react-scripts": "^5.0.1",
|
|
261
|
-
"react-tabulator": "^0.21.0",
|
|
262
|
-
"react-toastify": "^9.0.6",
|
|
263
|
-
"sass": "^1.90.0",
|
|
264
|
-
"sass-loader": "^12.3.0",
|
|
265
|
-
"serve": "^14.2.5",
|
|
266
|
-
"source-map-explorer": "^2.5.3",
|
|
267
|
-
"storybook-addon-designs": "^6.3.1",
|
|
268
|
-
"terser-webpack-plugin": "^5.3.10",
|
|
269
|
-
"ts-jest": "^29.2.5",
|
|
270
|
-
"ts-loader": "^9.4.2",
|
|
271
|
-
"tsdx": "^0.14.1",
|
|
272
|
-
"tslib": "^2.4.1",
|
|
273
|
-
"tsup": "^8.5.0",
|
|
274
|
-
"use-debounce": "^9.0.3",
|
|
275
|
-
"usehooks-ts": "^2.9.1",
|
|
276
|
-
"web-vitals": "^2.1.4",
|
|
277
|
-
"webpack": "^5.74.0",
|
|
278
|
-
"webpack-bundle-analyzer": "^4.10.2",
|
|
279
|
-
"xlsx": "^0.18.5"
|
|
280
|
-
},
|
|
281
|
-
"eslintConfig": {
|
|
282
|
-
"extends": [
|
|
283
|
-
"react-app",
|
|
284
|
-
"react-app/jest"
|
|
285
|
-
],
|
|
286
|
-
"overrides": [
|
|
287
|
-
{
|
|
288
|
-
"files": [
|
|
289
|
-
"**/*.stories.*"
|
|
290
|
-
],
|
|
291
|
-
"rules": {
|
|
292
|
-
"import/no-anonymous-default-export": "off"
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"files": [
|
|
297
|
-
"**/*.stories.*"
|
|
298
|
-
],
|
|
299
|
-
"rules": {
|
|
300
|
-
"import/no-anonymous-default-export": "off"
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
"files": [
|
|
305
|
-
"**/*.stories.*"
|
|
306
|
-
],
|
|
307
|
-
"rules": {
|
|
308
|
-
"import/no-anonymous-default-export": "off"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
]
|
|
312
|
-
},
|
|
313
|
-
"browserslist": {
|
|
314
|
-
"production": [
|
|
315
|
-
">0.2%",
|
|
316
|
-
"not dead",
|
|
317
|
-
"not op_mini all"
|
|
318
|
-
],
|
|
319
|
-
"development": [
|
|
320
|
-
"last 1 chrome version",
|
|
321
|
-
"last 1 firefox version",
|
|
322
|
-
"last 1 safari version"
|
|
323
|
-
]
|
|
324
|
-
}
|
|
325
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@buildocsdev/sdk",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"registry": "https://registry.npmjs.org/"
|
|
6
|
+
},
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./form": {
|
|
15
|
+
"types": "./dist/form.d.ts",
|
|
16
|
+
"import": "./dist/form.js"
|
|
17
|
+
},
|
|
18
|
+
"./formeditor": {
|
|
19
|
+
"types": "./dist/formeditor.d.ts",
|
|
20
|
+
"import": "./dist/formeditor.js"
|
|
21
|
+
},
|
|
22
|
+
"./index.css": {
|
|
23
|
+
"types": "./dist/style.d.ts",
|
|
24
|
+
"default": "./dist/index.css"
|
|
25
|
+
},
|
|
26
|
+
"./form.css": {
|
|
27
|
+
"types": "./dist/style.d.ts",
|
|
28
|
+
"default": "./dist/ui/css/form.css"
|
|
29
|
+
},
|
|
30
|
+
"./formeditor.css": {
|
|
31
|
+
"types": "./dist/style.d.ts",
|
|
32
|
+
"default": "./dist/ui/css/formeditor.css"
|
|
33
|
+
},
|
|
34
|
+
"./formcanvas.css": {
|
|
35
|
+
"types": "./dist/style.d.ts",
|
|
36
|
+
"default": "./dist/ui/css/formcanvas.css"
|
|
37
|
+
},
|
|
38
|
+
"./office.css": {
|
|
39
|
+
"types": "./dist/style.d.ts",
|
|
40
|
+
"default": "./dist/ui/css/office.css"
|
|
41
|
+
},
|
|
42
|
+
"./tabulator.css": {
|
|
43
|
+
"types": "./dist/style.d.ts",
|
|
44
|
+
"default": "./dist/ui/css/tabulator.css"
|
|
45
|
+
},
|
|
46
|
+
"./providers/theme.css": {
|
|
47
|
+
"types": "./dist/style.d.ts",
|
|
48
|
+
"default": "./dist/providers/theme.css"
|
|
49
|
+
},
|
|
50
|
+
"./img/*": "./dist/ui/img/*"
|
|
51
|
+
},
|
|
52
|
+
"files": [
|
|
53
|
+
"dist",
|
|
54
|
+
"img"
|
|
55
|
+
],
|
|
56
|
+
"scripts": {
|
|
57
|
+
"start": "set PORT=3001&&craco start",
|
|
58
|
+
"start:analyze": "set PORT=3001&&set ANALYZE=true&&craco start",
|
|
59
|
+
"dev": "npm run build:styles:dev && cross-env NODE_ENV=development tsup --watch --config tsup.config.ts --onSuccess=\"serve dist-dev -l 3000\"",
|
|
60
|
+
"dev:link": "npm run build:styles && cross-env NODE_ENV=production tsup --watch --no-dts --no-clean",
|
|
61
|
+
"build:styles:dev": "sass --load-path=node_modules --load-path=src --quiet-deps --silence-deprecation=import --silence-deprecation=global-builtin --silence-deprecation=color-functions src:dist-dev --no-source-map --style=expanded && postcss \"dist-dev/**/*.css\" --config postcss.config.mjs --replace",
|
|
62
|
+
"build:styles": "sass --load-path=node_modules --load-path=src --quiet-deps --silence-deprecation=import --silence-deprecation=global-builtin --silence-deprecation=color-functions src:dist --no-source-map --style=compressed && postcss \"dist/**/*.css\" --config postcss.config.mjs --replace && npm run build:assets",
|
|
63
|
+
"create:css-dts": "node -e \"require('fs').writeFileSync('dist/style.d.ts', 'export {};\\n')\"",
|
|
64
|
+
"build": "cross-env NODE_ENV=production tsup && npm run fix:dts && npm run create:css-dts && npm run build:styles",
|
|
65
|
+
"build:local": "cross-env NODE_ENV=production tsup --no-dts && npm run build:styles",
|
|
66
|
+
"build:cra": "craco build",
|
|
67
|
+
"build:analyze": "set ANALYZE=true&&craco build",
|
|
68
|
+
"analyze": "set ANALYZE=true&&craco build --stats",
|
|
69
|
+
"build:assets": "cpy \"src/ui/img/**/*\" dist/ui/img/ && cpy \"src/ui/img/**/*\" img/",
|
|
70
|
+
"prepare": "npm run build",
|
|
71
|
+
"build:watch": "tsup --watch",
|
|
72
|
+
"clean": "rimraf dist",
|
|
73
|
+
"build:types": "tsc -p tsconfig.build.json",
|
|
74
|
+
"analyze:tsup": "tsup --analyze",
|
|
75
|
+
"fix:dts": "node -e \"const fs=require('fs'); fs.readdirSync('dist').filter(f=>f.endsWith('.d.mts')).forEach(f=>fs.renameSync('dist/'+f, 'dist/'+f.replace('.d.mts','.d.ts')))\"",
|
|
76
|
+
"test": "jest",
|
|
77
|
+
"test:watch": "jest --watch",
|
|
78
|
+
"test:coverage": "jest --coverage"
|
|
79
|
+
},
|
|
80
|
+
"sideEffects": [
|
|
81
|
+
"*.css",
|
|
82
|
+
"*.scss",
|
|
83
|
+
"*.sass"
|
|
84
|
+
],
|
|
85
|
+
"overrides": {
|
|
86
|
+
"react-tag-autocomplete": "^7.3.0",
|
|
87
|
+
"jest-watch-typeahead": "^2.2.2",
|
|
88
|
+
"react-pro-sidebar": {
|
|
89
|
+
"react-slidedown": "^2.4.7"
|
|
90
|
+
},
|
|
91
|
+
"@storybook/addon-actions": {
|
|
92
|
+
"react-inspector": "^6.0.0"
|
|
93
|
+
},
|
|
94
|
+
"@storybook/addon-docs": {
|
|
95
|
+
"@mdx-js/react": "^2.0.0"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"keywords": [
|
|
99
|
+
"backend-driven-ui",
|
|
100
|
+
"dynamic-ui",
|
|
101
|
+
"ui-runtime",
|
|
102
|
+
"schema-driven-ui",
|
|
103
|
+
"enterprise-ui",
|
|
104
|
+
"workflow-engine",
|
|
105
|
+
"react-components"
|
|
106
|
+
],
|
|
107
|
+
"author": "Aleksandr Russakov",
|
|
108
|
+
"license": "Apache 2.0",
|
|
109
|
+
"description": "Buildocs SDK is a backend-driven UI runtime for rendering dynamic interfaces, workflows, tables, and modals inside React applications.",
|
|
110
|
+
"repository": {
|
|
111
|
+
"type": "git",
|
|
112
|
+
"url": "https://github.com/Buildocsdev/sdk.git"
|
|
113
|
+
},
|
|
114
|
+
"homepage": "https://docs.buildocs.com/docs/integration/installation",
|
|
115
|
+
"bugs": {
|
|
116
|
+
"url": "https://github.com/Buildocsdev/sdk/issues"
|
|
117
|
+
},
|
|
118
|
+
"engines": {
|
|
119
|
+
"node": ">=18.0.0",
|
|
120
|
+
"npm": ">=9.0.0"
|
|
121
|
+
},
|
|
122
|
+
"dependencies": {},
|
|
123
|
+
"peerDependencies": {
|
|
124
|
+
"@lagarsoft/forge-viewer-react": "^0.3.5",
|
|
125
|
+
"@emotion/react": "^11",
|
|
126
|
+
"@emotion/styled": "^11",
|
|
127
|
+
"@mui/icons-material": "^5",
|
|
128
|
+
"@mui/material": "^5",
|
|
129
|
+
"@mui/system": "^5",
|
|
130
|
+
"@mui/x-tree-view": "^7",
|
|
131
|
+
"@react-spring/web": "^9.7.4",
|
|
132
|
+
"@reduxjs/toolkit": "^1.8.3",
|
|
133
|
+
"@types/pdfjs-dist": "^2.10.378",
|
|
134
|
+
"axios": ">=0.27.2",
|
|
135
|
+
"bootstrap": "^5.3.8",
|
|
136
|
+
"i18next-http-backend": "^2.1.0",
|
|
137
|
+
"react": ">=18 <19",
|
|
138
|
+
"react-color": "^2.19.3",
|
|
139
|
+
"react-dnd": "^16.0.1",
|
|
140
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
141
|
+
"react-dnd-scrolling": "^1.3.3",
|
|
142
|
+
"react-dnd-touch-backend": "^16.0.1",
|
|
143
|
+
"react-dom": ">=18 <19",
|
|
144
|
+
"react-hook-form": "^7.66.1",
|
|
145
|
+
"react-player": "^2.16.0",
|
|
146
|
+
"react-icons": "^5.5.0",
|
|
147
|
+
"react-pdf": "^10.3.0",
|
|
148
|
+
"react-redux": "^8.0.2",
|
|
149
|
+
"react-router-dom": "^6.4.1",
|
|
150
|
+
"react-tabulator": "^0.21.0",
|
|
151
|
+
"xlsx": "^0.18.5"
|
|
152
|
+
},
|
|
153
|
+
"peerDependenciesMeta": {
|
|
154
|
+
"@lagarsoft/forge-viewer-react": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"react-color": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"react-dnd": {
|
|
161
|
+
"optional": true
|
|
162
|
+
},
|
|
163
|
+
"react-dnd-html5-backend": {
|
|
164
|
+
"optional": true
|
|
165
|
+
},
|
|
166
|
+
"react-dnd-scrolling": {
|
|
167
|
+
"optional": true
|
|
168
|
+
},
|
|
169
|
+
"react-dnd-touch-backend": {
|
|
170
|
+
"optional": true
|
|
171
|
+
},
|
|
172
|
+
"react-player": {
|
|
173
|
+
"optional": true
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"devDependencies": {
|
|
177
|
+
"@lagarsoft/forge-viewer-react": "^0.3.5",
|
|
178
|
+
"buildocslib": "^0.2.179",
|
|
179
|
+
"immutability-helper": "^3.1.1",
|
|
180
|
+
"prop-types": "^15.8.1",
|
|
181
|
+
"react-hook-form": "^7.66.1",
|
|
182
|
+
"react-indiana-drag-scroll": "^2.2.0",
|
|
183
|
+
"react-player": "^2.16.0",
|
|
184
|
+
"react-select": "^5.7.0",
|
|
185
|
+
"react-tabs": "^6.0.0",
|
|
186
|
+
"react-use-draggable-scroll": "^0.4.7",
|
|
187
|
+
"stylis-plugin-rtl": "^2.1.1",
|
|
188
|
+
"typescript": "^4.9.5",
|
|
189
|
+
"@craco/craco": "^7.1.0",
|
|
190
|
+
"@emotion/react": "^11.13.3",
|
|
191
|
+
"@emotion/styled": "^11.13.0",
|
|
192
|
+
"@fullhuman/postcss-purgecss": "^7.0.2",
|
|
193
|
+
"@headlessui/react": "^1.7.3",
|
|
194
|
+
"@mui/icons-material": "^5.16.7",
|
|
195
|
+
"@mui/lab": "^5.0.0-alpha.173",
|
|
196
|
+
"@mui/material": "^5.16.7",
|
|
197
|
+
"@mui/styled-engine-sc": "^5.8.0",
|
|
198
|
+
"@mui/system": "^5.16.7",
|
|
199
|
+
"@mui/x-date-pickers": "^6.20.2",
|
|
200
|
+
"@mui/x-tree-view": "^7.13.0",
|
|
201
|
+
"@react-spring/web": "^9.7.4",
|
|
202
|
+
"@reduxjs/toolkit": "^1.8.3",
|
|
203
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
204
|
+
"@testing-library/react": "^13.3.0",
|
|
205
|
+
"@testing-library/user-event": "^13.5.0",
|
|
206
|
+
"@types/feather-icons": "^4.7.0",
|
|
207
|
+
"@types/forge-viewer": "^7.99.1",
|
|
208
|
+
"@types/jest": "^29.5.14",
|
|
209
|
+
"@types/js-cookie": "^3.0.6",
|
|
210
|
+
"@types/lodash.debounce": "^4.0.9",
|
|
211
|
+
"@types/node": "^20.19.39",
|
|
212
|
+
"@types/react": "^18.3.25",
|
|
213
|
+
"@types/react-color": "^3.0.13",
|
|
214
|
+
"@types/react-dom": "^18.3.7",
|
|
215
|
+
"@types/react-input-mask": "^3.0.6",
|
|
216
|
+
"@types/sanitize-html": "^2.11.0",
|
|
217
|
+
"@types/stylis": "^4.2.7",
|
|
218
|
+
"@types/tabulator-tables": "^6.2.3",
|
|
219
|
+
"@types/three": "^0.160.0",
|
|
220
|
+
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
221
|
+
"autoprefixer": "^10.4.21",
|
|
222
|
+
"axios": "^0.27.2",
|
|
223
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
224
|
+
"baseline-browser-mapping": "^1.0.0",
|
|
225
|
+
"bim-fragment": "^1.2.6",
|
|
226
|
+
"bootstrap": "^5.3.8",
|
|
227
|
+
"buffer": "^6.0.3",
|
|
228
|
+
"cpy-cli": "^6.0.0",
|
|
229
|
+
"cross-env": "^10.1.0",
|
|
230
|
+
"css-pro-layout": "^1.1.0",
|
|
231
|
+
"dayjs": "^1.11.18",
|
|
232
|
+
"dayjs-plugin-utc": "^0.1.2",
|
|
233
|
+
"esbuild-sass-plugin": "^3.3.1",
|
|
234
|
+
"i18next": "^25.8.4",
|
|
235
|
+
"i18next-http-backend": "^2.1.0",
|
|
236
|
+
"jest": "^29.7.0",
|
|
237
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
238
|
+
"js-cookie": "^3.0.5",
|
|
239
|
+
"postcss": "^8.5.6",
|
|
240
|
+
"postcss-cli": "^11.0.1",
|
|
241
|
+
"postcss-import": "^15.1.0",
|
|
242
|
+
"postcss-nesting": "^12.0.2",
|
|
243
|
+
"react": "^18.3.1",
|
|
244
|
+
"react-app-rewired": "^2.2.1",
|
|
245
|
+
"react-color": "^2.19.3",
|
|
246
|
+
"react-dnd": "^16.0.1",
|
|
247
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
248
|
+
"react-dnd-scrolling": "^1.3.3",
|
|
249
|
+
"react-dnd-touch-backend": "^16.0.1",
|
|
250
|
+
"react-dom": "^18.3.1",
|
|
251
|
+
"react-i18next": "^16.5.4",
|
|
252
|
+
"react-icons": "^5.5.0",
|
|
253
|
+
"react-input-mask": "^2.0.4",
|
|
254
|
+
"react-number-format": "^5.3.4",
|
|
255
|
+
"react-pdf": "^10.3.0",
|
|
256
|
+
"react-pro-sidebar": "^1.1.0",
|
|
257
|
+
"react-redux": "^8.0.2",
|
|
258
|
+
"react-responsive": "^9.0.0-beta.10",
|
|
259
|
+
"react-router-dom": "^6.4.1",
|
|
260
|
+
"react-scripts": "^5.0.1",
|
|
261
|
+
"react-tabulator": "^0.21.0",
|
|
262
|
+
"react-toastify": "^9.0.6",
|
|
263
|
+
"sass": "^1.90.0",
|
|
264
|
+
"sass-loader": "^12.3.0",
|
|
265
|
+
"serve": "^14.2.5",
|
|
266
|
+
"source-map-explorer": "^2.5.3",
|
|
267
|
+
"storybook-addon-designs": "^6.3.1",
|
|
268
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
269
|
+
"ts-jest": "^29.2.5",
|
|
270
|
+
"ts-loader": "^9.4.2",
|
|
271
|
+
"tsdx": "^0.14.1",
|
|
272
|
+
"tslib": "^2.4.1",
|
|
273
|
+
"tsup": "^8.5.0",
|
|
274
|
+
"use-debounce": "^9.0.3",
|
|
275
|
+
"usehooks-ts": "^2.9.1",
|
|
276
|
+
"web-vitals": "^2.1.4",
|
|
277
|
+
"webpack": "^5.74.0",
|
|
278
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
279
|
+
"xlsx": "^0.18.5"
|
|
280
|
+
},
|
|
281
|
+
"eslintConfig": {
|
|
282
|
+
"extends": [
|
|
283
|
+
"react-app",
|
|
284
|
+
"react-app/jest"
|
|
285
|
+
],
|
|
286
|
+
"overrides": [
|
|
287
|
+
{
|
|
288
|
+
"files": [
|
|
289
|
+
"**/*.stories.*"
|
|
290
|
+
],
|
|
291
|
+
"rules": {
|
|
292
|
+
"import/no-anonymous-default-export": "off"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"files": [
|
|
297
|
+
"**/*.stories.*"
|
|
298
|
+
],
|
|
299
|
+
"rules": {
|
|
300
|
+
"import/no-anonymous-default-export": "off"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"files": [
|
|
305
|
+
"**/*.stories.*"
|
|
306
|
+
],
|
|
307
|
+
"rules": {
|
|
308
|
+
"import/no-anonymous-default-export": "off"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
"browserslist": {
|
|
314
|
+
"production": [
|
|
315
|
+
">0.2%",
|
|
316
|
+
"not dead",
|
|
317
|
+
"not op_mini all"
|
|
318
|
+
],
|
|
319
|
+
"development": [
|
|
320
|
+
"last 1 chrome version",
|
|
321
|
+
"last 1 firefox version",
|
|
322
|
+
"last 1 safari version"
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
}
|