forked from LILIXZ/example_package_managers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 1.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"name": "my-project",
"version": "1.0.0",
"dependencies": {
"lodash": "*",
"moment": "2.29.1",
"express": "^4.17.1",
"react": "~17.0.2",
"my-library": "git+https://github.com/my-github-user/my-library.git",
"my-local-library": "file:../my-local-library",
"my-private-library": "npm-registry-url/my-private-library",
"my-github-library": "github:my-github-user/my-github-library#dev",
"my-npm-library": "github:my-github-user/my-npm-library#v1.0.0"
},
"memo": {
"lodash": "* 安装最新版本的Lodash"
"moment": "2.29.1 安装指定版本的Moment.js"
"express": "^4.17.1 安装大于等于指定版本但小于下一个主要版本的Express"
"react": "~17.0.2 安装大于等于指定版本但小于下一个次要版本的React"
"my-library": "git+https://github.com/my-github-user/my-library.git 安装MyLibrary的Git仓库地址"
"my-local-library": "file:../my-local-library 安装MyLocalLibrary的本地路径"
"my-private-library": "npm-registry-url/my-private-library 安装MyPrivateLibrary的私有NPM仓库"
"my-github-library": "github:my-github-user/my-github-library#dev 安装MyGitHubLibrary的特定分支"
"my-npm-library": "github:my-github-user/my-npm-library#v1.0.0 安装MyNPMLibrary的特定标签"
}
}