dir-archiver 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.
- package/README.md +8 -0
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ Compress a whole directory (including subdirectories) into a zip file, with opt
|
|
|
10
10
|
$ npm install dir-archiver
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
Requires Node.js >=14.
|
|
14
|
+
|
|
13
15
|
# Usage
|
|
14
16
|
|
|
15
17
|
## API
|
|
@@ -61,6 +63,12 @@ Options:
|
|
|
61
63
|
--exclude A list with the names of the files and folders to exclude. [array]
|
|
62
64
|
```
|
|
63
65
|
|
|
66
|
+
# Testing
|
|
67
|
+
|
|
68
|
+
```sh
|
|
69
|
+
$ npm test
|
|
70
|
+
```
|
|
71
|
+
|
|
64
72
|
|
|
65
73
|
|
|
66
74
|
[changelog-image]: https://img.shields.io/badge/changelog-md-blue.svg?style=flat-square
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dir-archiver",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "Compress a whole directory (including subdirectories) into a zip file, with options to exclude specific files, or directories.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "index.js",
|
|
@@ -34,7 +34,11 @@
|
|
|
34
34
|
"homepage": "https://github.com/Ismail-elkorchi/dir-archiver",
|
|
35
35
|
"scripts": {
|
|
36
36
|
"lint": "eslint cli.js index.js",
|
|
37
|
-
"lint:fix": "eslint --fix cli.js index.js"
|
|
37
|
+
"lint:fix": "eslint --fix cli.js index.js",
|
|
38
|
+
"test": "node test/smoke.js"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=14"
|
|
38
42
|
},
|
|
39
43
|
"dependencies": {
|
|
40
44
|
"archiver": "^7.0.1",
|
|
@@ -42,6 +46,7 @@
|
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
44
48
|
"eslint": "^8.24.0",
|
|
45
|
-
"eslint-plugin-n": "^15.3.0"
|
|
49
|
+
"eslint-plugin-n": "^15.3.0",
|
|
50
|
+
"yauzl": "^3.2.0"
|
|
46
51
|
}
|
|
47
52
|
}
|