当前位置:网站首页>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
边栏推荐
- node工程中package.json文件作用是什么?里面的^尖括号和~波浪号是什么意思?
- College degree, what about 33 year old Baoma? I still sell and test, and my monthly income is 13K+
- 【海浪建模2】三维海浪建模以及海浪发电机建模matlab仿真
- Pandora IOT development board learning (RT thread) - Experiment 4 buzzer + motor experiment [key external interrupt] (learning notes)
- 如果消费互联网比喻成「湖泊」的话,产业互联网则是广阔的「海洋」
- 视频网站手绘
- leetcode518,377
- MongoDB系列之学习笔记教程汇总
- The most complete regular practical guide of the whole network. You're welcome to take it away
- [Yocto RM]10 - Images
猜你喜欢
![[untitled]](/img/d1/85550f58ce47e3609abe838b58c79e.jpg)
[untitled]

Playwright之录制

Behind the cluster listing, to what extent is the Chinese restaurant chain "rolled"?

【Unity】InputSystem

Parameter passing mechanism of member methods

The performance of major mainstream programming languages is PK, and the results are unexpected

Operator explanation

Basic operations of database and table ----- create index

Recursive execution mechanism

Expansion operator: the family is so separated
随机推荐
Global and Chinese market of optical densitometers 2022-2028: Research Report on technology, participants, trends, market size and share
Digital DP template
【FPGA教程案例10】基于Verilog的复数乘法器设计与实现
Detailed explanation of multi-mode input event distribution mechanism
抓包整理外篇——————状态栏[ 四]
Open3d uses GICP to register point clouds
Identifiers and keywords
【Unity】InputSystem
Database postragesql lock management
Discrete mathematics: propositional symbolization of predicate logic
Maximum number of "balloons"
Complete knapsack problem (template)
How to use words to describe breaking change in Spartacus UI of SAP e-commerce cloud
POAP:NFT的采用入口?
大专学历,33岁宝妈又怎样?我照样销售转测试,月入13k+
Expansion operator: the family is so separated
程序员SQL数据脚本编码能力弱,BI做不出来怎么办?
Innovation leads the direction. Huawei Smart Life launches new products in the whole scene
[Yocto RM]11 - Features
Basic operation of database and table ----- phased test II