package.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "name": "handsontable",
  3. "description": "Spreadsheet-like data grid editor that provides copy/paste functionality compatible with Excel/Google Docs",
  4. "homepage": "http://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": "0.32.0",
  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 && grunt test-walkontable",
  23. "test:production": "npm run build:umd.min && npm run test:production.dump && grunt test-handsontable",
  24. "test:e2e": "npm run build:umd && npm run test:e2e.dump && grunt test-handsontable",
  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 --testPathPattern=$npm_config_testPathPattern -- --watch'\" \"grunt test-handsontable\"",
  26. "test:unit": "cross-env BABEL_ENV=commonjs jest --testPathPattern=$npm_config_testPathPattern",
  27. "test:unit.watch": "cross-env BABEL_ENV=commonjs jest --testPathPattern=$npm_config_testPathPattern --watch",
  28. "test:walkontable.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-walkontable webpack --hide-modules helpers=./src/3rdparty/walkontable/test/helpers/index.js specs=./src/3rdparty/walkontable/test/spec/index.js",
  29. "test:production.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-production webpack --hide-modules helpers=./test/helpers/index.js e2e=./test/e2e/index.js",
  30. "test:e2e.dump": "cross-env BABEL_ENV=commonjs_e2e NODE_ENV=test-e2e webpack --hide-modules --env.testPathPattern=$npm_config_testPathPattern helpers=./test/helpers/index.js e2e=./test/e2e/index.js",
  31. "test:unit.dump": "cross-env BABEL_ENV=commonjs NODE_ENV=test-unit webpack --hide-modules helpers=./test/helpers/index.js unit=./test/unit/index.js",
  32. "test:types": "tsc -p ./test/types",
  33. "build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd.min",
  34. "build:commonjs": "cross-env BABEL_ENV=commonjs_dist babel src --out-dir commonjs",
  35. "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
  36. "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack --hide-modules ./src/index.js",
  37. "build:umd.min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack --hide-modules ./src/index.js",
  38. "build:walkontable": "cross-env BABEL_ENV=commonjs NODE_ENV=walkontable webpack --hide-modules ./src/3rdparty/walkontable/src/index.js",
  39. "watch": "cross-env BABEL_ENV=commonjs NODE_ENV=watch webpack --hide-modules --watch src/index.js",
  40. "prepublish": "npm run clean && npm run build:commonjs && npm run build:es"
  41. },
  42. "keywords": [
  43. "data",
  44. "grid",
  45. "table",
  46. "editor",
  47. "grid-editor",
  48. "data-grid",
  49. "data-table",
  50. "spreadsheet",
  51. "excel",
  52. "tabular-data",
  53. "edit-cell",
  54. "editable-table",
  55. "data-spreadsheet"
  56. ],
  57. "dependencies": {
  58. "moment": "2.13.0",
  59. "numbro": "1.11.0",
  60. "pikaday": "1.4.0",
  61. "zeroclipboard": "2.3.0"
  62. },
  63. "devDependencies": {
  64. "babel-cli": "^6.24.1",
  65. "babel-core": "^6.24.1",
  66. "babel-eslint": "^7.2.3",
  67. "babel-jest": "^19.0.0",
  68. "babel-loader": "^7.0.0",
  69. "babel-plugin-forbidden-imports": "^0.1.2",
  70. "babel-plugin-transform-object-rest-spread": "^6.23.0",
  71. "babel-plugin-transform-require-ignore": "^0.1.0",
  72. "babel-polyfill": "^6.23.0",
  73. "babel-preset-env": "^1.4.0",
  74. "babel-register": "^6.24.1",
  75. "check-es3-syntax-cli": "^0.2.0",
  76. "concurrently": "^3.4.0",
  77. "copy-webpack-plugin": "^4.0.1",
  78. "cross-env": "^4.0.0",
  79. "css-loader": "^0.28.1",
  80. "eslint": "^3.19.0",
  81. "eslint-config-airbnb-base": "^11.1.3",
  82. "eslint-plugin-import": "^2.2.0",
  83. "extract-text-webpack-plugin": "^2.0.0",
  84. "glob": "^7.1.1",
  85. "grunt": "^1.0.1",
  86. "grunt-lib-phantomjs": "^1.1.0",
  87. "html-webpack-plugin": "^2.28.0",
  88. "jasmine-co": "^1.2.2",
  89. "jasmine-core": "2.5.2",
  90. "jasmine-terminal-reporter": "^1.0.3",
  91. "jest": "^19.0.0",
  92. "loader-utils": "^1.1.0",
  93. "optimize-css-assets-webpack-plugin": "^1.3.1",
  94. "progress-bar-webpack-plugin": "^1.9.3",
  95. "rimraf": "^2.5.4",
  96. "spawn-command": "^0.0.2-1",
  97. "style-loader": "^0.17.0",
  98. "supports-color": "^3.2.3",
  99. "tree-kill": "^1.1.0",
  100. "typescript": "^2.2.2",
  101. "webpack": "^2.5.1"
  102. },
  103. "license": "MIT",
  104. "jest": {
  105. "roots": [
  106. "./test/unit",
  107. "./src/plugins"
  108. ],
  109. "testRegex": "(\\.spec\\.js)|(\\.unit\\.js)$",
  110. "testPathIgnorePatterns": [
  111. "<rootDir>/node_modules/",
  112. "<rootDir>/test/unit/index.js"
  113. ],
  114. "moduleNameMapper": {
  115. "^handsontable(.*)$": "<rootDir>/src$1",
  116. "^walkontable(.*)$": "<rootDir>/src/3rdparty/walkontable/src$1",
  117. "\\.css$": "<rootDir>/test/__mocks__/styleMock.js"
  118. },
  119. "globals": {
  120. "__HOT_BUILD_DATE__": "",
  121. "__HOT_PACKAGE_NAME__": "",
  122. "__HOT_VERSION__": "",
  123. "__HOT_BASE_VERSION__": ""
  124. }
  125. },
  126. "typings": "./handsontable.d.ts"
  127. }