package.json 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "name": "tabler",
  3. "version": "1.0.0-alpha.4",
  4. "version_short": "1.0.0-alpha.4",
  5. "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
  6. "scripts": {
  7. "start": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch",
  8. "start-incremental": "npm-run-all clean css-main js-compile-standalone --parallel browsersync watch-incremental",
  9. "build": "BUNDLE=true npm-run-all clean-build html-build css-build js-compile-bundle js-libs-bundle images-copy-build assets-copy-build",
  10. "build-demo": "BUNDLE=true npm-run-all clean-build html-build-demo css-build js-compile-bundle js-libs-bundle images-copy-build assets-copy-build",
  11. "bundlesize": "bundlesize",
  12. "browsersync": "node build/browsersync.js",
  13. "images-copy-build": "cp -R img/* dist/img/",
  14. "assets-copy-build": "mkdir -p demo/dist && cp -R dist/* demo/dist/ && mkdir -p demo/static && cp -R static/* demo/static/",
  15. "html-build": "JEKYLL_ENV=production bundle exec jekyll build --destination demo",
  16. "html-build-demo": "JEKYLL_ENV=production bundle exec jekyll build --destination demo --config _config.yml,_config-demo.yml",
  17. "lint": "npm-run-all --parallel js-lint css-lint",
  18. "clean": "rm -rf tmp-dist && mkdir tmp-dist && mkdir tmp-dist/css && mkdir tmp-dist/js",
  19. "clean-build": "rm -rf dist && mkdir dist && mkdir dist/css && mkdir dist/js && mkdir dist/img",
  20. "css": "npm-run-all css-compile",
  21. "css-build": "npm-run-all css-compile css-prefix-build css-minify-build",
  22. "css-compile": "node build/scss-compile.js",
  23. "css-prefix": "postcss --config build/postcss.config.js --replace \"tmp-dist/css/*.css\" \"!tmp-dist/css/*.min.css\"",
  24. "css-prefix-build": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
  25. "css-minify": "for i in tmp-dist/css/*.css;do echo $i; N=`echo $i | sed -e 's/^dist\\/css\\///g' | sed -e 's/\\\\.css//g'`; echo $N; cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output tmp-dist/css/$N.min.css tmp-dist/css/$N.css; done",
  26. "css-minify-build": "for i in dist/css/*.css;do echo $i; N=`echo $i | sed -e 's/^dist\\/css\\///g' | sed -e 's/\\\\.css//g'`; echo $N; cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/$N.min.css dist/css/$N.css; done",
  27. "css-lint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
  28. "css-main": "npm-run-all css-compile css-prefix",
  29. "css-main-build": "npm-run-all css-lint css-compile css-prefix-build css-minify",
  30. "watch": "npm-run-all --parallel watch-css watch-js watch-html",
  31. "watch-incremental": "npm-run-all --parallel watch-css watch-js watch-html-incremental",
  32. "watch-css": "nodemon --watch scss/ --ext scss --exec \"npm run css-main\"",
  33. "watch-js": "nodemon --watch js/ --ext js --exec \"npm run js-compile-standalone\"",
  34. "watch-html": "JEKYLL_ENV=development bundle exec jekyll build --watch",
  35. "watch-html-incremental": "JEKYLL_ENV=development bundle exec jekyll build --watch --incremental",
  36. "js-libs-bundle": "rm -rf dist/libs && mkdir dist/libs && node build/copy-libs.js",
  37. "js-lint": "eslint --cache --cache-location .cache/.eslintcache js build/",
  38. "js-compile-standalone": "rollup --environment BUNDLE:false --config build/rollup.config.js --sourcemap",
  39. "js-compile-bundle": "rollup --environment BUNDLE:true --config build/rollup.config.js --sourcemap",
  40. "svg-svgo": "svgo -f svg/fe --pretty && svgo -f svg/brand --pretty",
  41. "unused-files": "node build/unused-files.js"
  42. },
  43. "repository": {
  44. "type": "git",
  45. "url": "git+https://github.com/tabler/tabler.git"
  46. },
  47. "keywords": [
  48. "css",
  49. "sass",
  50. "mobile-first",
  51. "responsive",
  52. "front-end",
  53. "framework",
  54. "web"
  55. ],
  56. "author": "codecalm",
  57. "license": "MIT",
  58. "bugs": {
  59. "url": "https://github.com/tabler/tabler/issues"
  60. },
  61. "funding": {
  62. "type": "github",
  63. "url": "https://github.com/sponsors/codecalm"
  64. },
  65. "engines": {
  66. "node": ">=10"
  67. },
  68. "files": [
  69. "dist/{css,js,img}/*.{css,js,map,svg}",
  70. "js/**/*.{js,map}",
  71. "img/**/*.{svg}",
  72. "scss/**/*.scss"
  73. ],
  74. "style": "dist/css/tabler.css",
  75. "sass": "scss/tabler.scss",
  76. "main": "dist/js/tabler.js",
  77. "homepage": "https://tabler.io",
  78. "devDependencies": {
  79. "@babel/preset-env": "7.8.7",
  80. "browser-sync": "2.26.7",
  81. "bundlesize": "0.18.0",
  82. "clean-css-cli": "4.3.0",
  83. "cross-env": "7.0.2",
  84. "eslint": "6.8.0",
  85. "eslint-config-xo": "0.29.1",
  86. "eslint-plugin-import": "2.20.1",
  87. "eslint-plugin-unicorn": "17.0.1",
  88. "glob": "7.1.6",
  89. "http-server": "0.12.1",
  90. "icon-font-generator": "2.1.10",
  91. "node-sass": "4.13.1",
  92. "node-sass-package-importer": "5.3.2",
  93. "nodemon": "2.0.2",
  94. "npm-run-all": "4.1.5",
  95. "percy": "0.24.3",
  96. "postcss-cli": "7.1.0",
  97. "rollup": "2.0.2",
  98. "rollup-plugin-babel": "4.4.0",
  99. "rollup-plugin-babel-minify": "9.1.1",
  100. "rollup-plugin-commonjs": "10.1.0",
  101. "rollup-plugin-filesize": "6.2.1",
  102. "rollup-plugin-multi-input": "1.1.1",
  103. "rollup-plugin-node-resolve": "5.2.0",
  104. "shelljs": "^0.8.3",
  105. "stylelint": "13.2.1",
  106. "stylelint-config-twbs-bootstrap": "2.0.1",
  107. "svgo": "1.3.2",
  108. "terser": "4.6.6",
  109. "yaml": "1.8.0"
  110. },
  111. "dependencies": {
  112. "@fullcalendar/core": "4.4.0",
  113. "@fullcalendar/daygrid": "4.4.0",
  114. "@fullcalendar/interaction": "4.4.0",
  115. "@fullcalendar/list": "4.4.0",
  116. "@fullcalendar/timegrid": "4.4.0",
  117. "apexcharts": "3.16.1",
  118. "autosize": "4.0.2",
  119. "bootstrap": "twbs/bootstrap#c47547c",
  120. "countup.js": "2.0.4",
  121. "daterangepicker": "3.0.5",
  122. "flatpickr": "4.6.3",
  123. "fullcalendar": "3.10.1",
  124. "imask": "6.0.3",
  125. "jquery": "3.4.1",
  126. "jqvmap": "1.5.1",
  127. "nouislider": "14.1.1",
  128. "peity": "3.3.0",
  129. "popper.js": "1.16.1",
  130. "selectize": "0.12.6"
  131. },
  132. "resolutions": {
  133. "**/**/node-gyp": "5.0.0"
  134. },
  135. "bundlesize": [
  136. {
  137. "path": "./dist/css/tabler.css",
  138. "maxSize": "50 kB"
  139. },
  140. {
  141. "path": "./dist/css/tabler.min.css",
  142. "maxSize": "45 kB"
  143. },
  144. {
  145. "path": "./dist/css/tabler-flags.css",
  146. "maxSize": "2 kB"
  147. },
  148. {
  149. "path": "./dist/css/tabler-flags.min.css",
  150. "maxSize": "2 kB"
  151. },
  152. {
  153. "path": "./dist/css/tabler-payments.css",
  154. "maxSize": "2 kB"
  155. },
  156. {
  157. "path": "./dist/css/tabler-payments.min.css",
  158. "maxSize": "2 kB"
  159. },
  160. {
  161. "path": "./dist/js/tabler.js",
  162. "maxSize": "2 kB"
  163. },
  164. {
  165. "path": "./dist/js/tabler.min.js",
  166. "maxSize": "1.5 kB"
  167. }
  168. ]
  169. }