当前位置:网站首页>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
边栏推荐
- There is a new Post-00 exam king in the testing department. I really can't do it in my old age. I have
- leetcode518,377
- FEG founder rox:smartdefi will be the benchmark of the entire decentralized financial market
- Huawei employs millions of data governance experts! The 100 billion market behind it deserves attention
- 【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
- Liangzai's first program life and annual summary in 2022
- SAP UI5 应用的主-从-从(Master-Detail-Detail)布局模式的实现步骤
- 资深测试/开发程序员写下无bug?资历(枷锁)不要惧怕错误......
- 7. Scala process control
- Maximum number of "balloons"
猜你喜欢

【大型电商项目开发】性能压测-优化-中间件对性能的影响-40

【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真

每日刷题记录 (十三)
![[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40](/img/e4/0bdee782a65028b2bc87db85d48738.png)
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40

SAP ui5 application development tutorial 106 - how to improve the readability of SAP ui5 application routing URL trial version

Binary conversion problem

全栈开发提效神器——ApiFox(Postman + Swagger + Mock + JMeter)

dotnet-exec 0.6.0 released

A simple SSO unified login design

【海浪建模1】海浪建模的理论分析和matlab仿真
随机推荐
Implementation steps of master detail detail layout mode of SAP ui5 application
当产业互联网时代真正发展完善之后,将会在每一个场景见证巨头的诞生
Call Huawei order service to verify the purchase token interface and return connection reset
“薪資倒掛”、“畢業生平替” 這些現象說明測試行業已經...
4. Scala writes HelloWorld in idea, in-depth analysis of accompanying objects, and association of source packages
Global and Chinese markets for industrial X-ray testing equipment 2022-2028: Research Report on technology, participants, trends, market size and share
Insert sort of sort
[Yocto RM]10 - Images
Playwright之录制
大专学历,33岁宝妈又怎样?我照样销售转测试,月入13k+
What if the programmer's SQL data script coding ability is weak and Bi can't do it?
【FPGA教程案例10】基于Verilog的复数乘法器设计与实现
Query for Boolean field as "not true" (e.g. either false or non-existent)
Basic operations of database and table ----- create index
Multilingual Wikipedia website source code development part II
Reasons and solutions of redis cache penetration and avalanche
6. Scala operator
Take you ten days to easily complete the go micro service series (IX. link tracking)
Hill sort of sorting
抓包整理外篇——————状态栏[ 四]