package.json 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "admin-lte",
  3. "description": "Responsive open source admin dashboard and control panel.",
  4. "version": "4.0.0-beta2",
  5. "license": "MIT",
  6. "author": "Colorlib <https://colorlib.com>",
  7. "main": "dist/js/adminlte.min.js",
  8. "scripts": {
  9. "dev": "npm-run-all --parallel watch docs-serve",
  10. "css": "npm-run-all css-compile css-prefix css-rtl css-minify",
  11. "css-compile": "sass --style expanded --load-path=\"node_modules\" --source-map --embed-sources --no-error-css src/scss/:dist/css/",
  12. "css-rtl": "cross-env NODE_ENV=RTL postcss --config src/config/postcss.config.mjs --dir \"dist/css\" --ext \".rtl.css\" \"dist/css/*.css\" \"!dist/css/*.min.css\" \"!dist/css/*.rtl.css\"",
  13. "css-lint": "stylelint \"src/scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache --rd",
  14. "css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
  15. "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\"",
  16. "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\"",
  17. "css-prefix": "postcss --config src/config/postcss.config.mjs --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
  18. "js": "npm-run-all js-compile js-minify",
  19. "js-compile": "rollup --config src/config/rollup.config.js --sourcemap",
  20. "js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
  21. "js-minify": "terser --compress passes=2 --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.js.map,includeSources,url=adminlte.min.js.map\" --output dist/js/adminlte.min.js dist/js/adminlte.js",
  22. "bundlewatch": "bundlewatch --config .bundlewatch.config.json",
  23. "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
  24. "docs-compile": "astro --config src/config/astro.config.mjs build",
  25. "docs-lint": "astro --config src/config/astro.config.mjs check",
  26. "docs-format": "js-beautify --file \"dist/pages/**/*.html\"",
  27. "docs-serve": "astro --config src/config/astro.config.mjs dev --open --port 3000",
  28. "assets": "node src/config/assets.config.mjs",
  29. "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint docs-lint lockfile-lint",
  30. "clean": "rimraf dist",
  31. "compile": "npm-run-all docs-compile docs-format assets css js",
  32. "production": "npm-run-all clean lint compile",
  33. "watch": "concurrently \"npm:watch-*\"",
  34. "watch-css-main": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-lint css-compile\"",
  35. "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
  36. "watch-js-main": "nodemon --watch src/ts/ --ext ts --exec \"npm-run-all js-lint js-compile\"",
  37. "watch-assets": "nodemon --watch src/assets/ --exec \"npm run assets\""
  38. },
  39. "keywords": [
  40. "css",
  41. "sass",
  42. "responsive",
  43. "admin",
  44. "template",
  45. "theme",
  46. "framework",
  47. "control-panel",
  48. "dashboard"
  49. ],
  50. "homepage": "https://adminlte.io",
  51. "style": "dist/css/adminlte.css",
  52. "sass": "src/scss/adminlte.scss",
  53. "repository": {
  54. "type": "git",
  55. "url": "git://github.com/ColorlibHQ/AdminLTE.git"
  56. },
  57. "bugs": {
  58. "url": "https://github.com/ColorlibHQ/AdminLTE/issues"
  59. },
  60. "devDependencies": {
  61. "@astrojs/check": "^0.9.3",
  62. "@astrojs/mdx": "^3.1.5",
  63. "@rollup/plugin-typescript": "^11.1.6",
  64. "@typescript-eslint/eslint-plugin": "^7.5.0",
  65. "@typescript-eslint/parser": "^7.5.0",
  66. "astro": "^4.15.1",
  67. "autoprefixer": "^10.4.20",
  68. "bootstrap": "^5.3.2",
  69. "bundlewatch": "^0.4.0",
  70. "clean-css-cli": "^5.6.3",
  71. "concurrently": "^8.2.2",
  72. "cross-env": "^7.0.3",
  73. "eslint": "^8.55.0",
  74. "eslint-config-xo": "^0.44.0",
  75. "eslint-config-xo-typescript": "^4.0.0",
  76. "eslint-plugin-astro": "^0.34.0",
  77. "eslint-plugin-import": "^2.29.1",
  78. "eslint-plugin-unicorn": "^52.0.0",
  79. "fs-extra": "^11.1.1",
  80. "js-beautify": "^1.15.1",
  81. "lockfile-lint": "^4.14.0",
  82. "nodemon": "^3.1.4",
  83. "npm-run-all": "^4.1.5",
  84. "postcss": "^8.4.43",
  85. "postcss-cli": "^11.0.0",
  86. "prettier": "^3.3.3",
  87. "prettier-plugin-astro": "^0.14.1",
  88. "rimraf": "^6.0.1",
  89. "rollup": "^4.21.2",
  90. "rtlcss": "^4.3.0",
  91. "sass": "^1.77.8",
  92. "stylelint": "^16.9.0",
  93. "stylelint-config-twbs-bootstrap": "^14.2.0",
  94. "terser": "^5.31.6",
  95. "tslib": "^2.7.0",
  96. "typescript": "^5.5.4"
  97. }
  98. }