Selaa lähdekoodia

Merge branch 'v3-dev' into v3-dev

Raphael Jackstadt 5 vuotta sitten
vanhempi
commit
7c959812ef
4 muutettua tiedostoa jossa 11 lisäystä ja 9 poistoa
  1. 1 0
      .gitignore
  2. 3 2
      build/config/rollup.config.js
  3. 1 1
      composer.json
  4. 6 6
      package.json

+ 1 - 0
.gitignore

@@ -11,3 +11,4 @@ ad.js
 TODO
 test.html
 .vscode/
+.vs/

+ 3 - 2
rollup.config.js → build/config/rollup.config.js

@@ -1,6 +1,6 @@
 import babel from 'rollup-plugin-babel'
 
-const pkg  = require('./package')
+const pkg  = require('../../package')
 const year = new Date().getFullYear()
 
 const globals = {
@@ -22,7 +22,8 @@ export default {
   },
   plugins: [
     babel({
-      exclude: 'node_modules/**'
+      exclude: 'node_modules/**',
+      externalHelpers: true
     })
   ]
 }

+ 1 - 1
composer.json

@@ -1,6 +1,6 @@
 {
   "name": "almasaeed2010/adminlte",
-  "description": "AdminLTE - admin control panel and dashboard that's based on Bootstrap 3",
+  "description": "AdminLTE - admin control panel and dashboard that's based on Bootstrap 4",
   "homepage": "http://adminlte.io/",
   "keywords": [
     "css",

+ 6 - 6
package.json

@@ -13,7 +13,7 @@
     "compile": "npm-run-all --parallel js css",
     "dev": "npm-run-all --parallel watch sync",
     "js": "npm-run-all --sequential js-compile js-minify",
-    "js-compile": "rollup -c --sourcemap",
+    "js-compile": "rollup --config build/config/rollup.config.js --sourcemap",
     "js-minify": "terser --compress typeofs=false --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",
     "production": "npm-run-all --parallel compile && node build/npm/Publish.js -v",
     "plugins": "node build/npm/Publish.js -v",
@@ -83,10 +83,10 @@
     "toastr": "^2.1.4"
   },
   "devDependencies": {
-    "@babel/cli": "^7.4.4",
-    "@babel/core": "^7.4.5",
+    "@babel/cli": "^7.5.0",
+    "@babel/core": "^7.5.4",
     "@babel/plugin-external-helpers": "^7.2.0",
-    "@babel/preset-env": "^7.4.5",
+    "@babel/preset-env": "^7.5.4",
     "autoprefixer": "^9.6.0",
     "babel-eslint": "^8.2.6",
     "browser-sync": "^2.26.7",
@@ -102,8 +102,8 @@
     "npm-run-all": "^4.1.5",
     "path": "^0.12.7",
     "postcss-cli": "^5.0.1",
-    "rollup": "^1.15.1",
-    "rollup-plugin-babel": "^4.3.2",
+    "rollup": "^1.16.7",
+    "rollup-plugin-babel": "^4.3.3",
     "style-loader": "^0.19.1",
     "set-value": "^3.0.1",
     "terser": "^4.0.0"