From d24deae404f0bb76439b6325f572a558f2c7ccc0 Mon Sep 17 00:00:00 2001 From: Sivan Date: Thu, 20 Feb 2020 20:53:26 +0800 Subject: [PATCH] docs: remove unused files --- .stylelintrc | 11 ----------- index.scss | 8 -------- lib/heti.scss | 6 +++++- package.json | 15 +++++++++++++-- 4 files changed, 18 insertions(+), 22 deletions(-) delete mode 100644 .stylelintrc delete mode 100644 index.scss diff --git a/.stylelintrc b/.stylelintrc deleted file mode 100644 index 7a54241..0000000 --- a/.stylelintrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"], - "rules": { - "no-descending-specificity": [ - true, - { - "ignore": ["selectors-within-list"] - } - ] - } -} diff --git a/index.scss b/index.scss deleted file mode 100644 index 284b8d0..0000000 --- a/index.scss +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * Project: Heti - * URL: https://github.com/sivan/heti - * Author: Sivan [sun.sivan@gmail.com] - * Date: 2020-01-22 00:00 - */ - -@import './lib/heti'; diff --git a/lib/heti.scss b/lib/heti.scss index ebed018..c624df0 100644 --- a/lib/heti.scss +++ b/lib/heti.scss @@ -1,6 +1,10 @@ -/** +/*! + * Project: Heti + * URL: https://github.com/sivan/heti * Author: Sivan [sun.sivan@gmail.com] + * Date: 2020-01-22 00:00 */ + @import "font"; @import "variables"; @import "base"; diff --git a/package.json b/package.json index 385d189..8e5dbc8 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "heti", "version": "0.3.1", - "description": "赫蹏", - "main": "index.scss", + "description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。", + "main": "lib/heti.scss", "directories": { "lib": "lib" }, @@ -32,5 +32,16 @@ "stylelint-config-recommended-scss": "^4.1.0", "stylelint-config-standard": "^19.0.0", "stylelint-scss": "^3.13.0" + }, + "stylelint": { + "extends": ["stylelint-config-standard", "stylelint-config-recommended-scss"], + "rules": { + "no-descending-specificity": [ + true, + { + "ignore": ["selectors-within-list"] + } + ] + } } }