danila-test 0.0.0-stage → 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/README.md +10 -2
- package/bin/hello-npm.js +6 -0
- package/index.js +7 -0
- package/package.json +19 -4
package/README.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# danila-test
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A tiny test package that prints a greeting.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm test # run the test
|
|
7
|
+
npm start -- Danila # prints "Hello, Danila! (from danila-test)"
|
|
8
|
+
npm publish # publishes to Verdaccio at http://localhost:4873/ (see publishConfig)
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
To publish a change, edit `index.js`, bump the version (`npm version patch`) and publish again.
|
package/bin/hello-npm.js
ADDED
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "danila-test",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Test npm package that prints a greeting",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"hello-npm": "bin/hello-npm.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"index.js",
|
|
11
|
+
"bin"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "node bin/hello-npm.js",
|
|
15
|
+
"test": "node test.js"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"registry": "http://localhost:4873/"
|
|
19
|
+
},
|
|
20
|
+
"license": "MIT"
|
|
21
|
+
}
|