mmenu-js
Advanced tools
Comparing version 8.5.8 to 8.5.9
{ | ||
"name": "frdh/mmenu.js", | ||
"version": "8.5.8", | ||
"version": "8.5.9", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ { |
@@ -1,2 +0,2 @@ | ||
import version from '../../_version'; | ||
import * as pack from '../../../package.json'; | ||
import options from './_options'; | ||
@@ -759,3 +759,3 @@ import configs from './_configs'; | ||
/** Plugin version. */ | ||
Mmenu.version = version; | ||
Mmenu.version = pack.version; | ||
/** Default options for menus. */ | ||
@@ -762,0 +762,0 @@ Mmenu.options = options; |
@@ -15,3 +15,3 @@ /* | ||
/** Run all scripts. */ | ||
exports.all = JSall = cb => { | ||
exports.all = JSall = (cb) => { | ||
dir = dirs(false); | ||
@@ -22,3 +22,3 @@ | ||
exports.custom = JScustom = cb => { | ||
exports.custom = JScustom = (cb) => { | ||
dir = dirs(true); | ||
@@ -30,3 +30,3 @@ | ||
/** Put a watch on all files. */ | ||
exports.watch = JSwatch = cb => { | ||
exports.watch = JSwatch = (cb) => { | ||
dir = dirs(false); | ||
@@ -36,5 +36,5 @@ | ||
ignored: [ | ||
dir.input + '/**/*.d.ts' // Exclude all typings. | ||
] | ||
}).on('change', path => { | ||
dir.input + '/**/*.d.ts', // Exclude all typings. | ||
], | ||
}).on('change', (path) => { | ||
console.log('Change detected to .ts file "' + path + '"'); | ||
@@ -56,3 +56,3 @@ var cb = () => { | ||
var JStranspileOne = cb => JStranspile(cb, input, output); | ||
var JStranspileOne = (cb) => JStranspile(cb, input, output); | ||
@@ -69,3 +69,3 @@ series(JStranspileOne, JSpack)(cb); | ||
dir.input + '/**/*.d.ts', // Include all typings. | ||
input || dir.input + '/**/*.ts' // Include the needed ts files. | ||
input || dir.input + '/**/*.ts', // Include the needed ts files. | ||
]) | ||
@@ -75,3 +75,5 @@ .pipe( | ||
target: 'es5', | ||
module: 'es6' | ||
module: 'es6', | ||
moduleResolution: 'node', | ||
resolveJsonModule: true, | ||
}) | ||
@@ -92,4 +94,4 @@ ) | ||
output: { | ||
filename: 'mmenu.js' | ||
} | ||
filename: 'mmenu.js', | ||
}, | ||
// optimization: { | ||
@@ -96,0 +98,0 @@ // minimize: false |
{ | ||
"name": "mmenu-js", | ||
"version": "8.5.8", | ||
"version": "8.5.9", | ||
"main": "dist/mmenu.js", | ||
@@ -5,0 +5,0 @@ "module": "src/mmenu.js", |
@@ -1,2 +0,2 @@ | ||
import version from '../../_version'; | ||
import * as pack from '../../../package.json'; | ||
import options from './_options'; | ||
@@ -24,3 +24,3 @@ import configs from './_configs'; | ||
/** Plugin version. */ | ||
static version: string = version; | ||
static version: string = pack.version; | ||
@@ -27,0 +27,0 @@ /** Default options for menus. */ |
{ | ||
"include": ["src/**/*"], | ||
"compilerOptions": { | ||
"target": "es5" | ||
"target": "es5", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true | ||
} | ||
} |
Sorry, the diff of this file is too big to display
736350
364
13088