Commit c1b0c8545a8ab71e29ab3bfc7d71f9e3b63b0c4f
1 parent
adfda8e1
Exists in
master
and in
1 other branch
add readme.md แสดงตัวอย่างการเพิ่ม lib นี้ใน package.json ของ project ที่ต้องการจะใช้
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,17 @@ | @@ -0,0 +1,17 @@ | ||
| 1 | +### Example project's package.json that add logstatalarm library | ||
| 2 | +``` | ||
| 3 | +{ | ||
| 4 | + "name": "testnpm", | ||
| 5 | + "version": "1.0.0", | ||
| 6 | + "description": "", | ||
| 7 | + "main": "index.js", | ||
| 8 | + "dependencies": { | ||
| 9 | + "logstatalarm": "git+ssh://git@git.sourcecode.co.th:1223/ais-projects/logstatalarm.git" | ||
| 10 | + }, | ||
| 11 | + "scripts": { | ||
| 12 | + "test": "echo \"Error: no test specified\" && exit 1" | ||
| 13 | + }, | ||
| 14 | + "author": "", | ||
| 15 | + "license": "ISC" | ||
| 16 | +} | ||
| 17 | +``` |