package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. },
  19. "scripts": {
  20. "lint": "eslint src/bootstrap-table.js src/locale src/extensions/export src/extensions/editable src/extensions/toolbar src/extensions/filter-control src/extensions/cookie",
  21. "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",
  22. "js:build:base": "babel src -d dist -q",
  23. "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",
  24. "js:build:banner": "find dist -name '*.min.js' -exec headr {} -o {} --version --homepage --author --license \\;",
  25. "js:build": "run-s js:build:*",
  26. "css:build:base": "find src -name '*.css' | sed -e 'p;s/src/dist/' | xargs -n2 cp",
  27. "css:build:min": "find dist -name '*.css' | sed -e 'p;s/.css/.min.css/' | xargs -n2 cssmin",
  28. "css:build:banner": "find dist -name '*.min.css' -exec headr {} -o {} --version --homepage --author --license \\;",
  29. "css:build": "run-s css:build:*",
  30. "clean": "rm -rf dist",
  31. "build": "run-s lint clean *:build",
  32. "docs": "bundle exec jekyll build",
  33. "docs-serve": "bundle exec jekyll serve"
  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. }