Skip to content

Commit

Permalink
add some missing info to package.json and some minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Rude committed Apr 17, 2020
1 parent be128a3 commit 853ae65
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
4 changes: 0 additions & 4 deletions examples/styled-components/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
Expand Down
27 changes: 19 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
{
"name": "leading-trim",
"description": "Strip out spacing above and below the first and last lines of a text block",
"version": "1.0.0",
"author": "Rude",
"license": "MIT",
"author": {
"name": "Rude Ayelo",
"email": "[email protected]"
},
"keywords": [
"line-height",
"basekick",
"leading-trim",
"css-in-js"
],
"repository": "rudeayelo/leading-trim",
"main": "dist/index.js",
"module": "dist/leading-trim.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"license": "MIT",
"engines": {
"node": ">=10"
},
Expand All @@ -20,12 +31,6 @@
"lint": "tsdx lint",
"prepare": "tsdx build"
},
"devDependencies": {
"husky": "4.2.5",
"tsdx": "0.13.2",
"tslib": "1.11.1",
"typescript": "3.8.3"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
Expand All @@ -34,5 +39,11 @@
"prettier": {
"trailingComma": "all",
"proseWrap": "always"
},
"devDependencies": {
"husky": "4.2.5",
"tsdx": "0.13.2",
"tslib": "1.11.1",
"typescript": "3.8.3"
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ value. The effect of that extra space may be overlooked or worked around, but
when working with precise scales and layout components, there's probably no room
for random spacing going around your text.

<img src="./public/leading-trim-comparison.gif" alt="leading-trim behaviour comparison" />
<img src="./public/leading-trim-comparison.gif" alt="leading-trim behaviour comparison" width="500" />

`leading-trim` is a JavaScript port of **EightShapes**'s
[Text Crop mixin](http://text-crop.eightshapes.com/)
Expand Down

0 comments on commit 853ae65

Please sign in to comment.