package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "bootstrap-table",
  3. "description": "An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).",
  4. "version": "1.13.1",
  5. "main": "./dist/bootstrap-table.js",
  6. "directories": {
  7. "doc": "docs"
  8. },
  9. "devDependencies": {
  10. "babel-cli": "^6.26.0",
  11. "babel-preset-babili": "^0.1.4",
  12. "babel-preset-env": "^1.7.0",
  13. "babel-preset-stage-0": "^6.24.1",
  14. "cssmin-cli": "^0.0.5",
  15. "eslint": "^4.19.1",
  16. "headr": "^0.0.4",
  17. "npm-run-all": "^4.1.5",
  18. "opencollective": "^1.0.3"
  19. },
  20. "scripts": {
  21. "postinstall": "opencollective postinstall || exit 0",
  22. "lint": "eslint src/bootstrap-table.js src/locale src/extensions/export src/extensions/editable src/extensions/toolbar src/extension/filter-control",
  23. "js:build:min": "NODE_ENV=production babel src -d dist -q && find dist -name '*.js' | sed -e 'p;s/.js/.min.js/' | xargs -n2 mv",
  24. "js:build:base": "babel src -d dist -q",
  25. "js:build:concat": "babel src/locale -o dist/bootstrap-table-locale-all.js && NODE_ENV=production babel src/locale -o dist/bootstrap-table-locale-all.min.js",
  26. "js:build:banner": "find dist -name '*.min.js' -exec headr {} -o {} --version --homepage --author --license \\;",
  27. "js:build": "run-s js:build:*",
  28. "css:build:base": "find src -name '*.css' | sed -e 'p;s/src/dist/' | xargs -n2 cp",
  29. "css:build:min": "find dist -name '*.css' | sed -e 'p;s/.css/.min.css/' | xargs -n2 cssmin",
  30. "css:build:banner": "find dist -name '*.min.css' -exec headr {} -o {} --version --homepage --author --license \\;",
  31. "css:build": "run-s css:build:*",
  32. "clean": "rm -rf dist",
  33. "build": "run-s clean *:build"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "https://github.com/wenzhixin/bootstrap-table.git"
  38. },
  39. "keywords": [
  40. "bootstrap",
  41. "table",
  42. "radio",
  43. "checkbox",
  44. "sort",
  45. "pagination",
  46. "editable"
  47. ],
  48. "author": "wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)",
  49. "license": "MIT",
  50. "bugs": {
  51. "url": "https://github.com/wenzhixin/bootstrap-table/issues"
  52. },
  53. "homepage": "http://bootstrap-table.wenzhixin.net.cn",
  54. "config": {
  55. "commitizen": {
  56. "path": "./node_modules/cz-conventional-changelog"
  57. }
  58. },
  59. "types": "./index.d.ts",
  60. "collective": {
  61. "type": "opencollective",
  62. "url": "https://opencollective.com/bootstrap-table",
  63. "logo": "https://opencollective.com/bootstrap-table/logo.txt"
  64. }
  65. }