我有这个bower.json文件。
{
"name": "angular-seed",
"description": "A starter project for AngularJS",
"version": "0.0.0",
"homepage": "https://github.com/angular/angular-seed",
"license": "MIT",
"private": true,
"dependencies": {
"angular": "~1.4.0",
"angular-route": "~1.4.0",
"angular-loader": "~1.4.0",
"angular-mocks": "~1.4.0",
"html5-boilerplate": "~5.2.0",
"angular-google-chart": "^0.1.0",
"angular-material": "^1.0.6"
}
}
对于某些依赖项,我在"angular-material": "^1.0.6"
中看到^。对于其他人,我看到〜"html5-boilerplate": "~5.2.0"
。 ^和〜之间有什么区别?