- Introduced `MegaMenuMode` type and `normalizeMegaMenuMode` function to handle menu modes. - Updated `MegaMenuApplicationCustomizer` to accept `menuMode` property. - Enhanced `MegaMenuRenderer` to render flyout menus based on the selected mode. - Created new HTML previews for both flyout and mega menu modes. - Removed unused mock services and user custom action service interfaces.
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "mega-menu",
|
|
"version": "2.1.0",
|
|
"private": true,
|
|
"main": "lib/index.js",
|
|
"engines": {
|
|
"node": ">=6.9.0 <9.0.0"
|
|
},
|
|
"scripts": {
|
|
"build:classic": "powershell -NoProfile -ExecutionPolicy Bypass -File .\\build-classic.ps1",
|
|
"build": "npm run build:classic && gulp bundle",
|
|
"clean": "gulp clean",
|
|
"test": "gulp test",
|
|
"package": "npm run build:classic && gulp clean && gulp bundle --ship && gulp package-solution --ship"
|
|
},
|
|
"dependencies": {
|
|
"@microsoft/decorators": "~1.4.1",
|
|
"@microsoft/sp-application-base": "~1.4.1",
|
|
"@microsoft/sp-core-library": "~1.4.1",
|
|
"@microsoft/sp-dialog": "~1.4.0",
|
|
"@microsoft/sp-office-ui-fabric-core": "^1.4.1",
|
|
"@pnp/common": "^1.3.11",
|
|
"@pnp/logging": "^1.3.11",
|
|
"@pnp/odata": "^1.3.11",
|
|
"@pnp/sp": "^1.3.11",
|
|
"@pnp/sp-clientsvc": "^1.3.11",
|
|
"@pnp/sp-taxonomy": "^1.3.11",
|
|
"@pnp/telemetry-js": "^2.0.0",
|
|
"@types/es6-promise": "0.0.33",
|
|
"@types/webpack-env": "1.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@microsoft/sp-build-web": "~1.4.1",
|
|
"@microsoft/sp-module-interfaces": "~1.4.1",
|
|
"@microsoft/sp-webpart-workbench": "~1.4.1",
|
|
"gulp": "~3.9.1",
|
|
"@types/chai": "3.4.34",
|
|
"@types/mocha": "2.2.38",
|
|
"ajv": "~5.2.2"
|
|
}
|
|
}
|