UNPKG

tripetto

Version:

Visual form builder to rapidly create and edit smart flowing forms and surveys on a self-organizing drawing board.

207 lines (206 loc) 10.6 kB
{ "name": "tripetto", "title": "Tripetto Builder", "version": "4.5.1", "description": "Visual form builder to rapidly create and edit smart flowing forms and surveys on a self-organizing drawing board.", "license": "CC-BY-NC-ND-4.0", "private": false, "homepage": "https://tripetto.com", "keywords": [ "tripetto", "builder", "form kit", "form builder", "form", "forms", "survey", "surveys" ], "author": { "name": "Mark van den Brink", "email": "mark@vandenbr.ink", "url": "http://mark.vandenbr.ink" }, "repository": { "type": "git", "url": "https://gitlab.com/tripetto/builder.git" }, "bugs": { "url": "https://gitlab.com/tripetto/builder/issues" }, "main": "./runtime/tripetto-es5.js", "browser": "./runtime/tripetto-es5.js", "module": "./runtime/tripetto-esm.mjs", "unpkg": "./runtime/tripetto-umd.js", "jsdelivr": "./runtime/tripetto-umd.js", "types": "./types/tripetto.d.ts", "exports": { ".": { "import": "./runtime/tripetto-esm.mjs", "require": "./runtime/tripetto-es5.js", "umd": "./runtime/tripetto-umd.js", "script": "./runtime/tripetto-umd.js", "types": "./types/tripetto.d.ts", "default": "./runtime/tripetto-es5.js" }, "./es5": { "types": "./types/tripetto.d.ts", "default": "./runtime/tripetto-es5.js" }, "./translations/*": "./translations/*.json", "./locales/*": "./locales/*.json", "./package.json": "./package.json" }, "bin": { "tripetto": "./bin/tripetto-cli.js" }, "scripts": { "start": "node ./runtime/tripetto-cli.js", "update": "npm-check -su", "format": "prettier --write \"src/**/*.ts\" \"tasks/**/*.js\" \"tests/**/*.*js\" \"*.json\" \"!package-lock.json\" \"*.yml\" \"webpack.config.js\"", "lint": "tslint -c ./tslint.json ./src/**/*.ts", "stats": "ts-stats", "skypack": "package-check", "pot": "node ./tasks/l10n/sources.js && xgettext -f ./translations/sources --language=\"JavaScript\" --keyword=\"npgettext:1c,2,3\" --keyword=\"dnpgettext:2c,3,4\" --keyword=\"_n:1,2\" --from-code=\"UTF-8\" --no-wrap --sort-output --force-po --no-location --add-comments=\"TRANSLATOR: \" --output=\"./translations/template.pot\" && shx rm -rf ./translations/sources && node ./tasks/l10n/pot.js", "test": "concurrently -n \"cli,webpack\" -c \"blue.bold,green\" \"nodemon ./runtime/tripetto-cli.js -- ./examples/demo.json --silent --verbose --preview https://tripetto.com\" \"webpack --mode development --watch\"", "make:clean": "shx rm -rf *.tgz ./examples/*.js ./locales/* ./runtime/* ./translations/*.json ./translations/*.pot ./types/* ./reports/*", "make:locales": "shx rm -rf ./locales/ && shx mkdir ./locales/ && shx cp ./node_modules/@marblecore/l10n-locales/dist/*.json ./locales/ && shx rm -rf ./locales/package.json", "make:po2json": "shx rm -rf ./translations/*.json && node ./tasks/l10n/po2json.js", "make:compile": "tsc", "make:types": "shx rm -rf ./types/* && tsc --outDir ./types/ --declaration --emitDeclarationOnly --pretty --noEmit false && node ./tasks/types/prepare.js && dts-bundle --configJson tsd.json && shx rm -rf ./types/app ./types/builder ./types/blocks ./types/cli && node ./tasks/types/types.js && prettier --tab-width 4 --write \"types/*.d.ts\"", "make:esm": "rollup -c && node ./tasks/esm/esm.js", "make:tests": "node ./tests/es5.spec.js && node ./tests/esm.spec.mjs", "make:examples": "shx rm -rf ./examples/*.js && node ./tasks/examples/json2js.js", "make:bundle": "webpack --mode production", "make": "npm run make:clean && npm run lint && npm run make:locales && npm run pot && npm run make:po2json && npm run make:types && npm run make:examples && npm run make:bundle && npm run make:esm && npm run make:tests && npm run stats", "blocks:latest": "npm install tripetto-block-calculator@latest tripetto-block-checkbox@latest tripetto-block-checkboxes@latest tripetto-block-date@latest tripetto-block-device@latest tripetto-block-dropdown@latest tripetto-block-email@latest tripetto-block-error@latest tripetto-block-evaluate@latest tripetto-block-file-upload@latest tripetto-block-hidden-field@latest tripetto-block-mailer@latest tripetto-block-matrix@latest tripetto-block-multiple-choice@latest tripetto-block-number@latest tripetto-block-paragraph@latest tripetto-block-password@latest tripetto-block-phone-number@latest tripetto-block-picture-choice@latest tripetto-block-radiobuttons@latest tripetto-block-rating@latest tripetto-block-regex@latest tripetto-block-scale@latest tripetto-block-setter@latest tripetto-block-statement@latest tripetto-block-stop@latest tripetto-block-text@latest tripetto-block-textarea@latest tripetto-block-url@latest tripetto-block-variable@latest tripetto-block-yes-no@latest --no-package-lock --no-save", "blocks:next": "npm install tripetto-block-calculator@next tripetto-block-checkbox@next tripetto-block-checkboxes@next tripetto-block-date@next tripetto-block-device@next tripetto-block-dropdown@next tripetto-block-email@next tripetto-block-error@next tripetto-block-evaluate@next tripetto-block-file-upload@next tripetto-block-hidden-field@next tripetto-block-mailer@next tripetto-block-matrix@next tripetto-block-multiple-choice@next tripetto-block-number@next tripetto-block-paragraph@next tripetto-block-password@next tripetto-block-phone-number@next tripetto-block-picture-choice@next tripetto-block-radiobuttons@next tripetto-block-rating@next tripetto-block-regex@next tripetto-block-scale@next tripetto-block-setter@next tripetto-block-statement@next tripetto-block-stop@next tripetto-block-text@next tripetto-block-textarea@next tripetto-block-url@next tripetto-block-variable@next tripetto-block-yes-no@next --no-package-lock --no-save", "preversion": "npm run format && npm run lint && npm run make:compile && exit-on-dirty-git", "version": "npm run make:examples && git add -A ./examples", "postversion": "git push --follow-tags", "prepack": "npm run make", "prepublishOnly": "exit-on-dirty-git", "publish:next": "git-branch-is next && git push --set-upstream origin next && npm version prerelease && npm publish --tag next", "publish:patch": "git-branch-is master && npm version patch && npm publish", "publish:minor": "git-branch-is master && npm version minor && npm publish", "publish:major": "git-branch-is master && npm version major && npm publish" }, "engines": { "node": ">=10.12.0" }, "devDependencies": { "@compodoc/ts-stats": "^1.1.1", "@marblecore/aes": "^1.3.2", "@marblecore/animation": "^2.3.1", "@marblecore/animations": "^2.3.2", "@marblecore/callback": "^2.3.2", "@marblecore/decorators": "^2.3.1", "@marblecore/dom": "^3.3.3", "@marblecore/functional": "^2.10.4", "@marblecore/grid": "^2.3.2", "@marblecore/hookup": "^2.3.1", "@marblecore/l10n": "^4.8.3", "@marblecore/l10n-domains": "^40.0.0", "@marblecore/l10n-locales": "^40.0.0", "@marblecore/loader": "^1.4.4", "@marblecore/markdown": "^2.4.1", "@marblecore/matrix": "^2.5.2", "@marblecore/metrics": "^2.3.2", "@marblecore/pool": "^2.3.1", "@marblecore/semver": "^1.3.1", "@marblecore/sequencer": "^2.3.1", "@marblecore/serializer": "^2.4.1", "@marblecore/sha2": "^1.5.1", "@marblecore/stepper": "^2.3.1", "@marblecore/touch": "^4.1.2", "@marblecore/touch-drag": "^3.3.2", "@marblecore/touch-focus": "^3.3.2", "@marblecore/touch-hover": "^3.3.3", "@marblecore/touch-keyboard": "^3.3.2", "@marblecore/touch-scroll": "^3.5.2", "@marblecore/touch-stroke": "^3.3.2", "@marblecore/touch-tap": "^3.3.2", "@marblecore/touch-wheel": "^3.4.2", "@marblecore/tslint-configuration": "^6.1.3", "@marblecore/ui-cards": "^3.5.1", "@marblecore/ui-form": "^3.6.2", "@marblecore/ui-form-button": "^2.4.1", "@marblecore/ui-form-buttons": "^1.1.1", "@marblecore/ui-form-checkbox": "^2.4.1", "@marblecore/ui-form-date": "^2.6.1", "@marblecore/ui-form-dropdown": "^2.5.1", "@marblecore/ui-form-email": "^2.4.1", "@marblecore/ui-form-html": "^2.4.1", "@marblecore/ui-form-notification": "^2.4.1", "@marblecore/ui-form-numeric": "^3.3.1", "@marblecore/ui-form-radiobutton": "^3.3.1", "@marblecore/ui-form-spacer": "^2.4.1", "@marblecore/ui-form-static": "^2.4.1", "@marblecore/ui-form-text": "^2.8.1", "@marblecore/ui-grid2layer": "^2.4.2", "@marblecore/ui-layers": "^2.4.1", "@marblecore/ui-list": "^3.8.1", "@marblecore/ui-menu": "^2.7.1", "@marblecore/ui-scrollbars": "^2.4.1", "@marblecore/ui-toolbar": "^2.4.1", "@marblecore/ui-workspace": "^2.5.3", "@marblecore/ui-zoombar": "^2.3.1", "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-node-resolve": "^13.2.1", "@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-typescript": "^8.3.2", "@skypack/package-check": "^0.2.2", "@tripetto/contracts": "^2.3.1", "@tripetto/map": "^6.13.0", "@tripetto/slots": "^4.13.0", "@types/dateformat": "^5.0.0", "@types/ejs": "^3.1.0", "@types/express": "^4.17.13", "@types/minimist": "^1.2.2", "@types/node": "^17.0.29", "@types/os-locale": "^4.0.2", "@types/prettier": "^2.6.0", "@types/serve-favicon": "^2.5.3", "@types/superagent": "^4.1.15", "@types/webfontloader": "^1.6.34", "chalk": "^4.1.2", "compression-webpack-plugin": "^9.2.0", "concurrently": "^7.1.0", "dateformat": "^5.0.3", "dts-bundle": "^0.7.3", "exit-on-dirty-git": "^1.0.1", "file-loader": "^6.2.0", "git-branch-is": "^4.0.0", "image-webpack-loader": "^8.1.0", "minimist": "^1.2.6", "nodemon": "^2.0.15", "npm-check": "^5.9.2", "open": "^8.4.0", "po2json": "^1.0.0-beta-3", "rollup": "^2.70.2", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-visualizer": "^5.6.0", "shx": "^0.3.4", "socket.io-client": "^4.5.0", "superagent": "^7.1.3", "terser-webpack-plugin": "^5.3.1", "ts-loader": "^9.2.9", "tslib": "^2.4.0", "tslint": "^6.1.3", "typescript": "^4.6.3", "url-loader": "^4.1.1", "webfontloader": "^1.6.28", "webpack": "^5.72.0", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.9.2", "webpack-livereload-plugin": "^3.0.2" }, "dependencies": { "ejs": "^3.1.7", "express": "^4.18.0", "os-locale": "^5.0.0", "prettier": "^2.6.2", "serve-favicon": "^2.5.0", "socket.io": "^4.5.0" } }