1 | {
|
2 | "name": "tripetto",
|
3 | "title": "Tripetto Builder",
|
4 | "version": "4.5.1",
|
5 | "description": "Visual form builder to rapidly create and edit smart flowing forms and surveys on a self-organizing drawing board.",
|
6 | "license": "CC-BY-NC-ND-4.0",
|
7 | "private": false,
|
8 | "homepage": "https://tripetto.com",
|
9 | "keywords": [
|
10 | "tripetto",
|
11 | "builder",
|
12 | "form kit",
|
13 | "form builder",
|
14 | "form",
|
15 | "forms",
|
16 | "survey",
|
17 | "surveys"
|
18 | ],
|
19 | "author": {
|
20 | "name": "Mark van den Brink",
|
21 | "email": "mark@vandenbr.ink",
|
22 | "url": "http://mark.vandenbr.ink"
|
23 | },
|
24 | "repository": {
|
25 | "type": "git",
|
26 | "url": "https://gitlab.com/tripetto/builder.git"
|
27 | },
|
28 | "bugs": {
|
29 | "url": "https://gitlab.com/tripetto/builder/issues"
|
30 | },
|
31 | "main": "./runtime/tripetto-es5.js",
|
32 | "browser": "./runtime/tripetto-es5.js",
|
33 | "module": "./runtime/tripetto-esm.mjs",
|
34 | "unpkg": "./runtime/tripetto-umd.js",
|
35 | "jsdelivr": "./runtime/tripetto-umd.js",
|
36 | "types": "./types/tripetto.d.ts",
|
37 | "exports": {
|
38 | ".": {
|
39 | "import": "./runtime/tripetto-esm.mjs",
|
40 | "require": "./runtime/tripetto-es5.js",
|
41 | "umd": "./runtime/tripetto-umd.js",
|
42 | "script": "./runtime/tripetto-umd.js",
|
43 | "types": "./types/tripetto.d.ts",
|
44 | "default": "./runtime/tripetto-es5.js"
|
45 | },
|
46 | "./es5": {
|
47 | "types": "./types/tripetto.d.ts",
|
48 | "default": "./runtime/tripetto-es5.js"
|
49 | },
|
50 | "./translations/*": "./translations/*.json",
|
51 | "./locales/*": "./locales/*.json",
|
52 | "./package.json": "./package.json"
|
53 | },
|
54 | "bin": {
|
55 | "tripetto": "./bin/tripetto-cli.js"
|
56 | },
|
57 | "scripts": {
|
58 | "start": "node ./runtime/tripetto-cli.js",
|
59 | "update": "npm-check -su",
|
60 | "format": "prettier --write \"src/**/*.ts\" \"tasks/**/*.js\" \"tests/**/*.*js\" \"*.json\" \"!package-lock.json\" \"*.yml\" \"webpack.config.js\"",
|
61 | "lint": "tslint -c ./tslint.json ./src/**/*.ts",
|
62 | "stats": "ts-stats",
|
63 | "skypack": "package-check",
|
64 | "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",
|
65 | "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\"",
|
66 | "make:clean": "shx rm -rf *.tgz ./examples/*.js ./locales/* ./runtime/* ./translations/*.json ./translations/*.pot ./types/* ./reports/*",
|
67 | "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",
|
68 | "make:po2json": "shx rm -rf ./translations/*.json && node ./tasks/l10n/po2json.js",
|
69 | "make:compile": "tsc",
|
70 | "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\"",
|
71 | "make:esm": "rollup -c && node ./tasks/esm/esm.js",
|
72 | "make:tests": "node ./tests/es5.spec.js && node ./tests/esm.spec.mjs",
|
73 | "make:examples": "shx rm -rf ./examples/*.js && node ./tasks/examples/json2js.js",
|
74 | "make:bundle": "webpack --mode production",
|
75 | "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",
|
76 | "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",
|
77 | "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",
|
78 | "preversion": "npm run format && npm run lint && npm run make:compile && exit-on-dirty-git",
|
79 | "version": "npm run make:examples && git add -A ./examples",
|
80 | "postversion": "git push --follow-tags",
|
81 | "prepack": "npm run make",
|
82 | "prepublishOnly": "exit-on-dirty-git",
|
83 | "publish:next": "git-branch-is next && git push --set-upstream origin next && npm version prerelease && npm publish --tag next",
|
84 | "publish:patch": "git-branch-is master && npm version patch && npm publish",
|
85 | "publish:minor": "git-branch-is master && npm version minor && npm publish",
|
86 | "publish:major": "git-branch-is master && npm version major && npm publish"
|
87 | },
|
88 | "engines": {
|
89 | "node": ">=10.12.0"
|
90 | },
|
91 | "devDependencies": {
|
92 | "@compodoc/ts-stats": "^1.1.1",
|
93 | "@marblecore/aes": "^1.3.2",
|
94 | "@marblecore/animation": "^2.3.1",
|
95 | "@marblecore/animations": "^2.3.2",
|
96 | "@marblecore/callback": "^2.3.2",
|
97 | "@marblecore/decorators": "^2.3.1",
|
98 | "@marblecore/dom": "^3.3.3",
|
99 | "@marblecore/functional": "^2.10.4",
|
100 | "@marblecore/grid": "^2.3.2",
|
101 | "@marblecore/hookup": "^2.3.1",
|
102 | "@marblecore/l10n": "^4.8.3",
|
103 | "@marblecore/l10n-domains": "^40.0.0",
|
104 | "@marblecore/l10n-locales": "^40.0.0",
|
105 | "@marblecore/loader": "^1.4.4",
|
106 | "@marblecore/markdown": "^2.4.1",
|
107 | "@marblecore/matrix": "^2.5.2",
|
108 | "@marblecore/metrics": "^2.3.2",
|
109 | "@marblecore/pool": "^2.3.1",
|
110 | "@marblecore/semver": "^1.3.1",
|
111 | "@marblecore/sequencer": "^2.3.1",
|
112 | "@marblecore/serializer": "^2.4.1",
|
113 | "@marblecore/sha2": "^1.5.1",
|
114 | "@marblecore/stepper": "^2.3.1",
|
115 | "@marblecore/touch": "^4.1.2",
|
116 | "@marblecore/touch-drag": "^3.3.2",
|
117 | "@marblecore/touch-focus": "^3.3.2",
|
118 | "@marblecore/touch-hover": "^3.3.3",
|
119 | "@marblecore/touch-keyboard": "^3.3.2",
|
120 | "@marblecore/touch-scroll": "^3.5.2",
|
121 | "@marblecore/touch-stroke": "^3.3.2",
|
122 | "@marblecore/touch-tap": "^3.3.2",
|
123 | "@marblecore/touch-wheel": "^3.4.2",
|
124 | "@marblecore/tslint-configuration": "^6.1.3",
|
125 | "@marblecore/ui-cards": "^3.5.1",
|
126 | "@marblecore/ui-form": "^3.6.2",
|
127 | "@marblecore/ui-form-button": "^2.4.1",
|
128 | "@marblecore/ui-form-buttons": "^1.1.1",
|
129 | "@marblecore/ui-form-checkbox": "^2.4.1",
|
130 | "@marblecore/ui-form-date": "^2.6.1",
|
131 | "@marblecore/ui-form-dropdown": "^2.5.1",
|
132 | "@marblecore/ui-form-email": "^2.4.1",
|
133 | "@marblecore/ui-form-html": "^2.4.1",
|
134 | "@marblecore/ui-form-notification": "^2.4.1",
|
135 | "@marblecore/ui-form-numeric": "^3.3.1",
|
136 | "@marblecore/ui-form-radiobutton": "^3.3.1",
|
137 | "@marblecore/ui-form-spacer": "^2.4.1",
|
138 | "@marblecore/ui-form-static": "^2.4.1",
|
139 | "@marblecore/ui-form-text": "^2.8.1",
|
140 | "@marblecore/ui-grid2layer": "^2.4.2",
|
141 | "@marblecore/ui-layers": "^2.4.1",
|
142 | "@marblecore/ui-list": "^3.8.1",
|
143 | "@marblecore/ui-menu": "^2.7.1",
|
144 | "@marblecore/ui-scrollbars": "^2.4.1",
|
145 | "@marblecore/ui-toolbar": "^2.4.1",
|
146 | "@marblecore/ui-workspace": "^2.5.3",
|
147 | "@marblecore/ui-zoombar": "^2.3.1",
|
148 | "@rollup/plugin-commonjs": "^22.0.0",
|
149 | "@rollup/plugin-node-resolve": "^13.2.1",
|
150 | "@rollup/plugin-replace": "^4.0.0",
|
151 | "@rollup/plugin-typescript": "^8.3.2",
|
152 | "@skypack/package-check": "^0.2.2",
|
153 | "@tripetto/contracts": "^2.3.1",
|
154 | "@tripetto/map": "^6.13.0",
|
155 | "@tripetto/slots": "^4.13.0",
|
156 | "@types/dateformat": "^5.0.0",
|
157 | "@types/ejs": "^3.1.0",
|
158 | "@types/express": "^4.17.13",
|
159 | "@types/minimist": "^1.2.2",
|
160 | "@types/node": "^17.0.29",
|
161 | "@types/os-locale": "^4.0.2",
|
162 | "@types/prettier": "^2.6.0",
|
163 | "@types/serve-favicon": "^2.5.3",
|
164 | "@types/superagent": "^4.1.15",
|
165 | "@types/webfontloader": "^1.6.34",
|
166 | "chalk": "^4.1.2",
|
167 | "compression-webpack-plugin": "^9.2.0",
|
168 | "concurrently": "^7.1.0",
|
169 | "dateformat": "^5.0.3",
|
170 | "dts-bundle": "^0.7.3",
|
171 | "exit-on-dirty-git": "^1.0.1",
|
172 | "file-loader": "^6.2.0",
|
173 | "git-branch-is": "^4.0.0",
|
174 | "image-webpack-loader": "^8.1.0",
|
175 | "minimist": "^1.2.6",
|
176 | "nodemon": "^2.0.15",
|
177 | "npm-check": "^5.9.2",
|
178 | "open": "^8.4.0",
|
179 | "po2json": "^1.0.0-beta-3",
|
180 | "rollup": "^2.70.2",
|
181 | "rollup-plugin-terser": "^7.0.2",
|
182 | "rollup-plugin-visualizer": "^5.6.0",
|
183 | "shx": "^0.3.4",
|
184 | "socket.io-client": "^4.5.0",
|
185 | "superagent": "^7.1.3",
|
186 | "terser-webpack-plugin": "^5.3.1",
|
187 | "ts-loader": "^9.2.9",
|
188 | "tslib": "^2.4.0",
|
189 | "tslint": "^6.1.3",
|
190 | "typescript": "^4.6.3",
|
191 | "url-loader": "^4.1.1",
|
192 | "webfontloader": "^1.6.28",
|
193 | "webpack": "^5.72.0",
|
194 | "webpack-bundle-analyzer": "^4.5.0",
|
195 | "webpack-cli": "^4.9.2",
|
196 | "webpack-livereload-plugin": "^3.0.2"
|
197 | },
|
198 | "dependencies": {
|
199 | "ejs": "^3.1.7",
|
200 | "express": "^4.18.0",
|
201 | "os-locale": "^5.0.0",
|
202 | "prettier": "^2.6.2",
|
203 | "serve-favicon": "^2.5.0",
|
204 | "socket.io": "^4.5.0"
|
205 | }
|
206 | }
|