package.json 8.0 KB

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