react-jsbarcode 0.2.2 → 0.2.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-jsbarcode",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "JSBarcode component for React",
5
5
  "homepage": "http://github.com/iamchathu/react-jsbarcode",
6
6
  "repository": {
@@ -8,6 +8,7 @@
8
8
  "url": "https://github.com/iamchathu/react-jsbarcode.git"
9
9
  },
10
10
  "main": "lib/index.js",
11
+ "module": "lib/index.esm.js",
11
12
  "types": "lib/index.d.ts",
12
13
  "files": [
13
14
  "lib"
@@ -16,7 +17,8 @@
16
17
  "license": "MIT",
17
18
  "scripts": {
18
19
  "clean": "rimraf lib/",
19
- "build": "tsc -b .",
20
+ "tsc": "tsc -b .",
21
+ "build": "rollup -c",
20
22
  "prepare": "install-peers && husky install",
21
23
  "lint": "eslint 'src/**/*.{ts,tsx}' --quiet --fix ",
22
24
  "prepublishOnly": "yarn clean && yarn build",
@@ -28,24 +30,29 @@
28
30
  "devDependencies": {
29
31
  "@commitlint/cli": "^13.2.0",
30
32
  "@commitlint/config-conventional": "^13.2.0",
31
- "@types/react": "^17.0.27",
32
- "@typescript-eslint/eslint-plugin": "^4.33.0",
33
- "@typescript-eslint/parser": "^4.33.0",
34
- "eslint": "^7.32.0",
35
- "eslint-config-airbnb": "^18.2.1",
36
- "eslint-config-airbnb-typescript": "^14.0.0",
37
- "eslint-config-prettier": "^8.3.0",
38
- "eslint-plugin-import": "^2.24.2",
39
- "eslint-plugin-jsx-a11y": "^6.4.1",
40
- "eslint-plugin-react": "^7.26.1",
41
- "eslint-plugin-react-hooks": "^4.2.0",
33
+ "@rollup/plugin-commonjs": "^21.0.0",
34
+ "@rollup/plugin-node-resolve": "^13.0.5",
35
+ "@rollup/plugin-typescript": "^8.2.5",
36
+ "@types/react": "^17.0.39",
37
+ "@typescript-eslint/eslint-plugin": "^5.13.0",
38
+ "@typescript-eslint/parser": "^5.13.0",
39
+ "eslint": "^8.10.0",
40
+ "eslint-config-airbnb": "^19.0.4",
41
+ "eslint-config-airbnb-typescript": "^16.1.0",
42
+ "eslint-config-prettier": "^8.5.0",
43
+ "eslint-plugin-import": "^2.25.4",
44
+ "eslint-plugin-jsx-a11y": "^6.5.1",
45
+ "eslint-plugin-react": "^7.29.3",
46
+ "eslint-plugin-react-hooks": "^4.3.0",
42
47
  "husky": "^7.0.2",
43
48
  "install-peers-cli": "^2.2.0",
44
49
  "lint-staged": "^11.2.0",
45
- "prettier": "^2.4.1",
50
+ "prettier": "^2.5.1",
46
51
  "rimraf": "^3.0.2",
52
+ "rollup": "^2.58.0",
53
+ "rollup-plugin-peer-deps-external": "^2.2.4",
47
54
  "standard-version": "^9.3.1",
48
- "typescript": "^4.4.3"
55
+ "typescript": "^4.6.2"
49
56
  },
50
57
  "peerDependencies": {
51
58
  "react": "^17.0.2"
@@ -55,6 +62,7 @@
55
62
  "react-component",
56
63
  "barcode",
57
64
  "jsbarcode",
58
- "barcode generator"
65
+ "barcode generator",
66
+ "react barcode"
59
67
  ]
60
68
  }
package/CHANGELOG.md DELETED
@@ -1,50 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [0.2.2](https://github.com/iamchathu/react-jsbarcode/compare/v0.2.1...v0.2.2) (2021-10-08)
6
-
7
- ### Features
8
-
9
- - add className and style support ([cd4d63a](https://github.com/iamchathu/react-jsbarcode/commit/cd4d63ac6a42ba2401f95898c548c318aed7dca3))
10
-
11
- ### [0.2.1](https://github.com/iamchathu/react-jsbarcode/compare/v0.2.0...v0.2.1) (2021-10-07)
12
-
13
- ### Bug Fixes
14
-
15
- - make options optional prop ([0bc6f4b](https://github.com/iamchathu/react-jsbarcode/commit/0bc6f4b3cb41efbc97f71495f2f9f8f40775353e))
16
-
17
- ## [0.2.0](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.2...v0.2.0) (2021-10-07)
18
-
19
- ### ⚠ BREAKING CHANGES
20
-
21
- - move jsbarcode as dependacy rather than peer
22
-
23
- ### Features
24
-
25
- - move jsbarcode as dependacy rather than peer ([4730d31](https://github.com/iamchathu/react-jsbarcode/commit/4730d3167ae6c2fff2451b7083862069bbd674a6))
26
-
27
- ### [0.1.2](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.1...v0.1.2) (2021-10-07)
28
-
29
- ### Bug Fixes
30
-
31
- - readme example and add more details ([73c68ca](https://github.com/iamchathu/react-jsbarcode/commit/73c68ca46dac183b53b02a581550feddc3995d9e))
32
-
33
- ### [0.1.1](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.0...v0.1.1) (2021-10-07)
34
-
35
- ### Bug Fixes
36
-
37
- - readme react jsx formatting ([94a24bf](https://github.com/iamchathu/react-jsbarcode/commit/94a24bf833cd79e254806c7e46bae51ad94e8c0a))
38
-
39
- ## 0.1.0 (2021-10-07)
40
-
41
- ### ⚠ BREAKING CHANGES
42
-
43
- - rename data prop name to value
44
-
45
- ### Bug Fixes
46
-
47
- - formatting of readme ([10c6717](https://github.com/iamchathu/react-jsbarcode/commit/10c6717f3c88924dc723bcec181e9424928294ca))
48
- - readme with peer deps installation ([89c7d28](https://github.com/iamchathu/react-jsbarcode/commit/89c7d28ad9a83eb818540d5db1c13884ae55fd1c))
49
-
50
- - rename data prop name to value ([dcfe0df](https://github.com/iamchathu/react-jsbarcode/commit/dcfe0dff3e2ade242b5ce8ef2338cd8422ace03f))
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAkB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE/C,0BAAkB,QAAQ;IACxB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,OAAO,EAAE,OAAO,EAAE,CAAC;AAEnB,QAAA,MAAM,YAAY,mDAAmE,iBAAiB,gBAerG,CAAC;AAEF,eAAe,YAAY,CAAC"}