mapwhizz 1.0.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +22 -0
- package/dist/module.js +0 -0
- package/package.json +23 -12
- package/src/index.js +50 -1079
package/dist/main.cjs
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import resolve from '@rollup/plugin-node-resolve';
|
|
2
|
+
import commonjs from '@rollup/plugin-commonjs';
|
|
3
|
+
import { babel } from '@rollup/plugin-babel';
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
input: 'src/index.js', // Entry point of your library
|
|
7
|
+
output: [
|
|
8
|
+
{
|
|
9
|
+
file: 'dist/main.cjs', // CommonJS build
|
|
10
|
+
format: 'cjs',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
file: 'dist/module.js', // ES module build
|
|
14
|
+
format: 'es',
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
plugins: [
|
|
18
|
+
resolve(), // Resolves node_modules
|
|
19
|
+
commonjs(), // Converts CommonJS to ES modules
|
|
20
|
+
babel({ babelHelpers: 'bundled' }), // Transpiles modern JS
|
|
21
|
+
],
|
|
22
|
+
};
|
package/dist/module.js
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mapwhizz",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"
|
|
7
|
-
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "A reusable and customizable SVG map component for visualizing country-based data.",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"module": "src/index.js",
|
|
7
|
+
"types": "src/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
"import": "./src/index.js",
|
|
10
|
+
"require": "./src/index.cjs"
|
|
8
11
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"geo",
|
|
14
|
-
"geo map",
|
|
15
|
-
""
|
|
12
|
+
"files": [
|
|
13
|
+
"src/index.js",
|
|
14
|
+
"README.md",
|
|
15
|
+
"dist"
|
|
16
16
|
],
|
|
17
|
+
"dependencies": {},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"typescript": "^4.9.0",
|
|
20
|
+
"rollup": "^3.0.0",
|
|
21
|
+
"rollup-plugin-terser": "^7.0.2"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "https://github.com/samergoda/mapwhizz.git"
|
|
26
|
+
},
|
|
27
|
+
"keywords": ["map", "svg", "data-visualization", "interactive-map"],
|
|
17
28
|
"author": "samer-goda",
|
|
18
29
|
"license": "ISC"
|
|
19
30
|
}
|