This commit is contained in:
REJack 2021-09-17 22:32:12 +02:00
commit 86fe0f2704
6 changed files with 80 additions and 52 deletions

4
.dockerignore Normal file
View file

@ -0,0 +1,4 @@
.git
*Dockerfile*
*docker-compose*
node_modules

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:14
WORKDIR /code
COPY package.json /code/package.json
COPY package-lock.json /code/package-lock.json
RUN npm install
COPY . /code
CMD ["npm", "run", "dev"]

View file

@ -4,6 +4,7 @@
[![Packagist](https://img.shields.io/packagist/v/almasaeed2010/adminlte.svg)](https://packagist.org/packages/almasaeed2010/adminlte)
[![cdn version](https://data.jsdelivr.com/v1/package/npm/admin-lte/badge)](https://www.jsdelivr.com/package/npm/admin-lte)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/ColorlibHQ/AdminLTE)
[![Discord Invite](https://img.shields.io/badge/discord-join%20now-green)](https://discord.gg/jfdvjwFqfz)
**AdminLTE** is a fully responsive administration template. Based on **[Bootstrap 4.6](https://getbootstrap.com/)** framework and also the JS/jQuery plugin.

11
docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
version: "3"
services:
admin:
build: .
command: npm run dev
ports:
- 3000:3000
- 3001:3001
volumes:
- .:/code
- /code/node_modules

90
package-lock.json generated
View file

@ -252,9 +252,9 @@
}
},
"@babel/eslint-parser": {
"version": "7.15.0",
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.15.0.tgz",
"integrity": "sha512-+gSPtjSBxOZz4Uh8Ggqu7HbfpB8cT1LwW0DnVVLZEJvzXauiD0Di3zszcBkRmfGGrLdYeHUwcflG7i3tr9kQlw==",
"version": "7.15.4",
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.15.4.tgz",
"integrity": "sha512-hPMIAmGNbmQzXJIo2P43Zj9UhRmGev5f9nqdBFOWNGDGh6XKmjby79woBvg6y0Jur6yRfQBneDbUQ8ZVc1krFw==",
"dev": true,
"requires": {
"eslint-scope": "^5.1.1",
@ -723,9 +723,9 @@
}
},
"@babel/parser": {
"version": "7.15.5",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.5.tgz",
"integrity": "sha512-2hQstc6I7T6tQsWzlboMh3SgMRPaS4H6H7cPQsJkdzTzEGqQrpLDsE2BGASU5sBPoEQyHzeqU6C8uKbFeEk6sg==",
"version": "7.15.6",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.6.tgz",
"integrity": "sha512-S/TSCcsRuCkmpUuoWijua0Snt+f3ewU/8spLo+4AXJCZfT0bVCzLD5MuOKdrx0mlAptbKzn5AdgEIIKXxXkz9Q==",
"dev": true
},
"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
@ -832,16 +832,16 @@
}
},
"@babel/plugin-proposal-object-rest-spread": {
"version": "7.14.7",
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.14.7.tgz",
"integrity": "sha512-082hsZz+sVabfmDWo1Oct1u1AgbKbUAyVgmX4otIc7bdsRgHBXwTwb3DpDmD4Eyyx6DNiuz5UAATT655k+kL5g==",
"version": "7.15.6",
"resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.15.6.tgz",
"integrity": "sha512-qtOHo7A1Vt+O23qEAX+GdBpqaIuD3i9VRrWgCJeq7WO6H2d14EK3q11urj5Te2MAeK97nMiIdRpwd/ST4JFbNg==",
"dev": true,
"requires": {
"@babel/compat-data": "^7.14.7",
"@babel/helper-compilation-targets": "^7.14.5",
"@babel/compat-data": "^7.15.0",
"@babel/helper-compilation-targets": "^7.15.4",
"@babel/helper-plugin-utils": "^7.14.5",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-parameters": "^7.14.5"
"@babel/plugin-transform-parameters": "^7.15.4"
}
},
"@babel/plugin-proposal-optional-catch-binding": {
@ -1355,9 +1355,9 @@
}
},
"@babel/preset-env": {
"version": "7.15.4",
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.4.tgz",
"integrity": "sha512-4f2nLw+q6ht8gl3sHCmNhmA5W6b1ItLzbH3UrKuJxACHr2eCpk96jwjrAfCAaXaaVwTQGnyUYHY2EWXJGt7TUQ==",
"version": "7.15.6",
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.15.6.tgz",
"integrity": "sha512-L+6jcGn7EWu7zqaO2uoTDjjMBW+88FXzV8KvrBl2z6MtRNxlsmUNRlZPaNNPUTgqhyC5DHNFk/2Jmra+ublZWw==",
"dev": true,
"requires": {
"@babel/compat-data": "^7.15.0",
@ -1374,7 +1374,7 @@
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-proposal-optional-catch-binding": "^7.14.5",
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
"@babel/plugin-proposal-private-methods": "^7.14.5",
@ -1427,7 +1427,7 @@
"@babel/plugin-transform-unicode-escapes": "^7.14.5",
"@babel/plugin-transform-unicode-regex": "^7.14.5",
"@babel/preset-modules": "^0.1.4",
"@babel/types": "^7.15.4",
"@babel/types": "^7.15.6",
"babel-plugin-polyfill-corejs2": "^0.2.2",
"babel-plugin-polyfill-corejs3": "^0.2.2",
"babel-plugin-polyfill-regenerator": "^0.2.2",
@ -1558,9 +1558,9 @@
}
},
"@babel/types": {
"version": "7.15.4",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.4.tgz",
"integrity": "sha512-0f1HJFuGmmbrKTCZtbm3cU+b/AqdEYk5toj5iQur58xkVMlS0JWaKxTBSmCXd47uiN7vbcozAupm6Mvs80GNhw==",
"version": "7.15.6",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz",
"integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==",
"dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.14.9",
@ -3483,12 +3483,12 @@
"integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="
},
"core-js-compat": {
"version": "3.17.2",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.17.2.tgz",
"integrity": "sha512-lHnt7A1Oqplebl5i0MrQyFv/yyEzr9p29OjlkcsFRDDgHwwQyVckfRGJ790qzXhkwM8ba4SFHHa2sO+T5f1zGg==",
"version": "3.17.3",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.17.3.tgz",
"integrity": "sha512-+in61CKYs4hQERiADCJsdgewpdl/X0GhEX77pjKgbeibXviIt2oxEjTc8O2fqHX8mDdBrDvX8MYD/RYsBv4OiA==",
"dev": true,
"requires": {
"browserslist": "^4.16.8",
"browserslist": "^4.17.0",
"semver": "7.0.0"
},
"dependencies": {
@ -3506,9 +3506,9 @@
}
},
"caniuse-lite": {
"version": "1.0.30001255",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001255.tgz",
"integrity": "sha512-F+A3N9jTZL882f/fg/WWVnKSu6IOo3ueLz4zwaOPbPYHNmM/ZaDUyzyJwS1mZhX7Ex5jqTyW599Gdelh5PDYLQ==",
"version": "1.0.30001256",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001256.tgz",
"integrity": "sha512-QirrvMLmB4txNnxiaG/xbm6FSzv9LqOZ3Jp9VtCYb3oPIfCHpr/oGn38pFq0udwlkctvXQgPthaXqJ76DaYGnA==",
"dev": true
},
"colorette": {
@ -3648,9 +3648,9 @@
}
},
"datatables.net": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.11.1.tgz",
"integrity": "sha512-EBnYdMmYlLpnbxDs+JV27OlFMZYSAOUUFca6VB8Mq7HmK6ippXqxicLv8GTI9tDZ4puWuD39M9FcpTdQplPYzQ==",
"version": "1.11.2",
"resolved": "https://registry.npmjs.org/datatables.net/-/datatables.net-1.11.2.tgz",
"integrity": "sha512-Dg+Yeyky+BhXoooJqTDTGssLxkAxe73CljcjYd4630XQZKqqqy0akYk2r4RSHSJLyYCOGRZEZiUF/N39+5nqvg==",
"requires": {
"jquery": ">=1.7"
}
@ -3675,9 +3675,9 @@
}
},
"datatables.net-bs4": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/datatables.net-bs4/-/datatables.net-bs4-1.11.1.tgz",
"integrity": "sha512-rjbB/TEcEQeYwNCcsogVY93zoWGNChDSD18gux2XLS5qq/MOOiNPQNEcNoe3P2ms2cMN7eomddk33KCkY6GQ1g==",
"version": "1.11.2",
"resolved": "https://registry.npmjs.org/datatables.net-bs4/-/datatables.net-bs4-1.11.2.tgz",
"integrity": "sha512-5a61G9xhx9R1HQO87DFQ9d1pvLcWRsHc8CUobbPwiYJrPQZ5f2tbPRvgWeJMR3Ti8dmBXmCC3jm5vmnrJcoINg==",
"requires": {
"datatables.net": ">=1.10.25",
"jquery": ">=1.7"
@ -3855,18 +3855,18 @@
}
},
"datatables.net-searchbuilder": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/datatables.net-searchbuilder/-/datatables.net-searchbuilder-1.2.0.tgz",
"integrity": "sha512-PuMmwpsKBaqrB3KAPxHCE3YIopXVSsI0EKOlJa7Gbl9v5AdjlXdnAi3V6hglAeI1ZEhNeQjt7/XyswotkYrMRA==",
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/datatables.net-searchbuilder/-/datatables.net-searchbuilder-1.2.1.tgz",
"integrity": "sha512-qKrdrdv+Byb2Y71H/mxaqSxxhOQsyk0dhN6xM0ud61UebEOZXsrlB817V7OyO/ba80z60Ax4C1YWrGMnVaP5vg==",
"requires": {
"datatables.net": ">=1.10.25",
"jquery": ">=1.7"
}
},
"datatables.net-searchbuilder-bs4": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/datatables.net-searchbuilder-bs4/-/datatables.net-searchbuilder-bs4-1.2.0.tgz",
"integrity": "sha512-he28hLpUDEqRtsJZJ9NEIYNeVon7WVqIJ5w5qaVwOVVVLkph+cQw2xJFPF6LcPJAtEOmtcSTXOuLCpkhj5dCfA==",
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/datatables.net-searchbuilder-bs4/-/datatables.net-searchbuilder-bs4-1.2.1.tgz",
"integrity": "sha512-vZaU8UxQkt+WAj2476MW7u2zZn51rjTFZ3qrpCsMBfv9i50gfZooXvtYB7hl+c18BlcUGMvoyOuNKUirf0uBiQ==",
"requires": {
"datatables.net-bs4": ">=1.10.25",
"datatables.net-searchbuilder": ">=1.1.0",
@ -4256,9 +4256,9 @@
"integrity": "sha512-mbacwySuVD3Ad6F2hTkjSTvJt59bcVv2l/TmBerp4xZnLak8tPtA4AScUn4DL42c1ksTiAO6sGhJZ52P/1Qgew=="
},
"electron-to-chromium": {
"version": "1.3.832",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.832.tgz",
"integrity": "sha512-x7lO8tGoW0CyV53qON4Lb5Rok9ipDelNdBIAiYUZ03dqy4u9vohMM1qV047+s/hiyJiqUWX/3PNwkX3kexX5ig==",
"version": "1.3.836",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.836.tgz",
"integrity": "sha512-Ney3pHOJBWkG/AqYjrW0hr2AUCsao+2uvq9HUlRP8OlpSdk/zOHOUJP7eu0icDvePC9DlgffuelP4TnOJmMRUg==",
"dev": true
},
"emoji-regex": {
@ -5004,9 +5004,9 @@
}
},
"eslint-plugin-unicorn": {
"version": "35.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-35.0.0.tgz",
"integrity": "sha512-FHsaO68tDPQILfs/mGF8eSISJp8RswR4FpUuBDnueK2wyEHC6zmsc9WxjYyldXoIsBuVmru6jQyFCbCWPoW/KQ==",
"version": "36.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-36.0.0.tgz",
"integrity": "sha512-xxN2vSctGWnDW6aLElm/LKIwcrmk6mdiEcW55Uv5krcrVcIFSWMmEgc/hwpemYfZacKZ5npFERGNz4aThsp1AA==",
"dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.14.9",

View file

@ -39,8 +39,8 @@
"plugins": "node build/npm/Publish.js -v",
"sync": "browser-sync start --server --files *.html pages/ dist/",
"watch": "concurrently \"npm run watch-css\" \"npm run watch-js\"",
"watch-css": "nodemon --watch build/scss -e scss -x \"npm-run-all css-lint css\"",
"watch-js": "nodemon --watch build/js -e js -x \"npm-run-all js-lint js\""
"watch-css": "nodemon --legacy-watch --watch build/scss -e scss -x \"npm-run-all css-lint css\"",
"watch-js": "nodemon --legacy-watch --watch build/js -e js -x \"npm-run-all js-lint js\""
},
"keywords": [
"css",
@ -77,9 +77,9 @@
"bs-stepper": "^1.7.0",
"chart.js": "^2.9.4",
"codemirror": "^5.62.3",
"datatables.net": "^1.11.1",
"datatables.net": "^1.11.2",
"datatables.net-autofill-bs4": "^2.3.9",
"datatables.net-bs4": "^1.11.1",
"datatables.net-bs4": "^1.11.2",
"datatables.net-buttons-bs4": "^1.7.1",
"datatables.net-colreorder-bs4": "^1.5.4",
"datatables.net-fixedcolumns-bs4": "^3.3.3",
@ -89,7 +89,7 @@
"datatables.net-rowgroup-bs4": "^1.1.3",
"datatables.net-rowreorder-bs4": "^1.2.8",
"datatables.net-scroller-bs4": "^2.0.5",
"datatables.net-searchbuilder-bs4": "^1.2.0",
"datatables.net-searchbuilder-bs4": "^1.2.1",
"datatables.net-searchpanes-bs4": "^1.4.0",
"datatables.net-select-bs4": "^1.3.3",
"daterangepicker": "^3.1.0",
@ -128,7 +128,7 @@
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@rollup/plugin-babel": "^5.3.0",
"autoprefixer": "^10.3.4",
"browser-sync": "^2.27.5",
@ -139,7 +139,7 @@
"eslint-config-xo": "^0.38.0",
"eslint-plugin-compat": "^3.13.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-unicorn": "^35.0.0",
"eslint-plugin-unicorn": "^36.0.0",
"lockfile-lint": "^4.6.2",
"node-sass": "^6.0.1",
"node-sass-package-importer": "^5.3.2",