Skip to content

Commit 07732c4

Browse files
committed
chore(Library): README & Package.json updates.
re #410
1 parent b610e38 commit 07732c4

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Flow frequently updates and it is possible that the version you are running may
5050

5151
## TypeScript Definitions
5252

53-
`✨ polished` has [TypeScript](https://www.typescriptlang.org/) definitions to allow the library to be used in any TypeScript project.
53+
`✨ 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.
5454

5555
### Babel plugin
5656

package.json

+23-23
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
11
{
22
"name": "polished",
3+
"version": "3.0.3",
34
"description": "A lightweight toolset for writing styles in Javascript.",
5+
"license": "MIT",
6+
"author": "Brian Hough <[email protected]> (https://polished.js.org)",
7+
"homepage": "https://polished.js.org",
8+
"bugs": "https://github.com/styled-components/polished/issues",
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/styled-components/polished.git"
12+
},
13+
"keywords": [
14+
"styled-components",
15+
"polished",
16+
"emotion",
17+
"glamor",
18+
"css-in-js",
19+
"inline-styles",
20+
"react",
21+
"flow",
22+
"typescript"
23+
],
424
"main": "lib/index.js",
525
"module": "dist/polished.es.js",
626
"types": "lib/index.d.ts",
7-
"version": "3.0.2",
27+
"sideEffects": false,
828
"scripts": {
929
"build": "yarn build:lib && yarn build:dist && yarn build:flow && yarn build:docs && yarn build:typescript",
1030
"prebuild:lib": "shx rm -rf lib/*",
@@ -43,26 +63,9 @@
4363
"build:docs": "src/**/*.js",
4464
"build:lib": "src/**/*.js"
4565
},
46-
"author": "Brian Hough <[email protected]> (https://polished.js.org)",
47-
"license": "MIT",
48-
"repository": {
49-
"type": "git",
50-
"url": "git+https://github.com/styled-components/polished.git"
51-
},
52-
"keywords": [
53-
"styled-components",
54-
"polished",
55-
"emotion",
56-
"glamor",
57-
"css-in-js",
58-
"inline-styles",
59-
"react",
60-
"typescript"
61-
],
62-
"bugs": {
63-
"url": "https://github.com/styled-components/polished/issues"
66+
"dependencies": {
67+
"@babel/runtime": "^7.3.1"
6468
},
65-
"homepage": "https://github.com/styled-components/polished#readme",
6669
"devDependencies": {
6770
"@babel/cli": "^7.2.3",
6871
"@babel/core": "^7.3.3",
@@ -122,9 +125,6 @@
122125
"type": "opencollective",
123126
"url": "https://opencollective.com/polished"
124127
},
125-
"dependencies": {
126-
"@babel/runtime": "^7.3.1"
127-
},
128128
"husky": {
129129
"hooks": {
130130
"post-commit": "validate-commit-msg",

0 commit comments

Comments
 (0)