package.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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.14",
  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. "@sc/util": "^1.0.7",
  63. "moment": "2.20.1",
  64. "numbro": "^2.0.6",
  65. "pikaday": "1.5.1"
  66. },
  67. "devDependencies": {
  68. "@babel/cli": "^7.1.5",
  69. "@babel/core": "^7.1.6",
  70. "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
  71. "@babel/polyfill": "^7.0.0",
  72. "@babel/preset-env": "^7.1.6",
  73. "@babel/register": "^7.0.0",
  74. "@typescript-eslint/eslint-plugin": "^4.12.0",
  75. "@typescript-eslint/parser": "^4.12.0",
  76. "babel-core": "7.0.0-bridge.0",
  77. "babel-eslint": "^7.2.3",
  78. "babel-jest": "^23.6.0",
  79. "babel-loader": "^8.0.4",
  80. "babel-plugin-forbidden-imports": "^0.1.2",
  81. "babel-plugin-transform-inline-environment-variables": "^0.4.3",
  82. "babel-plugin-transform-require-ignore": "^0.1.1",
  83. "check-es3-syntax-cli": "^0.2.0",
  84. "concurrently": "^3.5.0",
  85. "copy-webpack-plugin": "^4.6.0",
  86. "cross-env": "^5.0.1",
  87. "css-loader": "^0.28.4",
  88. "ecstatic": "^3.2.0",
  89. "env-cmd": "^5.1.0",
  90. "eslint": "^7.17.0",
  91. "eslint-config-airbnb-base": "^11.3.1",
  92. "eslint-plugin-import": "^2.7.0",
  93. "extract-text-webpack-plugin": "^3.0.0",
  94. "fs-extra": "^4.0.2",
  95. "glob": "^7.1.2",
  96. "html-webpack-plugin": "^2.30.1",
  97. "jasmine-co": "^1.2.2",
  98. "jasmine-core": "2.5.2",
  99. "jasmine-terminal-reporter": "^1.0.3",
  100. "jest": "^23.6.0",
  101. "jest-cli": "^23.6.0",
  102. "loader-utils": "^1.1.0",
  103. "on-build-webpack": "^0.1.0",
  104. "optimize-css-assets-webpack-plugin": "^3.1.1",
  105. "progress-bar-webpack-plugin": "^1.10.0",
  106. "puppeteer": "^1.10.0",
  107. "request": "^2.81.0",
  108. "rimraf": "^2.5.4",
  109. "spawn-command": "0.0.2",
  110. "string-replace-webpack-plugin": "^0.1.3",
  111. "style-loader": "^0.18.2",
  112. "supports-color": "^4.2.1",
  113. "tree-kill": "^1.2.1",
  114. "typescript": "^2.4.2",
  115. "uglifyjs-webpack-plugin": "^1.3.0",
  116. "webpack": "^3.5.6"
  117. },
  118. "license": "MIT",
  119. "resolutions": {
  120. "babel-core": "7.0.0-bridge.0"
  121. },
  122. "jest": {
  123. "roots": [
  124. "./test/unit",
  125. "./src/plugins"
  126. ],
  127. "setupTestFrameworkScriptFile": "<rootDir>/test/bootstrap.js",
  128. "testRegex": "(\\.spec\\.js)|(\\.unit\\.js)$",
  129. "testPathIgnorePatterns": [
  130. "<rootDir>/node_modules/"
  131. ],
  132. "moduleNameMapper": {
  133. "^handsontable(.*)$": "<rootDir>/src$1",
  134. "^walkontable(.*)$": "<rootDir>/src/3rdparty/walkontable/src$1",
  135. "\\.css$": "<rootDir>/test/__mocks__/styleMock.js"
  136. }
  137. },
  138. "typings": "./handsontable.d.ts"
  139. }