-
Notifications
You must be signed in to change notification settings - Fork 3k
/
package.json
247 lines (247 loc) · 10.5 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
237
238
239
240
241
242
243
244
245
246
247
{
"name": "handsontable",
"description": "Handsontable is a JavaScript Spreadsheet Component available for React, Angular and Vue.",
"homepage": "https://handsontable.com/",
"repository": {
"type": "git",
"url": "https://github.com/handsontable/handsontable.git"
},
"bugs": {
"url": "https://github.com/handsontable/handsontable/issues"
},
"author": "Handsoncode <hello@handsontable.com>",
"version": "14.2.0",
"main": "index",
"module": "index.mjs",
"jsnext:main": "index.mjs",
"jsdelivr": "dist/handsontable.full.min.js",
"unpkg": "dist/handsontable.full.min.js",
"scripts": {
"clean": "rimraf commonjs es coverage tmp",
"lint": "npm run eslint && npm run tslint && npm run type-lint && npm run stylelint",
"lint:fix": "npm run eslint:fix && npm run stylelint:fix",
"stylelint": "stylelint --cache \"src/**/*.css\" \"test/**/*.css\"",
"stylelint:fix": "stylelint --fix \"src/**/*.css\" \"test/**/*.css\"",
"eslint": "eslint --cache src/ test/ .config/plugin scripts/",
"eslint:fix": "eslint --fix src/ test/ .config/plugin scripts/",
"tslint": "tslint -p ./test/types -c ./types/tslint.json",
"type-lint": "cd types && eslint \"./**/*.d.ts\" --config \"./.eslintrc.js\"",
"test": "npm run lint && npm run test:unit && npm run test:types && npm run test:walkontable && npm run test:e2e && npm run test:production",
"test.random": "npm run lint && npm run test:unit && npm run test:types && npm run test:walkontable.random && npm run test:e2e.random && npm run test:production.random",
"test:walkontable": "npm run build:walkontable && npm run test:walkontable.dump && npm run test:walkontable.puppeteer",
"test:walkontable.random": "npm run build:walkontable && npm run test:walkontable.dump && npm run test:walkontable.puppeteer -- --random",
"test:walkontable.watch": "node ./test/scripts/run-puppeteer-on-watchers-change.mjs --cmdToListen \"npm run build:walkontable -- --watch\" --cmdToListen \"npm run test:walkontable.dump -- --watch\" --runnerFile \"src/3rdparty/walkontable/test/SpecRunner.html\"",
"test:walkontable.dump": "cross-env-shell BABEL_ENV=commonjs_e2e NODE_ENV=test-walkontable env-cmd -f ../hot.config.js webpack ./src/3rdparty/walkontable/test/helpers/index.js ./src/3rdparty/walkontable/test/spec/index.js",
"test:walkontable.puppeteer": "node test/scripts/run-puppeteer.mjs src/3rdparty/walkontable/test/SpecRunner.html",
"test:production": "npm run build:umd.min && npm run build:languages.min && npm run test:production.dump && npm run test:e2e.puppeteer",
"test:production.random": "npm run build:umd.min && npm run build:languages.min && npm run test:production.dump && npm run test:e2e.puppeteer -- --random",
"test:production.dump": "cross-env-shell BABEL_ENV=commonjs_e2e NODE_ENV=test-production env-cmd -f ../hot.config.js webpack ./test/helpers/index.js ./test/e2e/index.js",
"test:e2e": "npm run build:umd && npm run build:languages && npm run test:e2e.dump && npm run test:e2e.puppeteer",
"test:e2e.random": "npm run build:umd && npm run build:languages && npm run test:e2e.dump && npm run test:e2e.puppeteer -- --random",
"test:e2e.verbose": "npm run build:umd && npm run build:languages && npm run test:e2e.dump && npm run test:e2e.puppeteer -- --verbose",
"test:e2e.watch": "node ./test/scripts/run-puppeteer-on-watchers-change.mjs --cmdToListen \"npm run watch\" --cmdToListen \"npm run test:e2e.dump -- --watch\" --runnerFile \"test/E2ERunner.html\"",
"test:e2e.dump": "cross-env-shell BABEL_ENV=commonjs_e2e NODE_ENV=test-e2e env-cmd -f ../hot.config.js webpack ./test/helpers/index.js ./test/e2e/index.js",
"test:e2e.puppeteer": "node test/scripts/run-puppeteer.mjs test/E2ERunner.html",
"test:unit": "cross-env-shell npm_config_testPathPattern=. BABEL_ENV=commonjs env-cmd -f ../hot.config.js jest --testPathPattern=$npm_config_testPathPattern",
"test:unit.watch": "cross-env-shell BABEL_ENV=commonjs env-cmd -f ../hot.config.js jest --testPathPattern=$npm_config_testPathPattern --watch",
"test:mobile.dump": "cross-env-shell BABEL_ENV=commonjs_e2e NODE_ENV=test-mobile env-cmd --no-override -f ../hot.config.js webpack ./test/helpers/index.js ./test/e2e/mobile/index.js",
"test:types": "tsc -p ./test/types -t es2015",
"watch": "cross-env-shell BABEL_ENV=commonjs NODE_ENV=watch env-cmd -f ../hot.config.js webpack --watch ./src/index.js",
"build": "npm run clean && npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd.min && npm run build:languages && npm run build:languages.es && npm run build:languages.min",
"build:commonjs": "cross-env-shell BABEL_ENV=commonjs_dist env-cmd -f ../hot.config.js babel src --out-dir tmp",
"build:es": "cross-env-shell BABEL_ENV=es env-cmd -f ../hot.config.js babel src --out-file-extension .mjs --out-dir tmp",
"build:umd": "cross-env-shell BABEL_ENV=commonjs NODE_ENV=development env-cmd -f ../hot.config.js webpack ./src/index.js",
"build:umd.min": "cross-env-shell BABEL_ENV=commonjs NODE_ENV=production env-cmd -f ../hot.config.js webpack ./src/index.js",
"build:walkontable": "cross-env-shell BABEL_ENV=commonjs NODE_ENV=walkontable env-cmd -f ../hot.config.js webpack ./src/3rdparty/walkontable/css/walkontable.scss ./src/3rdparty/walkontable/src/index.js",
"build:languages": "cross-env-shell BABEL_ENV=commonjs NODE_ENV=languages-development env-cmd -f ../hot.config.js webpack",
"build:languages.es": "cross-env-shell BABEL_ENV=es_languages babel src/i18n/languages --out-file-extension .mjs --out-dir languages",
"build:languages.min": "cross-env-shell BABEL_ENV=commonjs NODE_ENV=languages-production env-cmd -f ../hot.config.js webpack",
"publish-package": "cd tmp && npm publish",
"postbuild": "node ./scripts/prepare-package-for-publish.mjs && npm run swap-package-links",
"swap-package-links": "node ./scripts/swap-package-links.mjs handsontable"
},
"keywords": [
"data",
"grid",
"table",
"editor",
"grid-editor",
"data-grid",
"data-table",
"spreadsheet",
"excel",
"tabular-data",
"edit-cell",
"editable-table",
"data-spreadsheet"
],
"dependencies": {
"@handsontable/pikaday": "^1.0.0",
"@types/pikaday": "1.7.4",
"core-js": "^3.31.1",
"dompurify": "^2.1.1",
"moment": "2.29.4",
"numbro": "2.1.2",
"pikaday": "1.8.2"
},
"optionalDependencies": {
"hyperformula": "^2.6.2"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.11.4",
"@babel/eslint-parser": "^7.13.14",
"@babel/eslint-plugin": "^7.13.16",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/polyfill": "^7.8.3",
"@babel/preset-env": "^7.11.0",
"@babel/register": "^7.8.3",
"@babel/runtime": "^7.11.2",
"@babel/types": "^7.12.12",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^26.6.3",
"babel-loader": "^8.0.4",
"babel-plugin-forbidden-imports": "^0.1.2",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-plugin-transform-require-ignore": "^0.1.1",
"chalk": "^4.1.2",
"concurrently": "^6.4.0",
"copy-webpack-plugin": "^6.0.3",
"cross-env": "^7.0.3",
"css-loader": "6.10.0",
"css-minimizer-webpack-plugin": "^5.0.1",
"dtslint": "^4.2.0",
"env-cmd": "^9.0.3",
"eslint": "^7.25.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-handsontable": "file:.config/plugin/eslint",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^32.3.3",
"execa": "^5.0.0",
"fs-extra": "^4.0.2",
"glob": "^7.1.2",
"global-jsdom": "^8.7.0",
"html-parse-stringify": "^3.0.1",
"html-webpack-plugin": "^4.5.2",
"http-server": "^14.1.1",
"jasmine-co": "^1.2.2",
"jasmine-console-reporter": "^3.1.0",
"jasmine-core": "^3.4.0",
"jasmine-terminal-reporter": "^1.0.3",
"jest": "29.7.0",
"jest-cli": "^26.6.3",
"jsdom": "^24.0.0",
"loader-utils": "^1.1.0",
"lodash": "^4.17.20",
"mini-css-extract-plugin": "^2.7.6",
"minimatch": "^3.0.4",
"puppeteer": "^19.2.2",
"replace-in-file": "^6.1.0",
"rimraf": "^3.0.2",
"sass": "^1.58.0",
"sass-loader": "^10.4.1",
"string-replace-loader": "^3.1.0",
"stylelint": "^16.3.1",
"typescript": "3.8.2",
"webpack": "^5.88.1",
"webpack-cli": "^5.1.4"
},
"license": "SEE LICENSE IN LICENSE.txt",
"resolutions": {
"babel-core": "7.0.0-bridge.0"
},
"typings": "./index.d.ts",
"handsontable": {
"copy": [
"dist/handsontable.css",
"dist/handsontable.full.css",
"dist/handsontable.full.js",
"dist/handsontable.full.min.css",
"dist/handsontable.full.min.js",
"dist/handsontable.js",
"dist/handsontable.min.css",
"dist/handsontable.min.js",
"dist/languages",
"dist/README.md",
"languages",
"../CHANGELOG.md",
"../handsontable-non-commercial-license.pdf",
"../LICENSE.txt",
"README.md",
{
"pattern": "types/**/*.d.ts",
"pathSlice": 1
}
],
"exports": [
"./cellTypes/*/+(index)*",
"./cellTypes/+(index|registry)*",
"./languages/!(all.js)",
"./editors/*/+(index)*",
"./editors/+(index|registry)*",
"./plugins/*/+(index)*",
"./plugins/+(index|registry)*",
"./renderers/*/+(index)*",
"./renderers/+(index|registry)*",
"./validators/*/+(index)*",
"./validators/+(index|registry)*",
"./i18n/+(index|registry)*",
"./i18n/languages/*",
"./dist/**/*.+(js|css)",
{
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.js"
}
},
{
"./base": {
"types": "./base.d.ts",
"import": "./base.mjs",
"require": "./base.js"
}
},
{
"./languages/all": {
"import": "./languages/index.mjs",
"require": "./languages/all.js"
}
},
{
"./registry": {
"types": "./registry.d.ts",
"import": "./registry.mjs",
"require": "./registry.js"
}
}
],
"fields": [
"name",
"description",
"homepage",
"repository",
"bugs",
"author",
"version",
"main",
"module",
"jsnext:main",
"jsdelivr",
"unpkg",
"keywords",
"dependencies",
"devDependencies",
"optionalDependencies",
"license",
"typings",
"sideEffects"
]
},
"sideEffects": [
"**/*.css",
"./languages/*"
]
}