UNPKG

@cocreate/conditional-logic

Version:

Simple JS component show & hide elements conditionally with inputs,checkbox,radio,btn etc.Great for creating tabs, accordions, dynamic forms, etc. Easy Configuration using HTML5 data attributes and/or JavaScript API.

66 lines (65 loc) 2.29 kB
{ "name": "@cocreate/conditional-logic", "version": "1.12.0", "description": "Simple JS component show & hide elements conditionally with inputs,checkbox,radio,btn etc.Great for creating tabs, accordions, dynamic forms, etc. Easy Configuration using HTML5 data attributes and/or JavaScript API.", "keywords": [ "conditional-logic", "cocreate", "low-code-framework", "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-conditional-logic.git" }, "author": "CoCreate LLC", "license": "MIT", "bugs": { "url": "https://github.com/CoCreate-app/CoCreate-conditional-logic/issues" }, "homepage": "https://cocreate.app/docs/conditional-logic", "funding": { "type": "GitHub Sponsors ❤", "url": "https://github.com/sponsors/CoCreate-app" }, "main": "./src/index.js", "devDependencies": { "@babel/core": "^7.9.6", "@babel/preset-env": "^7.9.6", "babel-loader": "^8.1.0", "clean-webpack-plugin": "^3.0.0", "file-loader": "^6.2.0", "mini-css-extract-plugin": "^1.5.0", "style-loader": "^3.3.1", "terser-webpack-plugin": "^5.1.1", "webpack": "^5.24.4", "webpack-cli": "^4.5.0", "webpack-log": "^3.0.1" }, "dependencies": { "@cocreate/actions": "^1.18.2", "@cocreate/observer": "^1.16.1", "@cocreate/utils": "^1.33.7" } }