@liquid-js/qr-code-styling 2.1.1 → 2.1.2

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/README.md +7 -7
  2. package/package.json +2 -43
package/README.md CHANGED
@@ -8,7 +8,7 @@ Try it here <https://qr-code-styling.com>
8
8
 
9
9
  If you have issues / suggestions / notes / questions, please open an issue or contact me. Let's create a cool library together.
10
10
 
11
- ### Examples
11
+ ## Examples
12
12
 
13
13
  <p float="left">
14
14
  <img style="display:inline-block" src="https://raw.githubusercontent.com/Liquid-JS/qr-code-styling/master/src/assets/facebook.png" width="240" />
@@ -16,17 +16,17 @@ If you have issues / suggestions / notes / questions, please open an issue or co
16
16
  <img style="display:inline-block" src="https://raw.githubusercontent.com/Liquid-JS/qr-code-styling/master/src/assets/telegram.png" width="240" />
17
17
  </p>
18
18
 
19
- ### Installation
19
+ ## Installation
20
20
 
21
21
  npm install @liquid-js/qr-code-styling
22
22
 
23
- ### API Documentation
23
+ ## API Documentation
24
24
 
25
25
  <https://liquid-js.github.io/qr-code-styling/>
26
26
 
27
- ### Usage
27
+ ## Usage
28
28
 
29
- #### Browser
29
+ ### Browser
30
30
 
31
31
  ```HTML
32
32
  <!doctype html>
@@ -70,7 +70,7 @@ If you have issues / suggestions / notes / questions, please open an issue or co
70
70
  </html>
71
71
  ```
72
72
 
73
- #### Node
73
+ ### Node
74
74
 
75
75
  ```js
76
76
  import { QRCodeStyling } from "@liquid-js/qr-code-styling";
@@ -118,6 +118,6 @@ const buffer = await new Promise((resolve) => {
118
118
  await writeFile("qr.pdf", buffer);
119
119
  ```
120
120
 
121
- ### License
121
+ ## License
122
122
 
123
123
  [MIT License](https://github.com/Liquid-JS/qr-code-styling/blob/master/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liquid-js/qr-code-styling",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Add a style and an image to your QR code",
5
5
  "type": "module",
6
6
  "main": "./lib/qr-code-styling-node.js",
@@ -27,46 +27,6 @@
27
27
  "tslib": "^2.6.2",
28
28
  "typedoc": "^0.25.13"
29
29
  },
30
- "devDependencies": {
31
- "@commitlint/cli": "^19.3.0",
32
- "@commitlint/config-conventional": "^19.2.2",
33
- "@rollup/plugin-commonjs": "^25.0.7",
34
- "@rollup/plugin-node-resolve": "^15.2.3",
35
- "@rollup/plugin-terser": "^0.4.4",
36
- "@types/jsdom": "^21.1.6",
37
- "@types/node": "<21.0.0",
38
- "@types/node-fetch": "^2.6.11",
39
- "@types/sharp": "^0.31.1",
40
- "@typescript-eslint/eslint-plugin": "^7.7.1",
41
- "@typescript-eslint/parser": "^7.7.1",
42
- "canvas": "^2.11.2",
43
- "eslint": "<9.0.0",
44
- "eslint-config-prettier": "^9.1.0",
45
- "eslint-plugin-jest": "^28.2.0",
46
- "eslint-plugin-prettier": "^5.1.3",
47
- "husky": "^9.0.11",
48
- "jest": "^29.7.0",
49
- "jest-environment-jsdom": "^29.7.0",
50
- "npm-check-updates": "^16.14.18",
51
- "prettier": "^3.2.5",
52
- "rimraf": "^5.0.5",
53
- "rollup": "^4.16.4",
54
- "rollup-plugin-typescript2": "^0.36.0",
55
- "standard-version": "^9.5.0",
56
- "ts-jest": "^29.1.2",
57
- "typescript": "^5.4.5",
58
- "vite": "^5.2.10"
59
- },
60
- "scripts": {
61
- "build": "rimraf lib && rollup -c rollup.config.ts --configPlugin rollup-plugin-typescript2",
62
- "test": "jest",
63
- "start": "vite src",
64
- "lint": "prettier -w . && eslint . --fix",
65
- "prepublishOnly": "npm run build",
66
- "prepare": "husky",
67
- "release": "git diff --exit-code && standard-version && git push --follow-tags origin",
68
- "docs": "typedoc ./src/index.ts ./src/tools/browserUtils.ts ./src/tools/browserImageTools.ts"
69
- },
70
30
  "repository": {
71
31
  "type": "git",
72
32
  "url": "git+https://github.com/Liquid-JS/qr-code-styling.git"
@@ -92,6 +52,5 @@
92
52
  "bugs": {
93
53
  "url": "https://github.com/Liquid-JS/qr-code-styling/issues"
94
54
  },
95
- "homepage": "https://qr-code-styling.com",
96
- "packageManager": "yarn@4.1.1"
55
+ "homepage": "https://qr-code-styling.com"
97
56
  }