@imgly/plugin-qr-code-web 0.1.0-rc.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/dist/qr.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ interface QrCode {
2
+ svg: string;
3
+ path: string;
4
+ size: number;
5
+ }
6
+ export declare function generateQr(content: string, color: string): QrCode;
7
+ export {};
@@ -0,0 +1,4 @@
1
+ export type Location = 'canvasMenu';
2
+ export interface UserInterfaceConfiguration {
3
+ locations?: Location | Location[];
4
+ }
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@imgly/plugin-qr-code-web",
3
+ "version": "0.1.0-rc.0",
4
+ "description": "QR code generation plugin for the CE.SDK editor",
5
+ "keywords": [
6
+ "CE.SDK",
7
+ "plugin",
8
+ "qr"
9
+ ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/imgly/plugin-qr-code-web.git"
13
+ },
14
+ "license": "SEE LICENSE IN LICENSE.md",
15
+ "author": {
16
+ "name": "IMG.LY GmbH",
17
+ "email": "support@img.ly",
18
+ "url": "https://img.ly"
19
+ },
20
+ "bugs": {
21
+ "email": "support@img.ly"
22
+ },
23
+ "source": "./src/index.ts",
24
+ "module": "./dist/index.mjs",
25
+ "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/index.mjs",
29
+ "types": "./dist/index.d.ts"
30
+ }
31
+ },
32
+ "homepage": "https://img.ly/products/creative-sdk",
33
+ "files": ["LICENSE.md", "README.md", "CHANGELOG.md", "dist/", "bin/"],
34
+ "scripts": {
35
+ "start": "npm run watch",
36
+ "clean": "npx rimraf dist",
37
+ "purge": "npx rimraf node_modules",
38
+ "build": "npm run clean && node scripts/build.mjs",
39
+ "dev": "node scripts/watch.mjs",
40
+ "dev:wait": "npx wait-on ./dist/index.mjs ./dist/index.d.ts --timeout 30000",
41
+ "dev:types": "tsc --emitDeclarationOnly --watch --preserveWatchOutput",
42
+ "publish:latest": "npm run build && npm publish --tag latest --access public",
43
+ "publish:next": "npm run build && npm publish --tag next --access public",
44
+ "check:all": "concurrently -n lint,type,pretty \"yarn check:lint\" \"yarn check:types\" \"yarn check:pretty\"",
45
+ "check:lint": "eslint --max-warnings 0 './src/**/*.{ts,tsx}'",
46
+ "check:pretty": "prettier --list-different './src/**/*.{ts,tsx}'",
47
+ "check:types": "tsc --noEmit",
48
+ "types:create": "tsc --emitDeclarationOnly"
49
+ },
50
+ "devDependencies": {
51
+ "@types/ndarray": "^1.0.14",
52
+ "chalk": "^5.3.0",
53
+ "concurrently": "^8.2.2",
54
+ "esbuild": "^0.19.11",
55
+ "eslint": "^8.51.0",
56
+ "typescript": "^5.3.3",
57
+ "lodash-es": "^4.17.21",
58
+ "@imgly/plugin-utils": "*"
59
+ },
60
+ "peerDependencies": {
61
+ "@cesdk/cesdk-js": "1.37.0-rc.1"
62
+ },
63
+ "dependencies": {
64
+ }
65
+ }