当前位置:网站首页>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
边栏推荐
- Hill sort of sorting
- Basic operation of database and table ----- the concept of index
- FEG founder rox:smartdefi will be the benchmark of the entire decentralized financial market
- 7. Scala process control
- 潘多拉 IOT 开发板学习(RT-Thread)—— 实验4 蜂鸣器+马达实验【按键外部中断】(学习笔记)
- Redis(1)之Redis简介
- Discrete mathematics: reasoning rules
- [STM32] (I) overview and GPIO introduction
- 【Unity】InputSystem
- 那些一门心思研究自动化测试的人,最后都怎样了?
猜你喜欢
[development of large e-commerce projects] performance pressure test - Optimization - impact of middleware on performance -40
Basic operation of database and table ----- the concept of index
Daily question brushing record (13)
Oracle case: SMON rollback exception causes instance crash
SAP ui5 application development tutorial 106 - how to improve the readability of SAP ui5 application routing URL trial version
SAP ui5 application development tutorial 107 - trial version of SAP ui5 overflow toolbar container control introduction
Detailed explanation of multi-mode input event distribution mechanism
[pure tone hearing test] pure tone hearing test system based on MATLAB
Actual combat simulation │ JWT login authentication
Playwright recording
随机推荐
The most complete regular practical guide of the whole network. You're welcome to take it away
MongoDB系列之学习笔记教程汇总
Expansion operator: the family is so separated
Pandora IOT development board learning (RT thread) - Experiment 4 buzzer + motor experiment [key external interrupt] (learning notes)
Kibana index, mapping, document operation
Basic operation of database and table ----- phased test II
Arbitrum:二维费用
Single step debugging of master data reading of SAP commerce cloud products
Delaying wages to force people to leave, and the layoffs of small Internet companies are a little too much!
Operator explanation
Daily practice (18): stack containing min function
Applet live + e-commerce, if you want to be a new retail e-commerce, use it!
各大主流编程语言性能PK,结果出乎意料
Database performance optimization tool
Inventory of more than 17 typical security incidents in January 2022
Are you still writing the TS type code
POAP:NFT的采用入口?
小程序直播 + 电商,想做新零售电商就用它吧!
skimage: imread & imsave & imshow
[FPGA tutorial case 9] design and implementation of clock manager based on vivado core