prepare-package 0.0.4 → 0.0.7
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 +3 -1
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -38,8 +38,9 @@ npm install prepare-package --save-dev
|
|
|
38
38
|
* `{version}` => `package.version`
|
|
39
39
|
|
|
40
40
|
## Example Setup
|
|
41
|
-
After installing via npm, simply put this in your `package.json`
|
|
41
|
+
After installing via npm, simply put this in your `package.json`
|
|
42
42
|
```json
|
|
43
|
+
...
|
|
43
44
|
"main": "dist/index.js",
|
|
44
45
|
"scripts": {
|
|
45
46
|
"prepare": "node -e 'require(`prepare-package`)'"
|
|
@@ -49,6 +50,7 @@ After installing via npm, simply put this in your `package.json` in the `scripts
|
|
|
49
50
|
"output": "dist",
|
|
50
51
|
"replace": {}
|
|
51
52
|
},
|
|
53
|
+
...
|
|
52
54
|
```
|
|
53
55
|
* `preparePackage` is not required but you can provide it to customize the process.
|
|
54
56
|
* `preparePackage.input`: The dir to copy **from**.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prepare-package",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "Prepare a Node.js package before being published",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -35,10 +35,9 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"chalk": "^4.1.2",
|
|
37
37
|
"fs-jetpack": "^4.3.1",
|
|
38
|
-
"wonderful-fetch": "^0.0.
|
|
38
|
+
"wonderful-fetch": "^0.0.9"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"fs-jetpack": "^4.3.1",
|
|
42
41
|
"mocha": "^8.0.1"
|
|
43
42
|
}
|
|
44
|
-
}
|
|
43
|
+
}
|