Skip to content

Commit 41728ef

Browse files
fix: repository configuration
1 parent ce7cdf7 commit 41728ef

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-dice-roll",
33
"version": "1.0.10",
4-
"description": "A rolling dice made in react",
4+
"description": "A highly customizable dice roll package built in react.",
55
"scripts": {
66
"build": "rm -rf dist && rollup -c",
77
"start": "rollup -c -w",
@@ -14,8 +14,15 @@
1414
"react"
1515
],
1616
"main": "dist/index.js",
17-
"repository": "[email protected]:avaneeshtripathi/react-dice-roll.git",
18-
"author": "avaneeshtripathi <[email protected]>",
17+
"repository": {
18+
"type": "git",
19+
"url": "https://github.com/avaneeshtripathi/react-dice-roll"
20+
},
21+
"homepage": "https://github.com/avaneeshtripathi",
22+
"bugs": {
23+
"url": "https://github.com/avaneeshtripathi/react-dice-roll/issues"
24+
},
25+
"author": "Avaneesh Tripathi",
1926
"license": "MIT",
2027
"files": [
2128
"dist"

rollup.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ import bundleSize from 'rollup-plugin-bundle-size';
44
import cleanup from 'rollup-plugin-cleanup';
55
import typescript from 'rollup-plugin-typescript2';
66

7-
import pkg from './package.json';
8-
97
export default {
108
input: 'src/index.tsx',
119
output: [
1210
{
13-
file: pkg.main,
11+
file: 'dist/index.js',
1412
format: 'cjs',
1513
exports: 'named',
1614
sourcemap: true,

0 commit comments

Comments
 (0)