package.json 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. {
  2. "version": "1.0.0",
  3. "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
  4. "homepage": "https://tabler.io",
  5. "scripts": {
  6. "release": "pnpm run build && pnpm run generate-sri && pnpm run demo-production",
  7. "icons": "cd preview && ncu -u @tabler/icons && pnpm install && node .build/import-icons.mjs && git add . && git commit -am \"update icons to v`pnpm info @tabler/icons version`\" && git push",
  8. "download-images": "node .build/download-images.mjs",
  9. "change-version": "node .build/change-version.mjs",
  10. "changelog": "node .build/changelog.mjs",
  11. "generate-sri": "node .build/generate-sri.mjs",
  12. "dev": "pnpm run browsersync & pnpm run watch",
  13. "clean": "rm -rf dist",
  14. "build": "pnpm run clean && pnpm run js && pnpm run css && pnpm run img",
  15. "js": "pnpm run js-compile && pnpm run js-minify",
  16. "js-compile": "pnpm run js-compile-standalone && pnpm run js-compile-standalone-esm && pnpm run js-compile-bundle",
  17. "js-compile-standalone": "rollup --environment BUNDLE:false --config .build/rollup.config.mjs --sourcemap",
  18. "js-compile-standalone-esm": "rollup --environment ESM:true,BUNDLE:false --config .build/rollup.config.mjs --sourcemap",
  19. "js-compile-bundle": "rollup --environment BUNDLE:true --config .build/rollup.config.mjs --sourcemap",
  20. "js-minify": "pnpm run js-minify-standalone && pnpm run js-minify-standalone-esm && pnpm run js-minify-bundle",
  21. "js-minify-standalone": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.js.map,includeSources,url=tabler.min.js.map\" --output dist/js/tabler.min.js dist/js/tabler.js",
  22. "js-minify-standalone-esm": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.esm.js.map,includeSources,url=tabler.esm.min.js.map\" --output dist/js/tabler.esm.min.js dist/js/tabler.esm.js",
  23. "js-minify-bundle": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/tabler.bundle.js.map,includeSources,url=tabler.bundle.min.js.map\" --output dist/js/tabler.bundle.min.js dist/js/tabler.bundle.js",
  24. "css": "pnpm run css-compile && pnpm run css-rtl && pnpm run css-minify",
  25. "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/ --load-path=node_modules",
  26. "css-rtl": "cross-env NODE_ENV=RTL postcss --config .build/postcss.config.mjs --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
  27. "css-minify": "pnpm run css-minify-main && pnpm run css-minify-rtl",
  28. "css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*rtl*.css\"",
  29. "css-minify-rtl": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*rtl.css\" \"!dist/css/*.min.css\"",
  30. "watch": "pnpm run watch-css & pnpm run watch-js & pnpm run watch-jekyll",
  31. "watch-css": "nodemon --watch scss/ --ext scss --exec \"pnpm run css-compile\"",
  32. "watch-js": "nodemon --watch js/ --ext js --exec \"pnpm run js-compile\"",
  33. "watch-jekyll": "JEKYLL_ENV=development bundle exec jekyll build --watch --config _config.yml",
  34. "img": "pnpm run img-copy",
  35. "img-copy": "rm -rf dist/css/img && cp -r scss/img dist/css/img",
  36. "lint": "eslint --ext .js,.ts,.tsx --ignore-path .gitignore .",
  37. "bundlewatch": "pnpm run build && bundlewatch",
  38. "demo-build": "pnpm run demo-build-jekyll",
  39. "demo-serve": "bundle exec jekyll serve",
  40. "demo-production": "cross-env JEKYLL_ENV=production npm run demo-build --config _config.yml,_config.production.yml",
  41. "demo-preview": "cross-env JEKYLL_ENV=preview npm run demo-build",
  42. "unused-files": "node .build/unused-files.mjs",
  43. "demo-dev": "pnpm run watch",
  44. "demo-images": "for i in ./static/photos/*.jpg; do convert \"$i\" -quality 80% \"${i%.jpg}.jpg\"; done",
  45. "demo-build-jekyll": "JEKYLL_ENV=production bundle exec jekyll build --destination dist --trace --config _config.yml,_config_prod.yml",
  46. "browsersync": "node .build/browsersync.mjs"
  47. },
  48. "repository": {
  49. "type": "git",
  50. "url": "git+https://github.com/tabler/tabler.git"
  51. },
  52. "keywords": [
  53. "css",
  54. "sass",
  55. "mobile-first",
  56. "responsive",
  57. "front-end",
  58. "framework",
  59. "web"
  60. ],
  61. "author": "codecalm",
  62. "license": "MIT",
  63. "bugs": {
  64. "url": "https://github.com/tabler/tabler/issues"
  65. },
  66. "funding": {
  67. "type": "github",
  68. "url": "https://github.com/sponsors/codecalm"
  69. },
  70. "engines": {
  71. "node": ">=18"
  72. },
  73. "files": [
  74. "dist/**/*",
  75. "src/js/**/*.{js,map}",
  76. "src/img/**/*.{svg}",
  77. "src/scss/**/*.scss"
  78. ],
  79. "style": "dist/css/tabler.css",
  80. "sass": "src/scss/tabler.scss",
  81. "unpkg": "dist/js/tabler.min.js",
  82. "umd:main": "dist/js/tabler.min.js",
  83. "module": "dist/js/tabler.esm.js",
  84. "main": "dist/js/tabler.js",
  85. "devDependencies": {
  86. "@babel/preset-env": "^7.23.9",
  87. "@rollup/plugin-babel": "^6.0.4",
  88. "@rollup/plugin-node-resolve": "^15.2.3",
  89. "@rollup/plugin-replace": "^5.0.5",
  90. "autoprefixer": "^10.4.17",
  91. "browser-sync": "^3.0.2",
  92. "bundlewatch": "^0.3.3",
  93. "clean-css-cli": "^5.6.3",
  94. "cross-env": "^7.0.3",
  95. "glob": "^10.3.10",
  96. "nodemon": "^3.0.3",
  97. "postcss-cli": "^11.0.0",
  98. "rollup": "^4.9.6",
  99. "rtlcss": "^4.1.1",
  100. "sass": "^1.70.0",
  101. "terser": "^5.27.0"
  102. },
  103. "dependencies": {
  104. "@popperjs/core": "^2.11.8",
  105. "@tabler/icons": "^2.45.0",
  106. "bootstrap": "5.3.2"
  107. },
  108. "peerDependencies": {
  109. "@melloware/coloris": "^0.19.1",
  110. "apexcharts": "^3.40.0",
  111. "autosize": "^6.0.1",
  112. "choices.js": "^10.2.0",
  113. "countup.js": "^2.6.2",
  114. "dropzone": "^6.0.0-beta.2",
  115. "flatpickr": "^4.6.13",
  116. "fslightbox": "^3.4.1",
  117. "imask": "^6.6.1",
  118. "jsvectormap": "^1.5.3",
  119. "list.js": "^2.3.1",
  120. "litepicker": "^2.0.12",
  121. "nouislider": "^15.7.0",
  122. "plyr": "^3.7.8",
  123. "star-rating.js": "^4.3.0",
  124. "tinymce": "^6.4.2",
  125. "tom-select": "^2.2.2"
  126. },
  127. "peerDependenciesMeta": {
  128. "@melloware/coloris": {
  129. "optional": true
  130. },
  131. "apexcharts": {
  132. "optional": true
  133. },
  134. "autosize": {
  135. "optional": true
  136. },
  137. "choices.js": {
  138. "optional": true
  139. },
  140. "countup.js": {
  141. "optional": true
  142. },
  143. "dropzone": {
  144. "optional": true
  145. },
  146. "flatpickr": {
  147. "optional": true
  148. },
  149. "fslightbox": {
  150. "optional": true
  151. },
  152. "imask": {
  153. "optional": true
  154. },
  155. "jsvectormap": {
  156. "optional": true
  157. },
  158. "list.js": {
  159. "optional": true
  160. },
  161. "litepicker": {
  162. "optional": true
  163. },
  164. "nouislider": {
  165. "optional": true
  166. },
  167. "plyr": {
  168. "optional": true
  169. },
  170. "tinymce": {
  171. "optional": true
  172. },
  173. "tom-select": {
  174. "optional": true
  175. },
  176. "star-rating.js": {
  177. "optional": true
  178. }
  179. },
  180. "bundlewatch": {
  181. "files": [
  182. {
  183. "path": "./dist/css/tabler.css",
  184. "maxSize": "75 kB"
  185. },
  186. {
  187. "path": "./dist/css/tabler.min.css",
  188. "maxSize": "70 kB"
  189. },
  190. {
  191. "path": "./dist/css/tabler.rtl.css",
  192. "maxSize": "75 kB"
  193. },
  194. {
  195. "path": "./dist/css/tabler.rtl.min.css",
  196. "maxSize": "70 kB"
  197. },
  198. {
  199. "path": "./dist/css/tabler-flags.css",
  200. "maxSize": "2 kB"
  201. },
  202. {
  203. "path": "./dist/css/tabler-flags.min.css",
  204. "maxSize": "2 kB"
  205. },
  206. {
  207. "path": "./dist/css/tabler-payments.css",
  208. "maxSize": "2 kB"
  209. },
  210. {
  211. "path": "./dist/css/tabler-payments.min.css",
  212. "maxSize": "2 kB"
  213. },
  214. {
  215. "path": "./dist/css/tabler-social.css",
  216. "maxSize": "2 kB"
  217. },
  218. {
  219. "path": "./dist/css/tabler-social.min.css",
  220. "maxSize": "2 kB"
  221. },
  222. {
  223. "path": "./dist/css/tabler-vendors.css",
  224. "maxSize": "7 kB"
  225. },
  226. {
  227. "path": "./dist/css/tabler-vendors.min.css",
  228. "maxSize": "6 kB"
  229. },
  230. {
  231. "path": "./dist/js/tabler.js",
  232. "maxSize": "60 kB"
  233. },
  234. {
  235. "path": "./dist/js/tabler.min.js",
  236. "maxSize": "45 kB"
  237. },
  238. {
  239. "path": "./dist/js/tabler.esm.js",
  240. "maxSize": "60 kB"
  241. },
  242. {
  243. "path": "./dist/js/tabler.esm.min.js",
  244. "maxSize": "45 kB"
  245. }
  246. ]
  247. }
  248. }