package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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.2",
  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.25.2",
  14. "@babel/preset-env": "^7.25.4",
  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. "@rollup/plugin-terser": "^0.4.4",
  21. "@vitejs/plugin-vue": "^5.1.2",
  22. "chalk": "^5.3.0",
  23. "clean-css-cli": "^5.6.3",
  24. "core-js": "^3.38.1",
  25. "cross-env": "^7.0.3",
  26. "cspell": "^8.14.2",
  27. "cypress": "^13.13.3",
  28. "editorconfig-checker": "^5.1.8",
  29. "eslint": "^8.57.0",
  30. "foreach-cli": "^1.8.1",
  31. "glob": "^11.0.0",
  32. "headr": "^0.0.4",
  33. "npm-run-all": "^4.1.5",
  34. "rimraf": "^6.0.1",
  35. "rollup": "^4.21.0",
  36. "rollup-plugin-copy": "^3.5.0",
  37. "sass": "^1.77.8",
  38. "stylelint": "^16.8.2",
  39. "stylelint-config-standard-scss": "^13.1.0",
  40. "vite": "^5.4.2",
  41. "vue": "^3.4.38"
  42. },
  43. "scripts": {
  44. "lint:js": "eslint src",
  45. "lint:css": "stylelint src/**/*.scss",
  46. "lint:spell": "cspell lint --no-progress 'src/**/*.{js,json,vue,scss}' 'site/**/*.md' '*.md'",
  47. "lint:editor": "editorconfig-checker -exclude dist",
  48. "lint": "run-s lint:*",
  49. "test": "cypress run --headless",
  50. "docs:check:api": "cd tools && node check-api.js",
  51. "docs:check:locale": "cd tools && node check-locale.js",
  52. "docs:check": "run-s docs:check:*",
  53. "docs:serve": "bundle exec jekyll serve",
  54. "docs": "bundle exec jekyll build",
  55. "js:build:base": "rollup -c",
  56. "js:build:min": "cross-env NODE_ENV=production rollup -c",
  57. "js:build:banner": "foreach -g \"dist/**/*.min.js\" -x \"headr #{path} -o #{path} --version --homepage --author --license\"",
  58. "js:build:vue": "vite build && mv dist/bootstrap-table-vue.umd.cjs dist/bootstrap-table-vue.umd.js",
  59. "js:build": "run-s js:build:*",
  60. "css:build:src": "sass --no-source-map -I node_modules src:src",
  61. "css:build:base": "sass --no-source-map -I node_modules src:dist",
  62. "css:build:min": "foreach -g \"dist/**/*.css\" -x \"cleancss #{path} -o #{dir}/#{name}.min.css\"",
  63. "css:build:banner": "foreach -g \"dist/**/*.min.css\" -x \"headr #{path} -o #{path} --version --homepage --author --license\"",
  64. "css:build": "run-s css:build:*",
  65. "clean": "rimraf dist",
  66. "build": "run-s lint clean *:build",
  67. "pre-commit": "run-s lint docs:check"
  68. },
  69. "peerDependencies": {
  70. "jquery": "3"
  71. },
  72. "repository": {
  73. "type": "git",
  74. "url": "git+https://github.com/wenzhixin/bootstrap-table.git"
  75. },
  76. "keywords": [
  77. "bootstrap",
  78. "table",
  79. "pagination",
  80. "checkbox",
  81. "radio",
  82. "datatables",
  83. "css",
  84. "css-framework",
  85. "semantic",
  86. "semantic-ui",
  87. "bulma",
  88. "material",
  89. "material-design",
  90. "materialize",
  91. "foundation"
  92. ],
  93. "author": "wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)",
  94. "license": "MIT",
  95. "bugs": {
  96. "url": "https://github.com/wenzhixin/bootstrap-table/issues"
  97. },
  98. "homepage": "https://bootstrap-table.com",
  99. "types": "./index.d.ts",
  100. "cspell": {
  101. "dictionaries": [
  102. "cspell-words"
  103. ],
  104. "dictionaryDefinitions": [
  105. {
  106. "name": "cspell-words",
  107. "path": "./.cspell-words.txt",
  108. "addWords": true
  109. }
  110. ],
  111. "ignoreRegExpList": [
  112. "/.*data:image/png;base64.*/g",
  113. "/ * @author.*/g",
  114. "/ * @update.*/g",
  115. "/ +\"name\": \".*\",/"
  116. ],
  117. "ignorePaths": [
  118. "src/locale/**",
  119. "site/_themes/node_modules/**",
  120. "tools/**",
  121. "DONATORS.md"
  122. ]
  123. }
  124. }