File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-dice-roll" ,
3
3
"version" : " 1.0.10" ,
4
- "description" : " A rolling dice made in react" ,
4
+ "description" : " A highly customizable dice roll package built in react. " ,
5
5
"scripts" : {
6
6
"build" : " rm -rf dist && rollup -c" ,
7
7
"start" : " rollup -c -w" ,
14
14
" react"
15
15
],
16
16
"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" ,
19
26
"license" : " MIT" ,
20
27
"files" : [
21
28
" dist"
Original file line number Diff line number Diff line change @@ -4,13 +4,11 @@ import bundleSize from 'rollup-plugin-bundle-size';
4
4
import cleanup from 'rollup-plugin-cleanup' ;
5
5
import typescript from 'rollup-plugin-typescript2' ;
6
6
7
- import pkg from './package.json' ;
8
-
9
7
export default {
10
8
input : 'src/index.tsx' ,
11
9
output : [
12
10
{
13
- file : pkg . main ,
11
+ file : 'dist/index.js' ,
14
12
format : 'cjs' ,
15
13
exports : 'named' ,
16
14
sourcemap : true ,
You can’t perform that action at this time.
0 commit comments