UNPKG

@cocreate/clone

Version:

Clone an html element by #id, identify targeted elements using clone_id attribute. Capable of creating nested & complex cloning logic for kanbans, tasklists etc. Easy configuration using HTML5 attributes and/or JavaScript API.

67 lines (66 loc) 2.26 kB
{ "name": "@cocreate/clone", "version": "1.11.3", "description": "Clone an html element by #id, identify targeted elements using clone_id attribute. Capable of creating nested & complex cloning logic for kanbans, tasklists etc. Easy configuration using HTML5 attributes and/or JavaScript API.", "keywords": [ "clone-elements", "element-cloning", "dom-clone", "cocreate", "no-code-framework", "cocreatejs", "cocreatejs-component", "cocreate-framework", "no-code", "low-code", "collaborative-framework", "realtime", "realtime-framework", "collaboration", "shared-editing", "html5-framework", "javascript-framework" ], "publishConfig": { "access": "public" }, "scripts": { "start": "npx webpack --config webpack.config.js", "build": "npx webpack --mode=production --config webpack.config.js", "dev": "npx webpack --config webpack.config.js --watch", "postinstall": "node -e \"const { execSync } = require('child_process'); try { execSync('coc --version', { stdio: 'ignore' }); } catch (error) { try { execSync('npm install -g @cocreate/cli', { stdio: 'inherit' }); console.log('Installed \"@cocreate/cli\" globally.'); } catch (error) { console.error('Failed to install \"@cocreate/cli\" globally:', error); } }\"" }, "repository": { "type": "git", "url": "git+https://github.com/CoCreate-app/CoCreate-clone.git" }, "author": "CoCreate LLC", "license": "MIT", "bugs": { "url": "https://github.com/CoCreate-app/CoCreate-clone/issues" }, "homepage": "https://cocreate.app/docs/clone", "funding": { "type": "GitHub Sponsors ❤", "url": "https://github.com/sponsors/CoCreate-app" }, "main": "./src/index.js", "devDependencies": { "css-loader": "^5.1.3", "esbuild": "^0.25.2", "esbuild-loader": "^4.3.0", "html-webpack-plugin": "^4.5.0", "mini-css-extract-plugin": "^1.5.0", "style-loader": "^2.0.0", "terser-webpack-plugin": "^5.1.1", "webpack": "^5.24.4", "webpack-cli": "^4.5.0", "webpack-log": "^3.0.1" }, "dependencies": { "@cocreate/actions": "^1.21.1", "@cocreate/observer": "^1.18.1", "@cocreate/render": "^1.45.2", "@cocreate/uuid": "^1.12.1" } }