Skip to content

Commit 02f96cf

Browse files
committed
update doc
1 parent a5e6279 commit 02f96cf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# check-npm-client
22

3+
This module helps to ensure using of [npm](https://github.com/npm/cli) or [yarn](https://github.com/yarnpkg/yarn) as npm client before try to install any dependencies to your project. It is currently working in progress.
4+
35
## references
46

57
- <https://github.com/nodejs/node/issues/14957>
68
- <https://github.com/yibn2008/find-process>
79
- <https://github.com/timoxley/npm-which>
810
- <https://github.com/npm/cli/issues/481>
9-
- <https://stackoverflow.com/questions/46725374/how-to-run-a-script-before-installing-any-npm-module>
11+
- <https://stackoverflow.com/questions/46725374/how-to-run-a-script-before-installing-any-npm-module>

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
"name": "check-npm-client",
33
"version": "1.0.0",
44
"main": "index.js",
5-
"author": "may",
5+
"author": "aprilandjan",
66
"license": "MIT",
77
"scripts": {
88
"preinstall": "node check.js",
9-
"check": "node check.js",
10-
"start": "node index.js"
9+
"check": "node check.js"
1110
},
1211
"dependencies": {
13-
"find-process": "^1.4.2",
14-
"jquery": "^3.4.1"
12+
"find-process": "^1.4.2"
1513
}
1614
}

0 commit comments

Comments
 (0)