当前位置:网站首页>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
边栏推荐
- [Yocto RM]11 - Features
- To sort out messy header files, I use include what you use
- Hill sort of sorting
- 当产业互联网时代真正发展完善之后,将会在每一个场景见证巨头的诞生
- 视频网站手绘
- 【海浪建模3】三维随机真实海浪建模以及海浪发电机建模matlab仿真
- Which financial products with stable income are good
- Basic operation of database and table ----- phased test II
- Global and Chinese market of veterinary thermometers 2022-2028: Research Report on technology, participants, trends, market size and share
- Playwright recording
猜你喜欢
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
Analysis and comparison of leetcode weekly race + acwing weekly race (t4/t3)
Redis master-slave replication cluster and recovery ideas for abnormal data loss # yyds dry goods inventory #
How to use words to describe breaking change in Spartacus UI of SAP e-commerce cloud
ROS command line tool
Actual combat simulation │ JWT login authentication
各大主流编程语言性能PK,结果出乎意料
那些一门心思研究自动化测试的人,最后都怎样了?
Binary conversion problem
SAP ui5 application development tutorial 106 - how to improve the readability of SAP ui5 application routing URL trial version
随机推荐
Single step debugging of master data reading of SAP commerce cloud products
The difference between string STR and new string
Compare whether two lists are equal
Hand drawn video website
有哪些收益稳定的理财产品,这两个都不错
[microprocessor] VHDL development of microprocessor based on FPGA
Basic concept and usage of redis
Paxos 入门
Introduction to the gtid mode of MySQL master-slave replication
Oracle case: SMON rollback exception causes instance crash
测试部新来了个00后卷王,上了年纪的我真的干不过了,已经...
pycharm专业版下载安装教程
Call Huawei order service to verify the purchase token interface and return connection reset
揭露测试外包公司,关于外包,你或许听到过这样的声音
当产业互联网时代真正发展完善之后,将会在每一个场景见证巨头的诞生
[untitled]
视频网站手绘
“薪资倒挂”、“毕业生平替” 这些现象说明测试行业已经...
Inventory of more than 17 typical security incidents in January 2022
[wave modeling 3] three dimensional random real wave modeling and wave generator modeling matlab simulation