Skip to content

Commit

Permalink
chore(Library): README & Package.json updates.
Browse files Browse the repository at this point in the history
re #410
  • Loading branch information
bhough committed Mar 2, 2019
1 parent b610e38 commit 07732c4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Flow frequently updates and it is possible that the version you are running may

## TypeScript Definitions

`✨ polished` has [TypeScript](https://www.typescriptlang.org/) definitions to allow the library to be used in any TypeScript project.
`✨ polished` has [TypeScript](https://www.typescriptlang.org/) definitions to allow the library to be used in any TypeScript project. You will need to set `moduleResolution` to `node` in your `tsconfig.json` in order to use `✨ polished` with TypeScript.

### Babel plugin

Expand Down
46 changes: 23 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
{
"name": "polished",
"version": "3.0.3",
"description": "A lightweight toolset for writing styles in Javascript.",
"license": "MIT",
"author": "Brian Hough <hello@brianhough.net> (https://polished.js.org)",
"homepage": "https://polished.js.org",
"bugs": "https://github.com/styled-components/polished/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/styled-components/polished.git"
},
"keywords": [
"styled-components",
"polished",
"emotion",
"glamor",
"css-in-js",
"inline-styles",
"react",
"flow",
"typescript"
],
"main": "lib/index.js",
"module": "dist/polished.es.js",
"types": "lib/index.d.ts",
"version": "3.0.2",
"sideEffects": false,
"scripts": {
"build": "yarn build:lib && yarn build:dist && yarn build:flow && yarn build:docs && yarn build:typescript",
"prebuild:lib": "shx rm -rf lib/*",
Expand Down Expand Up @@ -43,26 +63,9 @@
"build:docs": "src/**/*.js",
"build:lib": "src/**/*.js"
},
"author": "Brian Hough <hello@brianhough.net> (https://polished.js.org)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/styled-components/polished.git"
},
"keywords": [
"styled-components",
"polished",
"emotion",
"glamor",
"css-in-js",
"inline-styles",
"react",
"typescript"
],
"bugs": {
"url": "https://github.com/styled-components/polished/issues"
"dependencies": {
"@babel/runtime": "^7.3.1"
},
"homepage": "https://github.com/styled-components/polished#readme",
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
Expand Down Expand Up @@ -122,9 +125,6 @@
"type": "opencollective",
"url": "https://opencollective.com/polished"
},
"dependencies": {
"@babel/runtime": "^7.3.1"
},
"husky": {
"hooks": {
"post-commit": "validate-commit-msg",
Expand Down

0 comments on commit 07732c4

Please sign in to comment.