文件操作 - package.jst
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/nodejs/lodash-cli/template/package.jst
编辑文件内容
{ "name": "<%= name %>", "version": "<%= version %>", "description": "The Lodash method `_.<%= identifier %>` exported as a module.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", "license": "MIT",<% var basename = name.split('.')[1]; print('\n "keywords": "lodash-modularized, ' + basename + '",'); %> "author": "John-David Dalton <john.david.dalton@gmail.com>", "contributors": [ "John-David Dalton <john.david.dalton@gmail.com>", "Mathias Bynens <mathias@qiwi.be>" ], "repository": "lodash/lodash", "scripts": { "test": "echo \"See https://travis-ci.org/lodash/lodash-cli for testing details.\"" }<% if (!_.isEmpty(dependencies)) { print(',\n "dependencies": ' + JSON.stringify(dependencies, null, 4).replace(/}$/, ' $&')); }%> }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件