Llewellyn van der Merwe
78271fea45
- Renamed 'UikitUploader' to 'UploadFile' for improved clarity and updated related imports. - Refactored methods to handle null element cases and enhanced notification system, improving code readability and functionality. - Renamed 'UploadHelper' to 'FileType' to better reflect its purpose. - Simplified URL building by utilizing class properties directly and reducing parameters. - Updated package details, bumped version to 3.0.0, and modified the main entry point. - Renamed 'Uploader' to 'vdm-uikit' across the project documentation for consistency. - Enhanced rollup config by updating references from Uploader to VDMUikit, including file names, banner text, and global objects. - Added support for delete endpoint in configuration and updated script source URLs to use the unified 'vdm.min.js'. - Renamed 'Uploader.js' to 'vdm.js', updated import statements to reflect new modules 'UploadFile' and 'DeleteFile'. - Implemented initialization and error handling for 'delete_file' in the VDM namespace. - Removed obsolete 'Uploader.js' and 'Uploader.min.js' files from distribution.
34 lines
954 B
JSON
34 lines
954 B
JSON
{
|
|
"name": "vdm.uikit",
|
|
"title": "VDM Uikit",
|
|
"description": "VDM-Uikit is an intuitive and lightweight JavaScript (extension) to Uikit for embedding upload/delete functionality of server files into your website.",
|
|
"version": "3.0.0",
|
|
"main": "dist/js/vdm.min.js",
|
|
"scripts": {
|
|
"build": "rollup -c"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.vdm.dev/joomla/uikit"
|
|
},
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://git.vdm.dev/joomla/uikit/issues"
|
|
},
|
|
"homepage": "https://git.vdm.dev/joomla/uikit",
|
|
"dependencies": {
|
|
"uikit": "latest"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "latest",
|
|
"@babel/preset-env": "latest",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.7",
|
|
"rollup": "latest",
|
|
"rollup-plugin-license": "^3.5.2",
|
|
"rollup-plugin-terser": "^7.0.2"
|
|
}
|
|
}
|