diff --git a/package.json b/package.json index 5db64c3..5a512e3 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,6 @@ "version": "0.1.0", "description": "A demo app that uses the GeoView APIs", "main": "src/index.tsx", - "types": "./src/chart/chart.d.ts", "private": true, "license": "MIT", "repository": { diff --git a/src/chart/chart-types.ts b/src/chart-types.ts similarity index 100% rename from src/chart/chart-types.ts rename to src/chart-types.ts diff --git a/src/chart/chart.module.css b/src/chart.module.css similarity index 100% rename from src/chart/chart.module.css rename to src/chart.module.css diff --git a/src/chart/chart.tsx b/src/chart.tsx similarity index 100% rename from src/chart/chart.tsx rename to src/chart.tsx diff --git a/src/chart/chart.d.ts b/src/chart/chart.d.ts deleted file mode 100644 index 3919c98..0000000 --- a/src/chart/chart.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './chart-types'; -export * from './chart'; \ No newline at end of file diff --git a/src/chart/charts/chart-bars-vertical.tsx b/src/charts/chart-bars-vertical.tsx similarity index 100% rename from src/chart/charts/chart-bars-vertical.tsx rename to src/charts/chart-bars-vertical.tsx diff --git a/src/chart/charts/chart-doughnut.tsx b/src/charts/chart-doughnut.tsx similarity index 100% rename from src/chart/charts/chart-doughnut.tsx rename to src/charts/chart-doughnut.tsx diff --git a/src/chart/charts/chart-line.tsx b/src/charts/chart-line.tsx similarity index 100% rename from src/chart/charts/chart-line.tsx rename to src/charts/chart-line.tsx diff --git a/src/chart/charts/chart-pie.tsx b/src/charts/chart-pie.tsx similarity index 100% rename from src/chart/charts/chart-pie.tsx rename to src/charts/chart-pie.tsx diff --git a/src/index.tsx b/src/index.tsx index 8304189..3919c98 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,2 +1,2 @@ -// Export types -export * from './chart/chart.d'; +export * from './chart-types'; +export * from './chart'; \ No newline at end of file