package.json 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "admin-lte",
  3. "description": "Responsive open source admin dashboard and control panel.",
  4. "version": "4.0.0-alpha1",
  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 \"**/*.{css,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-serve": "cross-env APP_ENV=DEV astro --config src/config/astro.config.mjs dev",
  27. "assets": "node src/config/assets.config.mjs",
  28. "lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint docs-lint lockfile-lint",
  29. "compile": "npm-run-all docs-compile assets css js",
  30. "production": "npm-run-all lint compile",
  31. "watch": "concurrently \"npm:watch-*\"",
  32. "watch-css-main": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-lint css-compile\"",
  33. "watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
  34. "watch-js-main": "nodemon --watch src/ts/ --ext ts --exec \"npm-run-all js-lint js-compile\"",
  35. "watch-assets": "nodemon --watch src/assets/ --exec \"npm run assets\""
  36. },
  37. "keywords": [
  38. "css",
  39. "sass",
  40. "responsive",
  41. "admin",
  42. "template",
  43. "theme",
  44. "framework",
  45. "control-panel",
  46. "dashboard"
  47. ],
  48. "homepage": "https://adminlte.io",
  49. "style": "dist/css/adminlte.css",
  50. "sass": "src/scss/adminlte.scss",
  51. "repository": {
  52. "type": "git",
  53. "url": "git://github.com/ColorlibHQ/AdminLTE.git"
  54. },
  55. "bugs": {
  56. "url": "https://github.com/ColorlibHQ/AdminLTE/issues"
  57. },
  58. "devDependencies": {
  59. "@rollup/plugin-typescript": "^11.0.0",
  60. "@typescript-eslint/eslint-plugin": "^5.53.0",
  61. "@typescript-eslint/parser": "^5.53.0",
  62. "astro": "^2.1.3",
  63. "autoprefixer": "^10.4.13",
  64. "bootstrap": "^5.3.0-alpha1",
  65. "bundlewatch": "^0.3.3",
  66. "clean-css-cli": "^5.6.2",
  67. "concurrently": "^7.6.0",
  68. "cross-env": "^7.0.3",
  69. "eslint": "^8.33.0",
  70. "eslint-config-xo": "^0.43.1",
  71. "eslint-config-xo-typescript": "^0.56.0",
  72. "eslint-plugin-import": "^2.27.5",
  73. "eslint-plugin-unicorn": "^45.0.2",
  74. "fs-extra": "^11.1.0",
  75. "lockfile-lint": "^4.10.0",
  76. "nodemon": "^2.0.20",
  77. "npm-run-all": "^4.1.5",
  78. "postcss": "^8.4.6",
  79. "postcss-cli": "^10.1.0",
  80. "rollup": "^3.20.0",
  81. "rtlcss": "^4.0.0",
  82. "sass": "^1.58.3",
  83. "stylelint": "^15.3.0",
  84. "stylelint-config-twbs-bootstrap": "^8.0.0",
  85. "terser": "^5.16.6",
  86. "tslib": "^2.5.0",
  87. "typescript": "^4.9.5"
  88. }
  89. }