Skip to content

Commit b26a683

Browse files
committed
1.0.9
1 parent 98571e1 commit b26a683

File tree

5 files changed

+11
-22
lines changed

5 files changed

+11
-22
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONTRIBUTING.md

package.json

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mrakesh0608/react-native-loading-dots",
3-
"version": "1.0.6",
3+
"version": "1.0.9",
44
"description": "A Loading Dots Component for React Native",
55
"repository": {
66
"type": "git",
@@ -10,6 +10,8 @@
1010
"bugs": {
1111
"url": "https://github.com/mrakesh0608/react-native-loading-dots/issues"
1212
},
13+
"author": "Merugu Rakesh",
14+
"license": "MIT",
1315
"keywords": [
1416
"rn",
1517
"react",
@@ -19,19 +21,8 @@
1921
"loading-dots",
2022
"react-native-loading-dots"
2123
],
22-
"author": "Merugu Rakesh",
23-
"license": "MIT",
24-
"main": "src/index.tsx",
25-
"module": "src/index.tsx",
26-
"files": [
27-
"src",
28-
"dist"
29-
],
30-
"scripts": {
31-
"build": "rm -rf dist/ && npm run build:esm && npm run build:cjs",
32-
"build:esm": "tsc",
33-
"build:cjs": "tsc --module CommonJS --outDir dist/cjs"
34-
},
24+
"main": "src/index.ts",
25+
"module": "src/index.ts",
3526
"peerDependencies": {
3627
"@types/react": ">=18.0.0",
3728
"react": ">=18.0.0",

src/index.tsx renamed to src/components/LoadingDots.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
22

3-
import { LoadingDotContextProvider } from "./components/context";
4-
import { Container } from "./components/Container";
5-
import { LoadingDotsProps } from "./types";
3+
import { LoadingDotContextProvider } from "./context";
4+
import { Container } from "./Container";
5+
import { LoadingDotsProps } from "../types";
66

77
export function LoadingDots({
88
animation = "pulse",

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from './components/LoadingDots';
2+
export * from './types';

tsconfig.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,8 @@
1616
],
1717
"module": "es2015",
1818
"moduleResolution": "node",
19-
"noImplicitAny": false,
20-
"noUnusedLocals": true,
21-
"outDir": "dist/esm",
22-
"sourceMap": true,
2319
"strict": true,
2420
"target": "es6",
25-
"skipLibCheck": true
2621
},
2722
"include": [
2823
"src/**/*.ts",

0 commit comments

Comments
 (0)