alipackage 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/package.json +8 -2
  2. package/postinstall.js +5 -0
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "alipackage",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "My first npm package",
5
5
  "main": "index.cjs",
6
+ "scripts": {
7
+ "postinstall": "node postinstall.js"
8
+ },
6
9
  "exports": {
7
10
  "require": "./index.cjs",
8
11
  "import": "./index.mjs"
9
12
  },
10
- "keywords": ["express", "middleware"],
13
+ "keywords": [
14
+ "express",
15
+ "middleware"
16
+ ],
11
17
  "author": "Muddassir Ali",
12
18
  "license": "MIT"
13
19
  }
package/postinstall.js ADDED
@@ -0,0 +1,5 @@
1
+ // postinstall.js
2
+ console.log("🔥 alipackage postinstall script running");
3
+
4
+ // You can do logging, setup, checks here
5
+ console.log("✅ alipackage postinstall script completed");