package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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.22.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.21.0",
  14. "@babel/preset-env": "^7.20.2",
  15. "@rollup/plugin-babel": "^6.0.3",
  16. "@rollup/plugin-commonjs": "^25.0.0",
  17. "@rollup/plugin-inject": "^5.0.3",
  18. "@rollup/plugin-multi-entry": "^6.0.0",
  19. "@rollup/plugin-node-resolve": "^15.0.1",
  20. "@vue/compiler-sfc": "^3.2.47",
  21. "chalk": "^5.2.0",
  22. "clean-css-cli": "^5.6.2",
  23. "core-js": "^3.29.0",
  24. "cross-env": "^7.0.3",
  25. "cspell": "^7.3.2",
  26. "cypress": "^13.1.0",
  27. "eslint": "^8.35.0",
  28. "esm": "^3.2.25",
  29. "foreach-cli": "^1.8.1",
  30. "glob": "^10.2.1",
  31. "headr": "^0.0.4",
  32. "node-sass": "^9.0.0",
  33. "npm-run-all": "^4.1.5",
  34. "rimraf": "^5.0.0",
  35. "rollup": "^4.0.2",
  36. "rollup-plugin-copy": "^3.4.0",
  37. "rollup-plugin-terser": "^7.0.2",
  38. "rollup-plugin-vue": "5.1.9",
  39. "stylelint": "^15.2.0",
  40. "stylelint-config-standard-scss": "^11.0.0",
  41. "vue-template-compiler": "^2.7.14"
  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}' '**/*.md'",
  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": "run-s js:build:*",
  58. "css:build:src": "node-sass --output-style expanded src -o src",
  59. "css:build:base": "node-sass --output-style expanded src -o dist",
  60. "css:build:min": "foreach -g \"dist/**/*.css\" -x \"cleancss #{path} -o #{dir}/#{name}.min.css\"",
  61. "css:build:banner": "foreach -g \"dist/**/*.min.css\" -x \"headr #{path} -o #{path} --version --homepage --author --license\"",
  62. "css:build": "run-s css:build:*",
  63. "clean": "rimraf dist",
  64. "build": "run-s lint clean *:build",
  65. "pre-commit": "run-s lint docs:check"
  66. },
  67. "peerDependencies": {
  68. "jquery": "3"
  69. },
  70. "repository": {
  71. "type": "git",
  72. "url": "https://github.com/wenzhixin/bootstrap-table.git"
  73. },
  74. "keywords": [
  75. "bootstrap",
  76. "table",
  77. "pagination",
  78. "checkbox",
  79. "radio",
  80. "datatables",
  81. "css",
  82. "css-framework",
  83. "semantic",
  84. "semantic-ui",
  85. "bulma",
  86. "material",
  87. "material-design",
  88. "materialize",
  89. "foundation"
  90. ],
  91. "author": "wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)",
  92. "license": "MIT",
  93. "bugs": {
  94. "url": "https://github.com/wenzhixin/bootstrap-table/issues"
  95. },
  96. "homepage": "https://bootstrap-table.com",
  97. "types": "./index.d.ts",
  98. "cspell": {
  99. "dictionaries": [
  100. "cspell-words"
  101. ],
  102. "dictionaryDefinitions": [
  103. {
  104. "name": "cspell-words",
  105. "path": "./.cspell-words.txt",
  106. "addWords": true
  107. }
  108. ],
  109. "ignoreRegExpList": [
  110. "/.*data:image/png;base64.*/g",
  111. "/ * @author.*/g",
  112. "/ * @update.*/g",
  113. "/ +\"name\": \".*\",/"
  114. ],
  115. "ignorePaths": [
  116. "src/locale/**",
  117. "site/_themes/node_modules/**",
  118. "tools/**",
  119. "DONATORS.md"
  120. ]
  121. }
  122. }