package.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "@sc/handsontable",
  3. "description": "Handsontable is a JavaScript Spreadsheet Component available for React, Angular and Vue.",
  4. "homepage": "https://handsontable.com/",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://github.com/handsontable/handsontable.git"
  8. },
  9. "bugs": {
  10. "url": "https://github.com/handsontable/handsontable/issues"
  11. },
  12. "author": "Handsoncode <hello@handsontable.com>",
  13. "version": "6.3.3",
  14. "browser": "dist/handsontable.js",
  15. "main": "commonjs/index.js",
  16. "module": "es/index.js",
  17. "jsnext:main": "es/index.js",
  18. "scripts": {
  19. "clean": "rimraf commonjs es coverage",
  20. "lint": "eslint src/ test/",
  21. "test": "npm run lint && npm run test:unit && npm run test:types && npm run test:walkontable && npm run test:e2e && npm run test:production",
  22. "test:walkontable": "npm run build:walkontable && npm run test:walkontable.dump && npm run test:walkontable.puppeteer",
  23. "test:production": "npm run build:umd.min && npm run build:languages.min && npm run test:production.dump && npm run test:e2e.puppeteer",
  24. "test:e2e": "npm run build:umd && npm run build:languages && npm run test:e2e.dump && npm run test:e2e.puppeteer",
  25. "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 -- --watch'\" \"npm run test:e2e.puppeteer\"",
  26. "test:e2e.puppeteer": "node test/scripts/run-puppeteer.js test/E2ERunner.html",
  27. "test:unit": "cross-env npm_config_testPathPattern=. BABEL_ENV=commonjs env-cmd ./hot.config.js jest --testPathPattern=$npm_config_testPathPattern",
  28. "test:unit.watch": "cross-env BABEL_ENV=commonjs env-cmd ./hot.config.js jest --testPathPattern=$npm_config_testPathPattern --watch",
  29. "test:walkontable.puppeteer": "node test/scripts/run-puppeteer.js src/3rdparty/walkontable/test/SpecRunner.html",
  30. "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",
  31. "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",
  32. "test:e2e.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-e2e env-cmd ./hot.config.js webpack --hide-modules helpers=./test/helpers/index.js e2e=./test/e2e/index.js",
  33. "test:mobile.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-mobile env-cmd ./hot.config.js webpack --hide-modules helpers=./test/helpers/index.js mobile=./test/e2e/mobile/index.js",
  34. "test:types": "tsc -p ./test/types",
  35. "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",
  36. "build:commonjs": "cross-env BABEL_ENV=commonjs_dist env-cmd ./hot.config.js babel src --out-dir commonjs",
  37. "build:es": "cross-env BABEL_ENV=es env-cmd ./hot.config.js babel src --out-dir es",
  38. "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development env-cmd ./hot.config.js webpack --hide-modules ./src/index.js",
  39. "build:umd.min": "cross-env BABEL_ENV=commonjs NODE_ENV=production env-cmd ./hot.config.js webpack --hide-modules ./src/index.js",
  40. "build:walkontable": "cross-env BABEL_ENV=commonjs NODE_ENV=walkontable env-cmd ./hot.config.js webpack --hide-modules ./src/3rdparty/walkontable/src/index.js",
  41. "build:languages": "cross-env BABEL_ENV=commonjs NODE_ENV=languages-development env-cmd ./hot.config.js webpack",
  42. "build:languages.min": "cross-env BABEL_ENV=commonjs NODE_ENV=languages-production env-cmd ./hot.config.js webpack",
  43. "watch": "cross-env BABEL_ENV=commonjs NODE_ENV=watch env-cmd ./hot.config.js webpack --hide-modules --watch src/index.js",
  44. "prepublish": "npm run clean && npm run build:commonjs && npm run build:es"
  45. },
  46. "keywords": [
  47. "data",
  48. "grid",
  49. "table",
  50. "editor",
  51. "grid-editor",
  52. "data-grid",
  53. "data-table",
  54. "spreadsheet",
  55. "excel",
  56. "tabular-data",
  57. "edit-cell",
  58. "editable-table",
  59. "data-spreadsheet"
  60. ],
  61. "dependencies": {
  62. "moment": "2.20.1",
  63. "numbro": "^2.0.6",
  64. "pikaday": "1.5.1"
  65. },
  66. "devDependencies": {
  67. "@babel/cli": "^7.1.5",
  68. "@babel/core": "^7.1.6",
  69. "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
  70. "@babel/polyfill": "^7.0.0",
  71. "@babel/preset-env": "^7.1.6",
  72. "@babel/register": "^7.0.0",
  73. "@typescript-eslint/eslint-plugin": "^4.12.0",
  74. "@typescript-eslint/parser": "^4.12.0",
  75. "babel-core": "7.0.0-bridge.0",
  76. "babel-eslint": "^7.2.3",
  77. "babel-jest": "^23.6.0",
  78. "babel-loader": "^8.0.4",
  79. "babel-plugin-forbidden-imports": "^0.1.2",
  80. "babel-plugin-transform-inline-environment-variables": "^0.4.3",
  81. "babel-plugin-transform-require-ignore": "^0.1.1",
  82. "check-es3-syntax-cli": "^0.2.0",
  83. "concurrently": "^3.5.0",
  84. "copy-webpack-plugin": "^4.6.0",
  85. "cross-env": "^5.0.1",
  86. "css-loader": "^0.28.4",
  87. "ecstatic": "^3.2.0",
  88. "env-cmd": "^5.1.0",
  89. "eslint": "^7.17.0",
  90. "eslint-config-airbnb-base": "^11.3.1",
  91. "eslint-plugin-import": "^2.7.0",
  92. "extract-text-webpack-plugin": "^3.0.0",
  93. "fs-extra": "^4.0.2",
  94. "glob": "^7.1.2",
  95. "html-webpack-plugin": "^2.30.1",
  96. "jasmine-co": "^1.2.2",
  97. "jasmine-core": "2.5.2",
  98. "jasmine-terminal-reporter": "^1.0.3",
  99. "jest": "^23.6.0",
  100. "jest-cli": "^23.6.0",
  101. "loader-utils": "^1.1.0",
  102. "on-build-webpack": "^0.1.0",
  103. "optimize-css-assets-webpack-plugin": "^3.1.1",
  104. "progress-bar-webpack-plugin": "^1.10.0",
  105. "puppeteer": "^1.10.0",
  106. "request": "^2.81.0",
  107. "rimraf": "^2.5.4",
  108. "spawn-command": "0.0.2",
  109. "string-replace-webpack-plugin": "^0.1.3",
  110. "style-loader": "^0.18.2",
  111. "supports-color": "^4.2.1",
  112. "tree-kill": "^1.2.1",
  113. "typescript": "^2.4.2",
  114. "uglifyjs-webpack-plugin": "^1.3.0",
  115. "webpack": "^3.5.6"
  116. },
  117. "license": "MIT",
  118. "resolutions": {
  119. "babel-core": "7.0.0-bridge.0"
  120. },
  121. "jest": {
  122. "roots": [
  123. "./test/unit",
  124. "./src/plugins"
  125. ],
  126. "setupTestFrameworkScriptFile": "<rootDir>/test/bootstrap.js",
  127. "testRegex": "(\\.spec\\.js)|(\\.unit\\.js)$",
  128. "testPathIgnorePatterns": [
  129. "<rootDir>/node_modules/"
  130. ],
  131. "moduleNameMapper": {
  132. "^handsontable(.*)$": "<rootDir>/src$1",
  133. "^walkontable(.*)$": "<rootDir>/src/3rdparty/walkontable/src$1",
  134. "\\.css$": "<rootDir>/test/__mocks__/styleMock.js"
  135. }
  136. },
  137. "typings": "./handsontable.d.ts"
  138. }