From 904c3e420a95c5028af9d58cb9fc21736b4e0fe6 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Wed, 25 Jul 2018 11:32:59 +0900 Subject: [PATCH] chore: publish necessary files only (#2433) --- .editorconfig | 3 +++ package.json | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.editorconfig b/.editorconfig index ce7a6be..247de7c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -11,3 +11,6 @@ insert_final_newline = true [*.yml] indent_size = 2 + +[*.json] +indent_size = 2 diff --git a/package.json b/package.json index 3688be7..56f09a6 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,12 @@ "version": "0.6.6", "description": "D3-based reusable chart library", "main": "c3.js", + "files": [ + "c3.js", + "c3.min.js", + "c3.css", + "c3.min.css" + ], "scripts": { "start": "static -p 8080 htdocs/", "lint": "jshint --reporter=node_modules/jshint-stylish src/ spec/",