package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.3",
  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. "sass": "^1.16.1"
  19. },
  20. "scripts": {
  21. "lint": "eslint src/bootstrap-table.js src/locale src/extensions/export src/extensions/editable src/extensions/toolbar src/extensions/filter-control src/extensions/cookie",
  22. "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",
  23. "js:build:base": "babel src -d dist -q",
  24. "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",
  25. "js:build:banner": "find dist -name '*.min.js' -exec headr {} -o {} --version --homepage --author --license \\;",
  26. "js:build": "run-s js:build:*",
  27. "css:build:scss": "sass src/bootstrap-table.scss src/bootstrap-table.css",
  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 lint clean *:build",
  34. "docs": "bundle exec jekyll build",
  35. "docs-serve": "bundle exec jekyll serve"
  36. },
  37. "repository": {
  38. "type": "git",
  39. "url": "https://github.com/wenzhixin/bootstrap-table.git"
  40. },
  41. "keywords": [
  42. "bootstrap",
  43. "table",
  44. "radio",
  45. "checkbox",
  46. "sort",
  47. "pagination",
  48. "editable"
  49. ],
  50. "author": "wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)",
  51. "license": "MIT",
  52. "bugs": {
  53. "url": "https://github.com/wenzhixin/bootstrap-table/issues"
  54. },
  55. "homepage": "https://bootstrap-table.com",
  56. "config": {
  57. "commitizen": {
  58. "path": "./node_modules/cz-conventional-changelog"
  59. }
  60. },
  61. "types": "./index.d.ts"
  62. }