package.json 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "admin-lte",
  3. "description": "Responsive open source admin dashboard and control panel.",
  4. "version": "4.0.0-alpha3",
  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. "compile": "npm-run-all docs-compile docs-format assets css js",
  31. "production": "npm-run-all lint compile",
  32. "watch": "concurrently \"npm:watch-*\"",
  33. "watch-css-main": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-lint css-compile\"",
  34. "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
  35. "watch-js-main": "nodemon --watch src/ts/ --ext ts --exec \"npm-run-all js-lint js-compile\"",
  36. "watch-assets": "nodemon --watch src/assets/ --exec \"npm run assets\""
  37. },
  38. "keywords": [
  39. "css",
  40. "sass",
  41. "responsive",
  42. "admin",
  43. "template",
  44. "theme",
  45. "framework",
  46. "control-panel",
  47. "dashboard"
  48. ],
  49. "homepage": "https://adminlte.io",
  50. "style": "dist/css/adminlte.css",
  51. "sass": "src/scss/adminlte.scss",
  52. "repository": {
  53. "type": "git",
  54. "url": "git://github.com/ColorlibHQ/AdminLTE.git"
  55. },
  56. "bugs": {
  57. "url": "https://github.com/ColorlibHQ/AdminLTE/issues"
  58. },
  59. "devDependencies": {
  60. "@astrojs/mdx": "^1.1.0",
  61. "@rollup/plugin-typescript": "^11.1.3",
  62. "@typescript-eslint/eslint-plugin": "^6.7.2",
  63. "@typescript-eslint/parser": "^6.7.2",
  64. "astro": "^3.0.8",
  65. "autoprefixer": "^10.4.15",
  66. "bootstrap": "^5.3.2",
  67. "bundlewatch": "^0.3.3",
  68. "clean-css-cli": "^5.6.2",
  69. "concurrently": "^8.2.1",
  70. "cross-env": "^7.0.3",
  71. "eslint": "^8.49.0",
  72. "eslint-config-xo": "^0.43.1",
  73. "eslint-config-xo-typescript": "^1.0.1",
  74. "eslint-plugin-astro": "^0.29.0",
  75. "eslint-plugin-import": "^2.28.1",
  76. "eslint-plugin-unicorn": "^48.0.1",
  77. "fs-extra": "^11.1.1",
  78. "js-beautify": "^1.14.9",
  79. "lockfile-lint": "^4.12.1",
  80. "nodemon": "^3.0.1",
  81. "npm-run-all": "^4.1.5",
  82. "postcss": "^8.4.29",
  83. "postcss-cli": "^10.1.0",
  84. "prettier": "^3.0.3",
  85. "prettier-plugin-astro": "^0.12.0",
  86. "rollup": "^3.29.2",
  87. "rtlcss": "^4.1.0",
  88. "sass": "^1.67.0",
  89. "stylelint": "^15.10.3",
  90. "stylelint-config-twbs-bootstrap": "^11.0.1",
  91. "terser": "^5.19.4",
  92. "tslib": "^2.6.2",
  93. "typescript": "^5.2.2"
  94. }
  95. }