packt-dm 1.0.0

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/LICENSE ADDED
File without changes
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # packt-dm
2
+
3
+ Minimal Node.js library.
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ console.log("packt loaded");
2
+ console.log("packt __dirname:", __dirname);
3
+ console.log("packt process.cwd():", process.cwd());
4
+
5
+ module.exports = function packt() {
6
+ console.log("packt() executed");
7
+ console.log("runtime cwd:", process.cwd());
8
+ };
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "packt-dm",
3
+ "version": "1.0.0",
4
+ "description": "Minimal Node.js library",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "prepare": "node scripts/prepare.js",
8
+ "postinstall": "node scripts/postinstall.js"
9
+ },
10
+ "keywords": [],
11
+ "author": "",
12
+ "license": "MIT",
13
+ "type": "commonjs",
14
+ "files": [
15
+ "index.js",
16
+ "scripts",
17
+ "README.md",
18
+ "LICENSE"
19
+ ]
20
+ }
@@ -0,0 +1,2 @@
1
+ console.log("[packt] postinstall");
2
+ console.log("postinstall cwd:", process.cwd());
@@ -0,0 +1,2 @@
1
+ console.log("[packt] prepare");
2
+ console.log("prepare cwd:", process.cwd());