@igorkowalczyk/is-browser 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +18 -22
  2. package/readme.md +7 -5
package/package.json CHANGED
@@ -1,38 +1,34 @@
1
1
  {
2
2
  "name": "@igorkowalczyk/is-browser",
3
- "version": "3.0.0",
4
3
  "description": "🏔️ Add support for browser specific variants in Tailwind.css",
4
+ "version": "3.2.0",
5
+ "author": "Igor Kowalczyk",
6
+ "license": "MIT",
7
+ "sideEffects": false,
8
+ "repository": "IgorKowalczyk/is-browser",
9
+ "bugs": "https://github.com/IgorKowalczyk/is-browser/issues",
10
+ "homepage": "https://github.com/IgorKowalczyk/is-browser#readme",
5
11
  "main": "dist/index.cjs",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/IgorKowalczyk/is-browser.git"
9
- },
10
12
  "keywords": [
11
13
  "tailwindcss",
12
14
  "react",
13
15
  "firefox",
14
16
  "chrome"
15
17
  ],
16
- "author": "Igor Kowalczyk",
17
- "license": "MIT",
18
- "sideEffects": false,
19
18
  "engines": {
20
19
  "node": ">=10"
21
20
  },
22
- "bugs": {
23
- "url": "https://github.com/IgorKowalczyk/is-browser/issues"
24
- },
25
- "homepage": "https://github.com/IgorKowalczyk/is-browser#readme",
26
21
  "devDependencies": {
27
- "esbuild": "0.17.3",
28
- "eslint": "^8.32.0",
29
- "eslint-config-prettier": "^8.6.0",
30
- "prettier": "2.8.3",
31
- "prettier-plugin-tailwindcss": "0.2.1",
32
- "tailwindcss": "3.2.4"
22
+ "@igorkowalczyk/eslint-config": "1.3.2",
23
+ "@igorkowalczyk/prettier-config": "1.3.2",
24
+ "esbuild": "0.17.18",
25
+ "eslint": "8.40.0",
26
+ "prettier": "2.8.8",
27
+ "prettier-plugin-tailwindcss": "0.2.8",
28
+ "tailwindcss": "3.3.2"
33
29
  },
34
30
  "peerDependencies": {
35
- "tailwindcss": "3.0 || 3.2"
31
+ "tailwindcss": ">=3.0.0"
36
32
  },
37
33
  "files": [
38
34
  "README.md",
@@ -41,10 +37,10 @@
41
37
  "exports": {
42
38
  "require": "./dist/index.cjs"
43
39
  },
44
- "packageManager": "pnpm@7.25.1",
40
+ "packageManager": "pnpm@8.4.0",
45
41
  "scripts": {
46
- "format": "prettier --write . --ignore-unknown",
47
- "format:check": "prettier --check .",
42
+ "format": "prettier --write . --ignore-unknown --cache",
43
+ "format:check": "prettier --check . --cache",
48
44
  "build": "esbuild index.js --format=cjs --platform=node --minify --outfile=dist/index.cjs",
49
45
  "lint": "eslint . --ext .js,.ts"
50
46
  }
package/readme.md CHANGED
@@ -1,9 +1,11 @@
1
- <img width="170" height="170" align="left" style="float: left; margin: 0 10px 0 0; border-radius: 50%;" alt="Tailwindcss" src="https://raw.githubusercontent.com/IgorKowalczyk/is-browser/main/src/images/logo.svg">
1
+ <img width="170" height="170" align="left" style="float: left; margin: 0 10px 0 0; border-radius: 50%;" alt="Tailwindcss logo" src="https://raw.githubusercontent.com/IgorKowalczyk/is-browser/main/src/images/logo.svg">
2
2
 
3
- # Tailwind is `:browser`
3
+ # TailwindCSS is `:browser`
4
4
 
5
5
  🏔️ Add support for browser specific variants in Tailwind.css
6
- <br><br><br>
6
+
7
+ [![GitHub License](https://img.shields.io/github/license/igorkowalczyk/is-browser?color=%2334D058&logo=github&style=flat-square&label=License)](https://github.com/igorkowalczyk/is-browser/blob/main/license.md)
8
+ [![NPM Version](https://img.shields.io/npm/v/%40igorkowalczyk%2Fis-browser/latest.svg?logo=npm&logoColor=fff&style=flat-square&color=%2334D058)](https://npmjs.com/package/@igorkowalczyk/is-browser) [![NPM Downloads](https://img.shields.io/npm/dw/@igorkowalczyk/is-browser?logo=npm&logoColor=fff&style=flat-square&color=%2334D058&label=Downloads)](https://npmjs.com/package/@igorkowalczyk/is-browser)
7
9
 
8
10
  ---
9
11
 
@@ -56,9 +58,9 @@ If you have any issues with the page please create [new issue here](https://gith
56
58
  When submitting a pull request:
57
59
 
58
60
  - Clone the repo.
59
- - Create a branch off of master and give it a meaningful name (e.g. my-awesome-new-feature).
61
+ - Create a branch off of `main` and give it a meaningful name (e.g. `my-awesome-new-feature`).
60
62
  - Open a [pull request](https://github.com/igorkowalczyk/is-browser/pulls) on [GitHub](https://github.com) and describe the feature or fix.
61
63
 
62
64
  ## 📋 License
63
65
 
64
- This project is licensed under the MIT. See the [LICENSE](https://github.com/igorkowalczyk/is-browser/blob/master/license.md) file for details
66
+ This project is licensed under the MIT. See the [LICENSE](https://github.com/igorkowalczyk/is-browser/blob/main/license.md) file for details