当前位置:网站首页>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
边栏推荐
- ||Interview questions you will encounter
- 【海浪建模3】三维随机真实海浪建模以及海浪发电机建模matlab仿真
- Yyds dry goods inventory kubernetes management business configuration methods? (08)
- pycharm专业版下载安装教程
- Hand drawn video website
- Postman automatically fills headers
- Complete knapsack problem (template)
- skimage: imread & imsave & imshow
- const、volatile和restrict的作用和用法总结
- Async/await you can use it, but do you know how to deal with errors?
猜你喜欢
BGP comprehensive experiment
华为百万聘请数据治理专家!背后的千亿市场值得关注
Expose testing outsourcing companies. You may have heard such a voice about outsourcing
107. SAP UI5 OverflowToolbar 容器控件以及 resize 事件处理的一些细节介绍
Basic operations of database and table ----- create index
SAP UI5 应用的主-从-从(Master-Detail-Detail)布局模式的实现步骤
Behind the cluster listing, to what extent is the Chinese restaurant chain "rolled"?
Arbitrum:二维费用
How to use words to describe breaking change in Spartacus UI of SAP e-commerce cloud
Basic operation of database and table ----- phased test II
随机推荐
SAP UI5 应用开发教程之一百零七 - SAP UI5 OverflowToolbar 容器控件介绍的试读版
【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
Which financial products with stable income are good
The performance of major mainstream programming languages is PK, and the results are unexpected
Global and Chinese markets for stratospheric UAV payloads 2022-2028: Research Report on technology, participants, trends, market size and share
leetcode494,474
整理混乱的头文件,我用include what you use
There is a new Post-00 exam king in the testing department. I really can't do it in my old age. I have
[wave modeling 3] three dimensional random real wave modeling and wave generator modeling matlab simulation
Les phénomènes de « salaire inversé » et de « remplacement des diplômés » indiquent que l'industrie des tests a...
全栈开发提效神器——ApiFox(Postman + Swagger + Mock + JMeter)
Discrete mathematics: reasoning rules
视频网站手绘
[flutter topic] 64 illustration basic textfield text input box (I) # yyds dry goods inventory #
Delaying wages to force people to leave, and the layoffs of small Internet companies are a little too much!
The difference between string STR and new string
Insert sort of sort
Operator explanation
Discrete mathematics: propositional symbolization of predicate logic
【海浪建模1】海浪建模的理论分析和matlab仿真