[英]bower.json and package.json interpolation
I got a project from 3rd party and they have something like below in bower.json and package.json file 我从第3方得到一个项目,bower.json和package.json文件中的内容如下
"name": "${project.artifactId}",
"description": "${project.description}",
"version": "${project.version}",
I cannot figure out which build engine uses ${}
interpolation in .json file. 我无法弄清楚哪个构建引擎在.json文件中使用
${}
插值。 There is also brunch-config.cofee
file with similar usage. 还有一个类似用法的
brunch-config.cofee
文件。 I don't see anything describing those variables. 我看不到任何描述这些变量的信息。 My
brunch build
just fail completely (maybe for unrelated reason): 我的
brunch build
完全失败(可能出于不相关的原因):
$ brunch build -d
14 Aug 23:03:50 - error: { [Error: Component must have "/Users/test/bower/angular/bower.json"] code: 'NO_BOWER_JSON' }
brunch:watch Loaded plugins: +0ms
brunch:watch File 'package.json' received event 'add' +11ms
brunch:watch File 'bower.json' received event 'add' +2ms
brunch:watch File 'brunch-config.coffee' received event 'add' +0ms
Can you help to provide some guidance? 您可以提供一些指导吗?
Thanks 谢谢
Probably they used Maven . 可能他们使用了Maven 。 It looks like the Maven Model Interpolation .
看起来像Maven模型插值 。 Look at the configuration docs to see where these configurations reside
查看配置文档以查看这些配置所在的位置
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.