【文件属性】:
文件名称:grunt-typograf:使用Grunt使用Typograf准备文本
文件大小:42KB
文件格式:ZIP
更新时间:2021-05-02 05:21:49
nodejs typography grunt-plugins typographer typograf
unt-typograf
使用为Grunt准备文本。
安装
npm install typograf grunt-typograf --save-dev
用法
Gruntfile.js
module . exports = function ( grunt ) {
grunt . initConfig ( {
typograf : {
compile : {
options : {
locale : [ 'ru' , 'en-US' ]
} ,
files : {
'hello.txt' : [ 'header.txt' , 'footer.txt' ]
}
}
}
} ) ;
grunt . loadNpmTasks ( 'gru
【文件预览】:
grunt-typograf-master
----.travis.yml(104B)
----.eslintrc(5KB)
----package.json(880B)
----tasks()
--------typograf.js(1KB)
----test()
--------typograf_test.js(1KB)
--------expected()
--------fixtures()
----LICENSE(1KB)
----package-lock.json(120KB)
----Gruntfile.js(1KB)
----.npmignore(703B)
----.gitignore(580B)
----README.md(2KB)
----.editorconfig(307B)
----.gitattributes(46B)