当前位置:网站首页>Package What is the function of JSON file? What do the inside ^ angle brackets and ~ tilde mean?
Package What is the function of JSON file? What do the inside ^ angle brackets and ~ tilde mean?
2022-07-05 01:06:00 【Wei Bo-】
1、package.json What is the function of documents ?
package.json It is the description file of the package , There are mainly the following 3 A role :
(1) It is equivalent to a document description of your local project .
(2) Allows you to specify the node The version of the package .
(3) It's easier to build your project , Easy to share with others .
2、package.json In file ^ Angle brackets and ~ What does the wave sign mean ?
according to package The second rule about the role of documents is : This file specifies the node The version of the package , stay package.json Inside dependencies There are two symbols in front of the version number of the dependent package , One is ~, One is ^.
(1)^ Express : Match the latest large version, such as 1.0.2 Will match to 1.x.x, But does not include 2.x.x
(2)~ Express : Match the latest small version, such as ~1.0.2 Will match 1.0.x edition , But don't match 1.1.0
PS: Software version number x.y.z The meaning of :
z : It means some small ones bugfix, change z Of ,
y : Indicates some major version changes , For example, some API The change of
x : It indicates some design changes and module reconfiguration , It will be upgraded x Version number
边栏推荐
- Expose testing outsourcing companies. You may have heard such a voice about outsourcing
- Basic operation of database and table ----- phased test II
- Take you ten days to easily complete the go micro service series (IX. link tracking)
- Basic operations of database and table ----- delete index
- Poap: the adoption entrance of NFT?
- Detailed explanation of multi-mode input event distribution mechanism
- Complete knapsack problem (template)
- “薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
- 【大型电商项目开发】性能压测-性能监控-堆内存与垃圾回收-39
- [Yocto RM]11 - Features
猜你喜欢
Poap: the adoption entrance of NFT?
The performance of major mainstream programming languages is PK, and the results are unexpected
SAP UI5 应用开发教程之一百零七 - SAP UI5 OverflowToolbar 容器控件介绍的试读版
“薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
Grabbing and sorting out external articles -- status bar [4]
华为百万聘请数据治理专家!背后的千亿市场值得关注
I was beaten by the interviewer because I didn't understand the sorting
Postman automatically fills headers
107. SAP UI5 OverflowToolbar 容器控件以及 resize 事件处理的一些细节介绍
Playwright之录制
随机推荐
FEG founder rox:smartdefi will be the benchmark of the entire decentralized financial market
dotnet-exec 0.6.0 released
有哪些收益稳定的理财产品,这两个都不错
每日刷题记录 (十三)
Recursive execution mechanism
Reasons and solutions of redis cache penetration and avalanche
Poap: the adoption entrance of NFT?
Sorting selection sorting
【微处理器】基于FPGA的微处理器VHDL开发
Several simplified forms of lambda expression
“薪资倒挂”、“毕业生平替” 这些现象说明测试行业已经...
[circuit design] optocoupler use and circuit design summary
资深测试/开发程序员写下无bug?资历(枷锁)不要惧怕错误......
Compare whether two lists are equal
Discrete mathematics: Main Normal Form (main disjunctive normal form, main conjunctive normal form)
[FPGA tutorial case 9] design and implementation of clock manager based on vivado core
Daily question brushing record (13)
揭露测试外包公司,关于外包,你或许听到过这样的声音
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
Playwright之录制