-
Notifications
You must be signed in to change notification settings - Fork 824
/
package.json
236 lines (236 loc) · 18.7 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"scripts": {
"start": "npm run build_dev && live-server --port=7777 --watch=build",
"serve": "live-server --port=7777 --watch=build",
"serve_ci": "http-server",
"test": "karma start ./build-scripts/karma.conf.js",
"testcafe": "testcafe testCafe/ --app \"http-server\" --selector-timeout 1500 --reporter minimal --config-file .testcaferc.dev.js",
"testcafe_file": "concurrently \"http-server --silent\" \"testcafe testCafe/survey/surveyWidth.ts --selector-timeout 1500 --reporter minimal --config-file .testcaferc.dev.js\"",
"testcafe_ci": "testcafe -c 4 -q chrome:headless testCafe/ --app \"http-server --silent\" --reporter minimal",
"testcafe_sauce": "testcafe \"saucelabs:[email protected]:Windows 10\" testCafe/",
"testcafe:ko": "testcafe testCafe/ --app \"http-server --silent\" --reporter minimal --env=knockout",
"testcafe:jquery-ui": "testcafe testCafe/ --app \"http-server --silent\" --env=jquery-ui --config-file .testcaferc.dev.js",
"testcafe:jquery-ui:ci": "testcafe testCafe/ --app \"http-server --silent\" --reporter minimal --env=jquery-ui",
"testcafe:survey-js-ui": "testcafe testCafe/ --app \"http-server --silent\" --env=survey-js-ui --config-file .testcaferc.dev.js",
"testcafe:survey-js-ui:ci": "testcafe testCafe/ --app \"http-server --silent\" --reporter minimal --env=survey-js-ui",
"vrt:jquery-ui:ci": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=jquery-ui",
"vrt:survey-js-ui:ci": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=survey-js-ui",
"vrt:survey-js-ui": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=survey-js-ui --config-file .testcaferc.dev.js",
"testcafe:react": "testcafe testCafe/ --app \"http-server --silent\" --reporter minimal --env=react",
"testcafe:vue": "testcafe testCafe/ --app \"http-server --silent\" --reporter minimal --env=vue",
"release": "commit-and-tag-version --message \"Release: %s [azurepipelines skip]\" ",
"build_core_dev": "webpack --config ./build-scripts/survey-core/webpack.config.js --env.buildType dev",
"build_core_prod": "webpack --config ./build-scripts/survey-core/webpack.config.js --env.buildType prod",
"build_knockout_dev": "webpack --config ./build-scripts/survey-knockout/webpack.config.js --env.buildType dev",
"build_knockout_prod": "webpack --config ./build-scripts/survey-knockout/webpack.config.js --env.buildType prod",
"build_react_dev": "webpack --config ./build-scripts/survey-react/webpack.config.js --env.buildType dev",
"build_react_prod": "webpack --config ./build-scripts/survey-react/webpack.config.js --env.buildType prod",
"build_vue_dev": "webpack --config ./build-scripts/survey-vue/webpack.config.js --env.buildType dev && webpack --config ./build-scripts/survey-vue/webpack.themes.config.js --env.buildType dev",
"build_vue_prod": "webpack --config ./build-scripts/survey-vue/webpack.config.js --env.buildType prod && webpack --config ./build-scripts/survey-vue/webpack.themes.config.js --env.buildType prod",
"build_jquery_dev": "webpack --config ./build-scripts/survey-jquery/webpack.config.js --env.buildType dev && webpack --config ./build-scripts/survey-jquery/webpack.themes.config.js --env.buildType dev",
"build_jquery_prod": "webpack --config ./build-scripts/survey-jquery/webpack.config.js --env.buildType prod && webpack --config ./build-scripts/survey-jquery/webpack.themes.config.js --env.buildType prod",
"build_jquery_ui_dev": "webpack --config ./build-scripts/survey-jquery-ui/webpack.config.js --env.buildType dev",
"build_jquery_ui_prod": "webpack --config ./build-scripts/survey-jquery-ui/webpack.config.js --env.buildType prod",
"build_js_ui_dev": "webpack --config ./build-scripts/survey-js-ui/webpack.config.js --env.buildType dev",
"build_js_ui_prod": "webpack --config ./build-scripts/survey-js-ui/webpack.config.js --env.buildType prod",
"build_angular_dev": "webpack --config ./build-scripts/survey-angular/webpack.config.js --env.buildType dev",
"build_angular_prod": "webpack --config ./build-scripts/survey-angular/webpack.config.js --env.buildType prod",
"build_i18n_dev": "webpack --config ./build-scripts/survey-core/webpack.i18n.js --env.buildType dev",
"build_i18n_prod": "webpack --config ./build-scripts/survey-core/webpack.i18n.js --env.buildType prod",
"build_dev": "concurrently \"npm run build_knockout_dev\" \"npm run build_react_dev\" \"npm run build_angular_dev\" \"npm run build_jquery_dev\" \"npm run build_vue_dev\" \"npm run build_core_dev\" \"npm run build_i18n_dev\"",
"build_prod": "npm run build_dev && concurrently \"npm run build_knockout_prod\" \"npm run build_react_prod\" \"npm run build_angular_prod\" \"npm run build_jquery_prod\" \"npm run build_vue_prod\" \"npm run build_core_prod\" \"npm run build_i18n_prod\"",
"build": "npm run build_prod && concurrently \"npm run build_knockout_ui_dev && npm run build_knockout_ui_prod\" \"npm run build_react_ui\"",
"doc_gen": "node doc_generator/lib_docgenerator.js src/entries/chunks/model.ts",
"doc_update": "chmod +x ./docupdate_npm.sh && ./docupdate_npm.sh",
"watch_knockout_dev": "webpack --config ./build-scripts/survey-knockout/webpack.config.js --env.buildType dev --watch",
"watch_react_dev": "webpack --config ./build-scripts/survey-react/webpack.config.js --env.buildType dev --watch",
"watch_angular_dev": "webpack --config ./build-scripts/survey-angular/webpack.config.js --env.buildType dev --watch",
"watch_jquery_dev": "webpack --config ./build-scripts/survey-jquery/webpack.config.js --env.buildType dev --watch",
"watch_vue_dev": "webpack --config ./build-scripts/survey-vue/webpack.config.js --env.buildType dev --watch",
"build_knockout": "npm run build_knockout_dev && npm run build_knockout_prod && rimraf build/survey-knockout/ts3.4 && downlevel-dts build/survey-knockout build/survey-knockout/ts3.4",
"build_knockout_ui_dev": "webpack --config ./build-scripts/survey-knockout-ui/webpack.config.js --env.buildType dev",
"build_knockout_ui_prod": "webpack --config ./build-scripts/survey-knockout-ui/webpack.config.js --env.buildType prod",
"build_knockout_ui": "npm run build_knockout_ui_dev && npm run build_knockout_ui_prod && rimraf build/survey-knockout-ui/ts3.4 && downlevel-dts build/survey-knockout-ui build/survey-knockout-ui/ts3.4",
"build_react": "npm run build_react_dev && npm run build_react_prod",
"build_react_ui": "webpack --config ./build-scripts/survey-react-ui/webpack.config.js --env.buildType dev && webpack --config ./build-scripts/survey-react-ui/webpack.config.js --env.buildType prod",
"build_vue": "npm run build_vue_dev && npm run build_vue_prod",
"build_vue_ui": "webpack --config ./build-scripts/survey-vue-ui/webpack.config.js --env.buildType dev && webpack --config ./build-scripts/survey-vue-ui/webpack.config.js --env.buildType prod",
"build_core": "npm run build_core_dev && npm run build_core_prod && npm run build-themes && npm run build-icons && rimraf build/survey-core/ts3.4 && downlevel-dts build/survey-core build/survey-core/ts3.4",
"build-plugins": "npm run build-plugins-dev && npm run build-plugins-prod",
"build-plugins-dev": "concurrently \"webpack --config ./build-scripts/survey-core/webpack.plugins.bootstrap.config.js --env.buildType dev\" \"webpack --config ./build-scripts/survey-core/webpack.plugins.bootstrap.material.config.js --env.buildType dev\"",
"build-plugins-prod": "concurrently \"webpack --config ./build-scripts/survey-core/webpack.plugins.bootstrap.config.js --env.buildType prod\" \"webpack --config ./build-scripts/survey-core/webpack.plugins.bootstrap.material.config.js --env.buildType prod\"",
"build-themes": "npm run build-themes-dev && npm run build-themes-prod",
"build-themes-dev": "webpack --config ./build-scripts/survey-core/webpack.themes.config.js --env.buildType dev",
"build-themes-prod": "webpack --config ./build-scripts/survey-core/webpack.themes.config.js --env.buildType prod",
"build-icons": "npm run build-icons-dev && npm run build-icons-prod",
"build-icons-dev": "webpack --config ./build-scripts/survey-core/webpack.icons.config.js --env.buildType dev",
"build-icons-prod": "webpack --config ./build-scripts/survey-core/webpack.icons.config.js --env.buildType prod",
"build_i18n": "npm run build_i18n_dev && npm run build_i18n_prod",
"build_jquery": "npm run build_jquery_dev && npm run build_jquery_prod",
"build_jquery_ui": "npm run build_jquery_ui_dev && npm run build_jquery_ui_prod",
"build_js_ui": "npm run build_js_ui_dev && npm run build_js_ui_prod",
"build_angular": "npm run build_angular_dev && npm run build_angular_prod && rimraf build/survey-angular/ts3.4 && downlevel-dts build/survey-angular build/survey-angular/ts3.4",
"watch:core:dev": "webpack --config ./build-scripts/survey-core/webpack.config.js --env.buildType dev --watch",
"watch:core:prod": "webpack --config ./build-scripts/survey-core/webpack.config.js --env.buildType prod --watch",
"watch:ko:ui:dev": "webpack --config ./build-scripts/survey-knockout-ui/webpack.config.js --env.buildType dev --watch",
"watch:react:ui:dev": "webpack --config ./build-scripts/survey-react-ui/webpack.config.js --env.buildType dev --watch",
"watch:ko:ui:prod": "webpack --config ./build-scripts/survey-knockout-ui/webpack.config.js --env.buildType prod --watch",
"watch:react:ui:prod": "webpack --config ./build-scripts/survey-react-ui/webpack.config.js --env.buildType prod --watch",
"dev": "concurrently \"http-server -p 7766 --silent\" \"npm run watch:core:dev\" \"npm run watch:core:prod\" \"npm run watch:ko:ui:dev\" \"npm run watch:react:ui:dev\" \"npm run watch:ko:ui:prod\" \"npm run watch:react:ui:prod\"",
"madge": "madge --circular --extensions ts ./src/",
"pre-push-check": "npm run lint && npm run testsingle",
"lint": "eslint ./src --quiet && eslint ./testCafe --quiet && eslint ./tests --quiet && eslint ./visualRegressionTests --quiet && eslint ./accessibilityTests --quiet",
"testsingle": "karma start ./build-scripts/karma.conf.js --single-run",
"test:knockout": "karma start ./build-scripts/survey-knockout/karma.conf.knockout.js",
"test:react": "karma start ./build-scripts/survey-react/karma.conf.react.js",
"test:vue": "karma start ./build-scripts/survey-vue/karma.conf.vue.js",
"test:knockout:single": "karma start ./build-scripts/survey-knockout/karma.conf.knockout.js --single-run",
"test:react:single": "karma start ./build-scripts/survey-react/karma.conf.react.js --single-run",
"test:vue:single": "karma start ./build-scripts/survey-vue/karma.conf.vue.js --single-run",
"test:markup": "npm run test:knockout:single && npm run test:react:single && npm run test:vue:single",
"visual-regression-tests": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --reporter minimal --selector-timeout 1500 --config-file .testcaferc.dev.js",
"vrt:ko": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --reporter minimal --env=knockout --selector-timeout 1500 --config-file .testcaferc.dev.js",
"vrt:react": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --reporter minimal --env=react --selector-timeout 1500 --config-file .testcaferc.dev.js",
"visual-regression-tests:ci": "testcafe chrome:headless ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal",
"visual-regression-tests:ci:knockout": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --env=knockout --reporter minimal",
"visual-regression-tests:ci:angular": "testcafe ./visualRegressionTests/ --app \"http-server ./packages/survey-angular-ui/example/dist --proxy http://localhost:8080? -p 8080\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=angular",
"visual-regression-tests:angular": "testcafe ./visualRegressionTests/ --app \"http-server ./packages/survey-angular-ui/example/dist --proxy http://localhost:8080? -p 8080\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=angular --config-file .testcaferc.dev.js",
"visual-regression-tests:ci:react": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=react",
"visual-regression-tests:ci:vue": "testcafe ./visualRegressionTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=vue",
"visual-regression-tests:file": "testcafe chrome:headless --app \"http-server\" ./visualRegressionTests/tests/defaultV2/paneldynamic.ts --screenshots ./ --reporter minimal --selector-timeout 1500",
"visual-regression-tests:ci:vue3": "testcafe ./visualRegressionTests/ --app \"npm run preview --prefix ./packages/survey-vue3-ui/example\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=vue3",
"visual-regression-tests:vue3": "testcafe ./visualRegressionTests/ --app \"npm run preview --prefix ./packages/survey-vue3-ui/example\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=vue3 --config-file .testcaferc.dev.js",
"accessibility-tests": "testcafe ./accessibilityTests/ --app \"http-server\" --screenshots ./ --reporter minimal --selector-timeout 1500 --config-file .testcaferc.dev.js",
"accessibility-tests:ci:knockout": "testcafe ./accessibilityTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=knockout",
"accessibility-tests:ci:angular": "testcafe ./accessibilityTests/ --app \"http-server ./packages/survey-angular-ui/example/dist --proxy http://localhost:8080? -p 8080\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=angular",
"accessibility-tests:ci:react": "testcafe ./accessibilityTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=react",
"accessibility-tests:ci:vue": "testcafe ./accessibilityTests/ --app \"http-server\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=vue",
"accessibility-tests:ci:vue3": "testcafe ./accessibilityTests/ --app \"npm run preview --prefix ./packages/survey-vue3-ui/example\" --screenshots ./ --selector-timeout 1500 --reporter minimal --env=vue3",
"testcafe:ci:vue3": "testcafe testCafe/ --app \"npm run preview --prefix ./packages/survey-vue3-ui/example\" --selector-timeout 1500 --reporter minimal --env=vue3",
"testcafe:vue3": "testcafe testCafe/ --app \"npm run preview --prefix ./packages/survey-vue3-ui/example \" --selector-timeout 1500 --reporter minimal --env=vue3 --config-file .testcaferc.dev.js",
"testcafe:angular": "testcafe testCafe/ --app \"http-server ./packages/survey-angular-ui/example/dist --proxy http://localhost:8080? -p 8080\" --selector-timeout 1500 --reporter minimal --env=angular --config-file .testcaferc.dev.js",
"testcafe:ci:angular": "testcafe testCafe/ --app \"http-server ./packages/survey-angular-ui/example/dist --proxy http://localhost:8080? -p 8080\" --selector-timeout 1500 --reporter minimal --env=angular",
"prepare": "husky install",
"test:postcss": "postcss build/survey-core/defaultV2.css --silent -u postcss-calc -u autoprefixer -u postcss-fail-on-warn -o defaultV2.postcss.css && rimraf defaultV2.postcss.css"
},
"version": "1.12.14",
"name": "survey-library",
"private": true,
"devDependencies": {
"@babel/plugin-transform-runtime": "7.23.3",
"@types/ace": "0.0.32",
"@types/angular": "^1.6.2",
"@types/babel__traverse": "7.18.2",
"@types/jest": "23.3.3",
"@types/jquery": "^2.0.39",
"@types/lodash": "4.14.186",
"@types/node": "* <=18.11.12",
"@types/papaparse": "^5.0.4",
"@types/qunit": "2.0.31",
"@types/react": "17.0.1",
"@types/react-dom": "17.0.1",
"@types/signature_pad": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"@vue/eslint-config-typescript": "^11.0.0",
"ace-builds": "1.2.2",
"ajv": "6.12.3",
"autoprefixer": "^10.4.17",
"axe-core": "^4.8.2",
"axe-testcafe": "^3.0.0",
"babel-loader": "8.2.5",
"colors": "1.4.0",
"commit-and-tag-version": "^11.0.0",
"concurrently": "^5.2.0",
"copy-webpack-plugin": "4.0.1",
"css-loader": "^3.6.0",
"devextreme-screenshot-comparer": "^2.0.11",
"dotenv": "4.0.0",
"downlevel-dts": "~0.11.0",
"eslint": "^7.32.0",
"eslint-cli": "^1.1.1",
"eslint-plugin-react": "7.30.1",
"eslint-plugin-vue": "^9.3.0",
"eslint-plugin-surveyjs": "file:eslint-surveyjs",
"file-loader": "0.10.0",
"generate-json-webpack-plugin": "^1.0.0",
"get-func-name": "2.0.0",
"github-api": "^3.3.0",
"html-loader": "0.4.4",
"http-server": "^0.12.3",
"husky": "^8",
"jest": "^26.1.0",
"jest-canvas-mock": "^2.2.0",
"jquery": "^3.5.1",
"karma": "^6.1.1",
"karma-chrome-launcher": "^3.1.0",
"karma-junit-reporter": "2.0.1",
"karma-qunit": "4.1.2",
"karma-sourcemap-loader": "0.3.8",
"karma-webpack": "5.0.0",
"knockout": "^3.5.0",
"live-server": "1.2.1",
"madge": "^4.0.2",
"mini-css-extract-plugin": "^0.9.0",
"minimist": "^1.2.5",
"node-uuid": "^1.4.8",
"postcss": "8.4.31",
"postcss-calc": "9.0.1",
"postcss-cli": "10.1.0",
"postcss-fail-on-warn": "0.2.1",
"preact": "^10.21.0",
"puppeteer": "22.13.1",
"qunit": "2.14.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"replace-in-file": "^3.4.3",
"rimraf": "2.5.4",
"sass": "^1",
"sass-loader": "^8.0.2",
"style-loader": "^1.2.1",
"surveyjs-doc-generator": "git+https://github.com/surveyjs/surveyjs-doc-generator.git",
"svg-inline-loader": "^0.8.2",
"testcafe": "3.3.0",
"testcafe-reporter-junit": "^3.0.2",
"ts-jest": "^26.1.1",
"ts-loader": "^8.0.15",
"ts-node": "3.3.0",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"typescript": "~4.2.2",
"url-loader": "0.5.8",
"val-loader": "0.5.0",
"vue": "2.6.14",
"vue-class-component": "7.2.6",
"vue-class-decorator": "7.6.3",
"vue-loader": "15.9.8",
"vue-property-decorator": "9.1.2",
"vue-template-compiler": "2.6.14",
"vue-tsc": "1.0.8",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-fix-style-only-entries": "^0.6.1",
"webpack-merge": "^5.7.3",
"webpack-svgstore-plugin": "4.0.1"
},
"overrides": {
"karma-webpack": {
"webpack": "^4.43.0"
},
"downlevel-dts": {
"typescript": "5.1.6"
},
"axe-testcafe": {
"axe-core": "^4.8.2"
}
},
"husky": {
"hooks": {
"pre-push": "npm run pre-push-check"
}
},
"dependencies": {
"signature_pad": "^4.1.5",
"vite": "^3.1.8"
}
}