package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "bootstrap-table",
  3. "description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)",
  4. "version": "1.23.1",
  5. "type": "module",
  6. "style": "dist/bootstrap-table.min.css",
  7. "sass": "src/bootstrap-table.scss",
  8. "main": "dist/bootstrap-table.min.js",
  9. "directories": {
  10. "doc": "site"
  11. },
  12. "devDependencies": {
  13. "@babel/core": "^7.24.8",
  14. "@babel/preset-env": "^7.24.8",
  15. "@rollup/plugin-babel": "^6.0.4",
  16. "@rollup/plugin-commonjs": "^26.0.1",
  17. "@rollup/plugin-inject": "^5.0.5",
  18. "@rollup/plugin-multi-entry": "^6.0.1",
  19. "@rollup/plugin-node-resolve": "^15.2.3",
  20. "@vitejs/plugin-vue": "^5.0.5",
  21. "chalk": "^5.3.0",
  22. "clean-css-cli": "^5.6.3",
  23. "cross-env": "^7.0.3",
  24. "cspell": "^8.10.4",
  25. "cypress": "^13.13.0",
  26. "editorconfig-checker": "^5.1.8",
  27. "eslint": "^8.57.0",
  28. "foreach-cli": "^1.8.1",
  29. "glob": "^11.0.0",
  30. "headr": "^0.0.4",
  31. "npm-run-all": "^4.1.5",
  32. "rimraf": "^6.0.1",
  33. "rollup": "^4.18.1",
  34. "rollup-plugin-copy": "^3.5.0",
  35. "@rollup/plugin-terser": "^0.4.4",
  36. "sass": "^1.77.8",
  37. "stylelint": "^16.7.0",
  38. "stylelint-config-standard-scss": "^13.1.0",
  39. "vite": "^5.3.3",
  40. "vue": "^3.4.31"
  41. },
  42. "scripts": {
  43. "lint:js": "eslint src",
  44. "lint:css": "stylelint src/**/*.scss",
  45. "lint:spell": "cspell lint --no-progress 'src/**/*.{js,json,vue,scss}' 'site/**/*.md' '*.md'",
  46. "lint:editor": "editorconfig-checker -exclude dist",
  47. "lint": "run-s lint:*",
  48. "test": "cypress run --headless",
  49. "docs:check:api": "cd tools && node check-api.js",
  50. "docs:check:locale": "cd tools && node check-locale.js",
  51. "docs:check": "run-s docs:check:*",
  52. "docs:serve": "bundle exec jekyll serve",
  53. "docs": "bundle exec jekyll build",
  54. "js:build:base": "rollup -c",
  55. "js:build:min": "cross-env NODE_ENV=production rollup -c",
  56. "js:build:banner": "foreach -g \"dist/**/*.min.js\" -x \"headr #{path} -o #{path} --version --homepage --author --license\"",
  57. "js:build:vue": "vite build && mv dist/bootstrap-table-vue.umd.cjs dist/bootstrap-table-vue.umd.js",
  58. "js:build": "run-s js:build:*",
  59. "css:build:src": "sass --no-source-map -I node_modules src:src",
  60. "css:build:base": "sass --no-source-map -I node_modules -s compressed src:dist",
  61. "css:build:min": "foreach -g \"dist/**/*.css\" -x \"cleancss #{path} -o #{dir}/#{name}.min.css\"",
  62. "css:build:banner": "foreach -g \"dist/**/*.min.css\" -x \"headr #{path} -o #{path} --version --homepage --author --license\"",
  63. "css:build": "run-s css:build:*",
  64. "clean": "rimraf dist",
  65. "build": "run-s lint clean *:build",
  66. "pre-commit": "run-s lint docs:check"
  67. },
  68. "peerDependencies": {
  69. "jquery": "3"
  70. },
  71. "repository": {
  72. "type": "git",
  73. "url": "git+https://github.com/wenzhixin/bootstrap-table.git"
  74. },
  75. "keywords": [
  76. "bootstrap",
  77. "table",
  78. "pagination",
  79. "checkbox",
  80. "radio",
  81. "datatables",
  82. "css",
  83. "css-framework",
  84. "semantic",
  85. "semantic-ui",
  86. "bulma",
  87. "material",
  88. "material-design",
  89. "materialize",
  90. "foundation"
  91. ],
  92. "author": "wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)",
  93. "license": "MIT",
  94. "bugs": {
  95. "url": "https://github.com/wenzhixin/bootstrap-table/issues"
  96. },
  97. "homepage": "https://bootstrap-table.com",
  98. "types": "./index.d.ts",
  99. "cspell": {
  100. "dictionaries": [
  101. "cspell-words"
  102. ],
  103. "dictionaryDefinitions": [
  104. {
  105. "name": "cspell-words",
  106. "path": "./.cspell-words.txt",
  107. "addWords": true
  108. }
  109. ],
  110. "ignoreRegExpList": [
  111. "/.*data:image/png;base64.*/g",
  112. "/ * @author.*/g",
  113. "/ * @update.*/g",
  114. "/ +\"name\": \".*\",/"
  115. ],
  116. "ignorePaths": [
  117. "src/locale/**",
  118. "site/_themes/node_modules/**",
  119. "tools/**",
  120. "DONATORS.md"
  121. ]
  122. }
  123. }