Skip to content

Commit c5fc6d8

Browse files
committed
Simplified package.json
1 parent 541499d commit c5fc6d8

2 files changed

Lines changed: 8 additions & 21 deletions

File tree

package.json

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"name": "chartkick",
33
"version": "5.0.1",
4-
"homepage": "https://github.com/ankane/chartkick.js",
54
"description": "Create beautiful charts with one line of JavaScript",
5+
"homepage": "https://github.com/ankane/chartkick.js",
6+
"license": "MIT",
7+
"author": "Andrew Kane",
68
"type": "module",
9+
"files": ["dist", "chart.js", "highcharts"],
710
"main": "./dist/chartkick.js",
811
"module": "./dist/chartkick.esm.js",
912
"exports": {
@@ -14,25 +17,6 @@
1417
"./chart.js": "./chart.js/chart.esm.js",
1518
"./highcharts": "./highcharts/highcharts.esm.js"
1619
},
17-
"scripts": {
18-
"build": "rollup -c"
19-
},
20-
"keywords": [
21-
"charts"
22-
],
23-
"authors": [
24-
"ankane"
25-
],
26-
"license": "MIT",
27-
"repository": {
28-
"type": "git",
29-
"url": "https://github.com/ankane/chartkick.js"
30-
},
31-
"files": [
32-
"dist",
33-
"chart.js",
34-
"highcharts"
35-
],
3620
"devDependencies": {
3721
"@rollup/plugin-buble": "^1.0.1",
3822
"@rollup/plugin-commonjs": "^28.0.1",
@@ -44,5 +28,8 @@
4428
"chart.js": "4",
4529
"chartjs-adapter-date-fns": ">=3",
4630
"date-fns": ">=2"
31+
},
32+
"scripts": {
33+
"build": "rollup -c"
4734
}
4835
}

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const banner =
1010
`/*!
1111
* Chartkick.js v${pkg.version}
1212
* ${pkg.description}
13-
* ${pkg.repository.url}
13+
* ${pkg.homepage}
1414
* ${pkg.license} License
1515
*/
1616
`;

0 commit comments

Comments
 (0)