codify-images 1.4.4 → 1.4.5
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/README.md +7 -7
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Quick and easy tool for converting a set of images into inline JavaScript.
|
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
|
-
```
|
|
14
|
+
```console
|
|
15
15
|
npm i -D codify-images
|
|
16
16
|
```
|
|
17
17
|
|
|
@@ -68,7 +68,7 @@ const images = {
|
|
|
68
68
|
|
|
69
69
|
Below is the output of `codify-images --help`.
|
|
70
70
|
|
|
71
|
-
```
|
|
71
|
+
```console
|
|
72
72
|
Usage: codify-images [options] <input path>
|
|
73
73
|
|
|
74
74
|
Arguments:
|
|
@@ -96,7 +96,7 @@ latest LTS version is tested against.
|
|
|
96
96
|
|
|
97
97
|
Install dependencies via `npm`.
|
|
98
98
|
|
|
99
|
-
```
|
|
99
|
+
```console
|
|
100
100
|
npm i
|
|
101
101
|
```
|
|
102
102
|
|
|
@@ -104,7 +104,7 @@ npm i
|
|
|
104
104
|
|
|
105
105
|
Execute linters via `npm`.
|
|
106
106
|
|
|
107
|
-
```
|
|
107
|
+
```console
|
|
108
108
|
# git, javascript and markdown
|
|
109
109
|
npm run lint
|
|
110
110
|
|
|
@@ -122,7 +122,7 @@ npm run lint:md
|
|
|
122
122
|
|
|
123
123
|
Execute tests via `npm`.
|
|
124
124
|
|
|
125
|
-
```
|
|
125
|
+
```console
|
|
126
126
|
# lint and unit tests
|
|
127
127
|
npm test
|
|
128
128
|
|
|
@@ -134,7 +134,7 @@ npm run test:unit
|
|
|
134
134
|
|
|
135
135
|
Execute formatters via `npm`.
|
|
136
136
|
|
|
137
|
-
```
|
|
137
|
+
```console
|
|
138
138
|
# javascript and markdown
|
|
139
139
|
npm run format
|
|
140
140
|
|
|
@@ -149,7 +149,7 @@ npm run format:md
|
|
|
149
149
|
|
|
150
150
|
Run a build via `npm`.
|
|
151
151
|
|
|
152
|
-
```
|
|
152
|
+
```console
|
|
153
153
|
npm run build
|
|
154
154
|
```
|
|
155
155
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codify-images",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"description": "Quick and easy tool for converting a set of images into inline JavaScript",
|
|
5
5
|
"main": "dist/codify-images.js",
|
|
6
6
|
"bin": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"format:md": "npm run -s lint:md -- --fix",
|
|
19
19
|
"pretest": "rimraf test/.temp/",
|
|
20
20
|
"test": "run-s -s lint test:unit",
|
|
21
|
-
"test:unit": "nyc mocha test/*.test.js"
|
|
21
|
+
"test:unit": "nyc mocha test/unit/*.test.js"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"chalk": "^4.1.2",
|
|
49
49
|
"commander": "^9.0.0",
|
|
50
50
|
"lodash.camelcase": "^4.3.0",
|
|
51
|
-
"mini-svg-data-uri": "^1.4.
|
|
51
|
+
"mini-svg-data-uri": "^1.4.4",
|
|
52
52
|
"mkdirp": "^1.0.4"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@babel/cli": "^7.17.
|
|
55
|
+
"@babel/cli": "^7.17.6",
|
|
56
56
|
"@babel/register": "^7.17.0",
|
|
57
|
-
"@commitlint/cli": "^16.1
|
|
57
|
+
"@commitlint/cli": "^16.2.1",
|
|
58
58
|
"@devpow112/babel-config": "^1.0.2",
|
|
59
59
|
"@devpow112/commitlint-config": "^1.0.0",
|
|
60
60
|
"@devpow112/eslint-config": "^1.1.2",
|
|
61
|
-
"@devpow112/semantic-release-config": "^1.0
|
|
61
|
+
"@devpow112/semantic-release-config": "^1.1.0",
|
|
62
62
|
"chai": "^4.3.6",
|
|
63
|
-
"eslint": "^8.
|
|
63
|
+
"eslint": "^8.10.0",
|
|
64
64
|
"markdownlint-cli": "^0.31.1",
|
|
65
|
-
"mocha": "^9.2.
|
|
65
|
+
"mocha": "^9.2.1",
|
|
66
66
|
"npm-run-all": "^4.1.5",
|
|
67
67
|
"nyc": "^15.1.0",
|
|
68
68
|
"rimraf": "^3.0.2",
|