vobi_document 1.0.0
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/LICENSE +21 -0
- package/README.md +66 -0
- package/dist/chunk-SY4NYXKN.js +3 -0
- package/dist/chunk-SY4NYXKN.js.map +1 -0
- package/dist/index.cjs +3820 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +7967 -0
- package/dist/index.d.ts +7967 -0
- package/dist/index.js +3719 -0
- package/dist/index.js.map +1 -0
- package/dist/puck.cjs +32 -0
- package/dist/puck.cjs.map +1 -0
- package/dist/puck.d.cts +1 -0
- package/dist/puck.d.ts +1 -0
- package/dist/puck.js +3 -0
- package/dist/puck.js.map +1 -0
- package/package.json +100 -0
package/dist/puck.cjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@puckeditor/core');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "ActionBar", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return core.ActionBar; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "Puck", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return core.Puck; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "Render", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return core.Render; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "registerOverlayPortal", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return core.registerOverlayPortal; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "useGetPuck", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return core.useGetPuck; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "usePuck", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return core.usePuck; }
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=puck.cjs.map
|
|
32
|
+
//# sourceMappingURL=puck.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"puck.cjs","sourcesContent":[]}
|
package/dist/puck.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActionBar, ComponentConfig, ComponentData, Config, Data, IframeConfig, Metadata, Puck, Render, registerOverlayPortal, useGetPuck, usePuck } from '@puckeditor/core';
|
package/dist/puck.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ActionBar, ComponentConfig, ComponentData, Config, Data, IframeConfig, Metadata, Puck, Render, registerOverlayPortal, useGetPuck, usePuck } from '@puckeditor/core';
|
package/dist/puck.js
ADDED
package/dist/puck.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"puck.js"}
|
package/package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vobi_document",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"registry": "https://registry.npmjs.org/"
|
|
6
|
+
},
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/home-hero-tech/document-generator.git"
|
|
10
|
+
},
|
|
11
|
+
"description": "Document generator library (TypeScript, dual ESM/CJS, Zod, styled-components).",
|
|
12
|
+
"license": "UNLICENSED",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "./dist/index.cjs",
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./puck": {
|
|
24
|
+
"types": "./dist/puck.d.ts",
|
|
25
|
+
"import": "./dist/puck.js",
|
|
26
|
+
"require": "./dist/puck.cjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist"
|
|
31
|
+
],
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=20"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"react-colorful": "^5.7.0",
|
|
38
|
+
"zod": "^3.24.1"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"@puckeditor/core": "^0.21.3",
|
|
42
|
+
"react": "^18.2.0",
|
|
43
|
+
"react-dom": "^18.2.0",
|
|
44
|
+
"styled-components": "^5.3.5"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
48
|
+
"@eslint/js": "^9.18.0",
|
|
49
|
+
"@puckeditor/core": "^0.21.3",
|
|
50
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
51
|
+
"@testing-library/react": "^16.1.0",
|
|
52
|
+
"@types/jest": "^29.5.14",
|
|
53
|
+
"@types/react": "^18.3.18",
|
|
54
|
+
"@types/react-dom": "^18.3.5",
|
|
55
|
+
"@types/styled-components": "^5.1.34",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
|
57
|
+
"@typescript-eslint/parser": "^8.20.0",
|
|
58
|
+
"eslint": "^9.18.0",
|
|
59
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
60
|
+
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
61
|
+
"eslint-config-prettier": "^9.1.0",
|
|
62
|
+
"eslint-plugin-import": "^2.31.0",
|
|
63
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
64
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
65
|
+
"eslint-plugin-react": "^7.37.4",
|
|
66
|
+
"eslint-plugin-react-hooks": "^5.1.0",
|
|
67
|
+
"globals": "^15.14.0",
|
|
68
|
+
"jest": "^29.7.0",
|
|
69
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
70
|
+
"pagedjs": "^0.4.3",
|
|
71
|
+
"prettier": "^3.4.2",
|
|
72
|
+
"react": "^18.3.1",
|
|
73
|
+
"react-dom": "^18.3.1",
|
|
74
|
+
"styled-components": "^5.3.11",
|
|
75
|
+
"ts-jest": "^29.2.5",
|
|
76
|
+
"tsup": "^8.3.5",
|
|
77
|
+
"typescript": "^5.7.3",
|
|
78
|
+
"yalc": "^1.0.0-pre.53"
|
|
79
|
+
},
|
|
80
|
+
"scripts": {
|
|
81
|
+
"embed:pagedjs": "node scripts/embed-pagedjs.mjs",
|
|
82
|
+
"prebuild": "pnpm embed:pagedjs",
|
|
83
|
+
"build": "tsup",
|
|
84
|
+
"dev": "tsup --watch",
|
|
85
|
+
"pretest": "pnpm embed:pagedjs",
|
|
86
|
+
"test": "jest",
|
|
87
|
+
"test:watch": "jest --watch",
|
|
88
|
+
"test:coverage": "jest --coverage",
|
|
89
|
+
"pretypecheck": "pnpm embed:pagedjs",
|
|
90
|
+
"typecheck": "tsc --noEmit",
|
|
91
|
+
"lint": "eslint .",
|
|
92
|
+
"lint:fix": "eslint . --fix",
|
|
93
|
+
"format": "prettier --write .",
|
|
94
|
+
"link:setup": "bash scripts/yalc-mgr.sh setup",
|
|
95
|
+
"link:update": "bash scripts/yalc-mgr.sh update",
|
|
96
|
+
"link:remove": "bash scripts/yalc-mgr.sh remove",
|
|
97
|
+
"link:status": "bash scripts/yalc-mgr.sh status",
|
|
98
|
+
"deploy:local": "bash scripts/yalc-mgr.sh update"
|
|
99
|
+
}
|
|
100
|
+
}
|