lcdp-map
Version:
A Leaflet wrapper library for Appsmith with custom VLU functions
49 lines (36 loc) β’ 1.26 kB
Markdown
# LCDP-Map πΊοΈ
A wrapper library for Leaflet, optimized for use in Appsmith with custom functionalities.
### GUIDE FOR BUILDING AND PUBLISHING LCDP-MAP
### 1. DIRECTORY STRUCTURE
```
LCDP-MAP/
βββ src/
β βββ index.js # Main source code
βββ dist/ # Build output
βββ .gitignore # Git ignore file
βββ LICENSE # MIT License
βββ README.md # Documentation
βββ package.json # Package config
βββ webpack.config.js # Webpack config
```
### 2. CHECK MAIN FILES
- **`package.json`**: Verify version and dependencies.
- **`webpack.config.js`**: Ensure correct UMD configuration.
- **`src/index.js`**: Check the code and exports.
- **`README.md`**: Update documentation if necessary.
### 3. INSTALL DEPENDENCIES, BUILD AND RUN COMMANDS
```bash
# Install dependencies
npm i lcdp-map
# Build package
npm run build
```
### 4. POST-PUBLISH CHECKS
- Verify the package on npm:
[https://www.npmjs.com/package/lcdp-map](https://www.npmjs.com/package/lcdp-map)
- Check the CDN URL:
[https://cdn.jsdelivr.net/npm/lcdp-map@0.0.16/dist/index.umd.js](https://cdn.jsdelivr.net/npm/lcdp-map@0.0.16/dist/index.umd.js)