forked from handsontable/handsontable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
127 lines (127 loc) · 6.16 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
{
"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 <[email protected]>",
"version": "0.36.0",
"browser": "dist/handsontable.js",
"main": "commonjs/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"scripts": {
"clean": "rimraf commonjs es coverage",
"lint": "eslint --rule \"no-restricted-globals: 0\" test && eslint --rule \"no-restricted-globals: 0\" --ext .unit.js --ext .e2e.js src/ && eslint --ignore-pattern \"src/plugins/**/test/**\" --ignore-pattern \"^languages/**\" src/",
"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:walkontable": "npm run build:walkontable && npm run test:walkontable.dump && grunt test-walkontable",
"test:production": "npm run build:umd.min && npm run build:languages.min && npm run test:production.dump && grunt test-handsontable",
"test:e2e": "npm run build:umd && npm run build:languages && npm run test:e2e.dump && grunt test-handsontable",
"test:e2e.watch": "node ./.config/bin/trigger-on-stdout-change.js \"concurrently --raw --kill-others 'npm run build:umd -- --watch' 'npm run test:e2e.dump --testPathPattern=$npm_config_testPathPattern -- --watch'\" \"grunt test-handsontable\"",
"test:unit": "cross-env npm_config_testPathPattern=. BABEL_ENV=commonjs env-cmd ./hot.config.js jest --testPathPattern=$npm_config_testPathPattern --runInBand",
"test:unit.watch": "cross-env BABEL_ENV=commonjs env-cmd ./hot.config.js jest --testPathPattern=$npm_config_testPathPattern --watch",
"test:walkontable.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-walkontable env-cmd ./hot.config.js webpack --hide-modules helpers=./src/3rdparty/walkontable/test/helpers/index.js specs=./src/3rdparty/walkontable/test/spec/index.js",
"test:production.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-production env-cmd ./hot.config.js webpack --hide-modules helpers=./test/helpers/index.js e2e=./test/e2e/index.js",
"test:e2e.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-e2e env-cmd ./hot.config.js webpack --hide-modules --env.testPathPattern=$npm_config_testPathPattern helpers=./test/helpers/index.js e2e=./test/e2e/index.js",
"test:types": "tsc -p ./test/types",
"build": "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.min",
"build:commonjs": "cross-env BABEL_ENV=commonjs_dist env-cmd ./hot.config.js babel src --out-dir commonjs",
"build:es": "cross-env BABEL_ENV=es env-cmd ./hot.config.js babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development env-cmd ./hot.config.js webpack --hide-modules ./src/index.js",
"build:umd.min": "cross-env BABEL_ENV=commonjs NODE_ENV=production env-cmd ./hot.config.js webpack --hide-modules ./src/index.js",
"build:walkontable": "cross-env BABEL_ENV=commonjs NODE_ENV=walkontable env-cmd ./hot.config.js webpack --hide-modules ./src/3rdparty/walkontable/src/index.js",
"build:languages": "cross-env BABEL_ENV=commonjs NODE_ENV=languages-development env-cmd ./hot.config.js webpack",
"build:languages.min": "cross-env BABEL_ENV=commonjs NODE_ENV=languages-production env-cmd ./hot.config.js webpack",
"watch": "cross-env BABEL_ENV=commonjs NODE_ENV=watch env-cmd ./hot.config.js webpack --hide-modules --watch src/index.js",
"prepublish": "npm run clean && npm run build:commonjs && npm run build:es"
},
"keywords": [
"data",
"grid",
"table",
"editor",
"grid-editor",
"data-grid",
"data-table",
"spreadsheet",
"excel",
"tabular-data",
"edit-cell",
"editable-table",
"data-spreadsheet"
],
"dependencies": {
"moment": "2.20.1",
"numbro": "1.11.0",
"pikaday": "1.5.1"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^19.0.0",
"babel-loader": "^7.1.1",
"babel-plugin-forbidden-imports": "^0.1.2",
"babel-plugin-transform-inline-environment-variables": "^0.2.0",
"babel-plugin-transform-object-rest-spread": "^6.23.0",
"babel-plugin-transform-require-ignore": "^0.1.1",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.24.1",
"check-es3-syntax-cli": "^0.2.0",
"concurrently": "^3.5.0",
"copy-webpack-plugin": "^4.0.1",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"env-cmd": "^5.1.0",
"eslint": "^4.3.0",
"eslint-config-airbnb-base": "^11.3.1",
"eslint-plugin-import": "^2.7.0",
"extract-text-webpack-plugin": "^3.0.0",
"fs-extra": "^4.0.2",
"glob": "^7.1.2",
"grunt": "^1.0.1",
"grunt-lib-phantomjs": "^1.1.0",
"html-webpack-plugin": "^2.30.1",
"jasmine-co": "^1.2.2",
"jasmine-core": "2.5.2",
"jasmine-terminal-reporter": "^1.0.3",
"jest": "^19.0.0",
"loader-utils": "^1.1.0",
"on-build-webpack": "^0.1.0",
"optimize-css-assets-webpack-plugin": "^3.1.1",
"progress-bar-webpack-plugin": "^1.10.0",
"request": "^2.81.0",
"rimraf": "^2.5.4",
"spawn-command": "0.0.2",
"string-replace-webpack-plugin": "^0.1.3",
"style-loader": "^0.18.2",
"supports-color": "^4.2.1",
"tree-kill": "^1.1.0",
"typescript": "^2.4.2",
"webpack": "^3.5.6"
},
"license": "MIT",
"jest": {
"roots": [
"./test/unit",
"./src/plugins"
],
"setupTestFrameworkScriptFile": "<rootDir>/test/helpers/jasmine.js",
"testRegex": "(\\.spec\\.js)|(\\.unit\\.js)$",
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"moduleNameMapper": {
"^handsontable(.*)$": "<rootDir>/src$1",
"^walkontable(.*)$": "<rootDir>/src/3rdparty/walkontable/src$1",
"\\.css$": "<rootDir>/test/__mocks__/styleMock.js"
}
},
"typings": "./handsontable.d.ts"
}