1 | {
|
2 | "name": "tripetto-runner-autoscroll",
|
3 | "title": "Tripetto Autoscroll Runner",
|
4 | "version": "6.1.7",
|
5 | "description": "Autoscroll UI for running Tripetto forms and surveys.",
|
6 | "license": "CC-BY-NC-ND-4.0",
|
7 | "private": false,
|
8 | "homepage": "https://gitlab.com/tripetto/runners/autoscroll",
|
9 | "keywords": [
|
10 | "tripetto",
|
11 | "tripetto runner"
|
12 | ],
|
13 | "author": {
|
14 | "name": "Mark van den Brink",
|
15 | "email": "mark@vandenbr.ink",
|
16 | "url": "http://mark.vandenbr.ink"
|
17 | },
|
18 | "repository": {
|
19 | "type": "git",
|
20 | "url": "https://gitlab.com/tripetto/runners/autoscroll.git"
|
21 | },
|
22 | "bugs": {
|
23 | "url": "https://gitlab.com/tripetto/runners/autoscroll/issues"
|
24 | },
|
25 | "main": "./runner/es5/index.js",
|
26 | "browser": "./runner/es5/index.js",
|
27 | "module": "./runner/esm/index.mjs",
|
28 | "unpkg": "./runner/index.js",
|
29 | "jsdelivr": "./runner/index.js",
|
30 | "types": "./runner/types/index.d.ts",
|
31 | "exports": {
|
32 | ".": {
|
33 | "import": "./runner/esm/index.mjs",
|
34 | "require": "./runner/es5/index.js",
|
35 | "umd": "./runner/index.js",
|
36 | "script": "./runner/index.js",
|
37 | "types": "./runner/types/index.d.ts",
|
38 | "default": "./runner/es5/index.js"
|
39 | },
|
40 | "./runner": {
|
41 | "import": "./runner/esm/index.mjs",
|
42 | "require": "./runner/es5/index.js",
|
43 | "umd": "./runner/index.js",
|
44 | "script": "./runner/index.js",
|
45 | "types": "./runner/types/index.d.ts",
|
46 | "default": "./runner/es5/index.js"
|
47 | },
|
48 | "./runner/es5": {
|
49 | "types": "./runner/types/index.d.ts",
|
50 | "default": "./runner/es5/index.js"
|
51 | },
|
52 | "./runner/translations/*": "./runner/translations/*",
|
53 | "./runner/locales/*": "./runner/locales/*",
|
54 | "./builder": {
|
55 | "import": "./builder/esm/index.mjs",
|
56 | "require": "./builder/es5/index.js",
|
57 | "umd": "./builder/index.js",
|
58 | "script": "./builder/index.js",
|
59 | "types": "./builder/types/index.d.ts",
|
60 | "default": "./builder/es5/index.js"
|
61 | },
|
62 | "./builder/es5": {
|
63 | "types": "./builder/types/index.d.ts",
|
64 | "default": "./builder/es5/index.js"
|
65 | },
|
66 | "./builder/l10n": {
|
67 | "import": "./builder/l10n/index.mjs",
|
68 | "types": "./builder/l10n/index.d.ts",
|
69 | "default": "./builder/l10n/index.js"
|
70 | },
|
71 | "./builder/styles": {
|
72 | "import": "./builder/styles/index.mjs",
|
73 | "types": "./builder/styles/index.d.ts",
|
74 | "default": "./builder/styles/index.js"
|
75 | },
|
76 | "./builder/translations/*": "./builder/translations/*",
|
77 | "./es5": {
|
78 | "types": "./runner/types/index.d.ts",
|
79 | "default": "./runner/es5/index.js"
|
80 | },
|
81 | "./translations/*": "./runner/translations/*.json",
|
82 | "./locales/*": "./runner/locales/*.json",
|
83 | "./package.json": "./package.json"
|
84 | },
|
85 | "scripts": {
|
86 | "update": "npm-check -su && node ./tasks/update/update.js",
|
87 | "format": "prettier --write \"src/**/*.ts\" \"src/**/*.tsx\" \"tasks/**/*.js\" \"*.json\" \"!package-lock.json\" \"*.yml\" \"webpack.config.js\"",
|
88 | "lint": "tslint -c ./tslint.json ./src/**/*.ts ./src/**/*.tsx",
|
89 | "stats": "ts-stats",
|
90 | "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",
|
91 | "test": "webpack-dev-server --mode development",
|
92 | "example": "tripetto ./src/tests/app/static/example.json",
|
93 | "make:clean": "shx rm -rf *.tgz ./runner/* ./builder/* ./translations/*.json ./translations/*.pot ./reports/*",
|
94 | "make:compile": "npm run make:l10n && tsc",
|
95 | "make:styles": "shx rm -rf ./builder/styles/* && tsc --project tsconfig.styles.json && node ./tasks/styles/styles.js && shx mv ./builder/styles/index.js ./builder/styles/index.mjs && tsc --project tsconfig.styles.json --target ES5 --module CommonJS && node ./tasks/styles/styles.js && prettier --tab-width 4 --write \"builder/styles/*\"",
|
96 | "make:locales": "shx rm -rf ./runner/locales/ && shx mkdir -p ./runner/locales/ && shx cp ./node_modules/tripetto/locales/*.json ./runner/locales/",
|
97 | "make:po2json": "shx rm -rf ./translations/*.json && node ./tasks/l10n/po2json.js && node ./tasks/l10n/combine.js",
|
98 | "make:l10n": "shx rm -rf ./builder/l10n/* && npm run pot && node ./tasks/l10n/l10n.js",
|
99 | "make:types": "npm run make:l10n && shx rm -rf ./runner/types/* && node ./tasks/types/builder.js && dts-bundle-generator --no-banner --no-check -o ./runner/types/index.d.ts ./src/module.ts && node ./tasks/types/postprocessing.js && prettier --tab-width 4 --write \"builder/types/*.d.ts\" \"runner/types/*.d.ts\"",
|
100 | "make:esm": "rollup -c",
|
101 | "make:tests": "node ./tests/es5.spec.js && node ./tests/esm.spec.mjs",
|
102 | "make:bundle": "webpack --mode production",
|
103 | "make": "npm run make:clean && npm run lint && npm run make:locales && npm run make:po2json && npm run make:types && npm run make:styles && npm run make:bundle && npm run make:esm && npm run make:tests && npm run stats",
|
104 | "preversion": "npm run format && npm run lint && npm run make:compile && exit-on-dirty-git",
|
105 | "postversion": "git push --follow-tags",
|
106 | "prepack": "npm run make",
|
107 | "prepublishOnly": "exit-on-dirty-git",
|
108 | "publish:next": "git-branch-is next && git push --set-upstream origin next && npm version prerelease && npm publish --tag next",
|
109 | "publish:patch": "git-branch-is master && npm version patch && npm publish",
|
110 | "publish:minor": "git-branch-is master && npm version minor && npm publish",
|
111 | "publish:major": "git-branch-is master && npm version major && npm publish"
|
112 | },
|
113 | "devDependencies": {
|
114 | "@compodoc/ts-stats": "^1.1.1",
|
115 | "@marblecore/tslint-configuration": "^6.1.3",
|
116 | "@rollup/plugin-alias": "^3.1.9",
|
117 | "@rollup/plugin-commonjs": "^22.0.2",
|
118 | "@rollup/plugin-node-resolve": "^14.1.0",
|
119 | "@rollup/plugin-replace": "^4.0.0",
|
120 | "@rollup/plugin-typescript": "^8.5.0",
|
121 | "@tripetto/block-multi-select": "^1.0.5",
|
122 | "@types/cssesc": "^3.0.0",
|
123 | "@types/node": "^17.0.36",
|
124 | "@types/react": "^18.0.26",
|
125 | "@types/react-dom": "^18.0.9",
|
126 | "@types/superagent": "^4.1.16",
|
127 | "copy-webpack-plugin": "^11.0.0",
|
128 | "cssesc": "^3.0.0",
|
129 | "dts-bundle-generator": "^6.13.0",
|
130 | "exit-on-dirty-git": "^1.0.1",
|
131 | "git-branch-is": "^4.0.0",
|
132 | "npm-check": "^6.0.1",
|
133 | "po2json": "^1.0.0-beta-3",
|
134 | "prettier": "^2.8.1",
|
135 | "promise-polyfill": "^8.2.3",
|
136 | "react": "^18.2.0",
|
137 | "react-dom": "^18.2.0",
|
138 | "rollup": "^2.79.1",
|
139 | "rollup-plugin-terser": "^7.0.2",
|
140 | "rollup-plugin-visualizer": "^5.8.3",
|
141 | "shx": "^0.3.4",
|
142 | "styled-components": "^5.3.6",
|
143 | "superagent": "^8.0.6",
|
144 | "terser-webpack-plugin": "^5.3.6",
|
145 | "tripetto": "^4.5.2-27",
|
146 | "tripetto-block-calculator": "^3.2.0",
|
147 | "tripetto-block-checkbox": "^5.2.0",
|
148 | "tripetto-block-checkboxes": "^6.2.4",
|
149 | "tripetto-block-date": "^3.1.0",
|
150 | "tripetto-block-device": "^4.1.1",
|
151 | "tripetto-block-dropdown": "^5.2.4",
|
152 | "tripetto-block-email": "^5.1.0",
|
153 | "tripetto-block-error": "^4.1.0",
|
154 | "tripetto-block-evaluate": "^3.2.0",
|
155 | "tripetto-block-file-upload": "^4.1.0",
|
156 | "tripetto-block-hidden-field": "^5.1.0",
|
157 | "tripetto-block-mailer": "^5.1.0",
|
158 | "tripetto-block-matrix": "^4.2.1",
|
159 | "tripetto-block-multiple-choice": "^5.5.1",
|
160 | "tripetto-block-number": "^7.1.0",
|
161 | "tripetto-block-paragraph": "^4.1.0",
|
162 | "tripetto-block-password": "^5.1.0",
|
163 | "tripetto-block-phone-number": "^3.1.0",
|
164 | "tripetto-block-picture-choice": "^4.4.0",
|
165 | "tripetto-block-radiobuttons": "^6.1.0",
|
166 | "tripetto-block-rating": "^5.1.0",
|
167 | "tripetto-block-regex": "^3.1.0",
|
168 | "tripetto-block-scale": "^3.1.0",
|
169 | "tripetto-block-setter": "^2.1.0",
|
170 | "tripetto-block-statement": "^4.1.0",
|
171 | "tripetto-block-stop": "^2.1.0",
|
172 | "tripetto-block-text": "^5.1.0",
|
173 | "tripetto-block-textarea": "^5.2.0",
|
174 | "tripetto-block-url": "^5.1.0",
|
175 | "tripetto-block-variable": "^2.1.0",
|
176 | "tripetto-block-yes-no": "^4.2.0",
|
177 | "tripetto-runner-foundation": "^6.3.0",
|
178 | "ts-loader": "^9.4.2",
|
179 | "tslib": "^2.4.1",
|
180 | "tslint": "^6.1.3",
|
181 | "typescript": "^4.8.4",
|
182 | "url-search-params-polyfill": "^8.1.1",
|
183 | "webpack": "^5.75.0",
|
184 | "webpack-bundle-analyzer": "^4.7.0",
|
185 | "webpack-cli": "^5.0.1",
|
186 | "webpack-dev-server": "^4.11.1",
|
187 | "webpack-shell-plugin-next": "^2.3.1"
|
188 | },
|
189 | "peerDependencies": {
|
190 | "react": ">= 16.14.x",
|
191 | "react-dom": ">= 16.x",
|
192 | "tripetto-runner-foundation": "^6.3.0"
|
193 | },
|
194 | "dependencies": {
|
195 | "@types/styled-components": "^5.1.26",
|
196 | "tripetto-runner-fabric": "^3.1.1",
|
197 | "tripetto-runner-react-hook": "^3.1.2"
|
198 | }
|
199 | }
|