test-post-build 1.0.0 → 1.0.1

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/index.js +7 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -1 +1,7 @@
1
- console.log(process.argv)
1
+ (async () => {
2
+ await new Promise((resolve) =>
3
+ setTimeout(() => {
4
+ console.log(process.argv);
5
+ resolve();
6
+ }, 5500))
7
+ })();
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "test-post-build",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "test post build",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
7
7
  "private": false,
8
8
  "scripts": {
9
- "postinstall": "node index.js 'post install'",
10
- "postbuild": "node index.js 'post build'"
9
+ "postinstall": "node index 'post install'",
10
+ "postbuild": "node index 'post build'"
11
11
  },
12
12
  "files": [
13
13
  "index.js"