Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 7.12 KB
/
Copy pathpackage.json
File metadata and controls
169 lines (169 loc) · 7.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "admin-lte",
"description": "Responsive open source admin dashboard and control panel.",
"version": "4.10.1",
"type": "module",
"license": "MIT",
"author": "Colorlib <https://colorlib.com>",
"main": "dist/js/adminlte.min.js",
"module": "dist/js/adminlte.esm.js",
"types": "dist/js/types/adminlte.d.ts",
"exports": {
".": {
"types": "./dist/js/types/adminlte.d.ts",
"sass": "./src/scss/adminlte.scss",
"style": "./dist/css/adminlte.css",
"import": "./dist/js/adminlte.esm.js",
"require": "./dist/js/adminlte.min.js"
},
"./dist/*": "./dist/*",
"./src/scss/*": "./src/scss/*",
"./package.json": "./package.json"
},
"files": [
"dist/css/",
"dist/js/",
"dist/assets/",
"src/scss/",
"src/ts/",
"CHANGELOG.md",
"ACCESSIBILITY-COMPLIANCE.md"
],
"engines": {
"node": ">=20"
},
"devEngines": {
"runtime": {
"name": "node",
"version": "^22.22.3 || ^24.16.0 || >=26.3.0",
"onFail": "error"
},
"packageManager": {
"name": "npm",
"version": ">=10",
"onFail": "error"
}
},
"scripts": {
"start": "npm run dev",
"dev": "npm-run-all --parallel watch docs-serve",
"build": "npm-run-all clean compile",
"css": "npm-run-all css-compile css-prefix css-rtl css-minify",
"css-compile": "sass --style expanded --load-path=\"node_modules\" --source-map --embed-sources --no-error-css --quiet-deps --silence-deprecation=import src/scss/:dist/css/",
"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\"",
"css-lint": "stylelint \"src/scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache --rd",
"css-minify": "npm-run-all --aggregate-output --parallel css-minify-*",
"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\"",
"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\"",
"css-prefix": "postcss --config src/config/postcss.config.mjs --replace \"dist/css/*.css\" \"!dist/css/*.rtl*.css\" \"!dist/css/*.min.css\"",
"js": "npm-run-all js-compile js-types js-minify",
"js-compile": "rollup --config src/config/rollup.config.js --sourcemap",
"js-types": "tsc -p tsconfig.types.json",
"js-lint": "eslint --format=stylish .",
"js-minify": "npm-run-all --aggregate-output --parallel js-minify-*",
"js-minify-main": "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",
"js-minify-esm": "terser --compress passes=2 --module --mangle --comments \"/^!/\" --source-map \"content=dist/js/adminlte.esm.js.map,includeSources,url=adminlte.esm.min.js.map\" --output dist/js/adminlte.esm.min.js dist/js/adminlte.esm.js",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"docs-compile": "npm run copy-assets && astro --config src/config/astro.config.mjs build",
"docs-lint": "astro --config src/config/astro.config.mjs check --tsconfig src/html/tsconfig.json",
"docs-format": "prettier --write \"dist/**/*.html\"",
"docs-serve": "npm run copy-assets && astro --config src/config/astro.config.mjs dev --open --port 3000",
"copy-assets": "rimraf src/html/public && shx mkdir -p src/html/public && shx cp -r dist/css dist/js dist/assets src/html/public/",
"flatten-build": "shx cp -r dist/html/* dist/ && shx rm -rf dist/html && shx rm -rf dist/.astro && shx mkdir -p dist/docs && shx mv dist/docs.html dist/docs/index.html",
"assets": "node src/config/assets.config.mjs",
"version": "node src/config/sync-version.mjs",
"test": "vitest run",
"test-watch": "vitest",
"test-a11y": "node tests/a11y.mjs",
"palette": "node scripts/palette.mjs",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel js-lint css-lint docs-lint lockfile-lint",
"clean": "rimraf dist",
"compile": "npm-run-all css js assets copy-assets docs-compile docs-format flatten-build",
"production": "npm-run-all clean lint test compile test-size",
"watch": "concurrently \"npm:watch-*\"",
"watch-css-main": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all css-lint css-compile css-prefix copy-assets\"",
"watch-css-dist": "nodemon --watch dist/css/ --ext css --ignore \"dist/css/*.rtl.*\" --exec \"npm run css-rtl\"",
"watch-js-main": "nodemon --watch src/ts/ --ext ts --exec \"npm-run-all js-lint js-compile copy-assets\"",
"watch-assets": "nodemon --watch src/assets/ --exec \"npm run assets\"",
"test-browser": "node tests/browser.mjs",
"test-size": "node scripts/check-size.mjs"
},
"keywords": [
"css",
"sass",
"responsive",
"admin",
"template",
"theme",
"framework",
"control-panel",
"dashboard"
],
"homepage": "https://adminlte.io",
"style": "dist/css/adminlte.css",
"sass": "src/scss/adminlte.scss",
"repository": {
"type": "git",
"url": "git://github.com/ColorlibHQ/AdminLTE.git"
},
"bugs": {
"url": "https://github.com/ColorlibHQ/AdminLTE/issues"
},
"peerDependencies": {
"bootstrap": "^5.3.8"
},
"overrides": {
"axios": "^1.20.0",
"shell-quote": "^1.12.0",
"stylelint-config-twbs-bootstrap": {
"stylelint": "$stylelint"
},
"yaml": "^2.9.1",
"postcss-selector-parser": "^7.1.6"
},
"devDependencies": {
"@astrojs/check": "^0.9.10",
"@astrojs/markdown-remark": "^7.3.2",
"@astrojs/mdx": "^8.0.3",
"@eslint/js": "^10.0.1",
"@rollup/plugin-typescript": "^12.3.0",
"@typescript-eslint/eslint-plugin": "^8.71.1",
"@typescript-eslint/parser": "^8.71.1",
"astro": "^7.3.7",
"autoprefixer": "^10.6.1",
"axe-core": "^4.14.0",
"bootstrap": "^5.3.8",
"bundlewatch": "^0.4.2",
"clean-css-cli": "^5.6.3",
"concurrently": "^10.0.5",
"cross-env": "^10.1.0",
"eslint": "^10.12.0",
"eslint-plugin-astro": "^3.2.1",
"eslint-plugin-unicorn": "^77.0.0",
"fs-extra": "^11.4.1",
"globals": "^17.13.0",
"happy-dom": "^20.14.5",
"lockfile-lint": "^5.0.1",
"nodemon": "^3.1.14",
"npm-run-all2": "^9.0.3",
"playwright": "^1.64.0",
"postcss": "^8.5.29",
"postcss-cli": "^12.0.0",
"prettier": "^3.9.9",
"prettier-plugin-astro": "^1.1.0",
"rimraf": "^6.1.3",
"rollup": "^4.64.2",
"rtlcss": "^4.3.0",
"sass": "^1.105.1",
"shx": "^0.4.0",
"stylelint": "^17.16.0",
"stylelint-config-twbs-bootstrap": "^16.1.0",
"terser": "^5.51.2",
"tslib": "^2.8.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.71.1",
"unist-util-visit": "^5.1.0",
"vitest": "^5.0.3"
}
}