commit fba09df44929558d65d31dfa2eaac9202755b0af Author: 宇天 Date: Sun Feb 5 14:54:47 2017 +0800 node.js模板引擎 diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..43a1c61 --- /dev/null +++ b/Readme.md @@ -0,0 +1,11 @@ + +# smartyx +>Node.js的模板引擎,理念源于PHP的smarty,但不是smarty的Node.js实现。 +>因为这不是PHP,Node.js有自己的特点,所以未不打算照搬smarty,更不会按php的语法。仅仅是吸收smarty中优秀的理念。 + + +**注** +目前该0.0.1版本只是为了占位,正式版将于近日发布,版本号并从1.0.0开始命名。 + + + diff --git a/lib/main.js b/lib/main.js new file mode 100644 index 0000000..c28f92d --- /dev/null +++ b/lib/main.js @@ -0,0 +1,10 @@ +/** + * + * @authors yutent (yutent@doui.cc) + * @date 2017-02-05 14:44:11 + * + */ + +"use strict"; + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..235abbb --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "name": "smartyx", + "version": "0.0.1", + "description": "nodeJS模板引擎,理念源自于PHP的smarty模板引擎", + "keywords": [ + "dojs", + "smarty", + "template", + "ejs", + "jade" + ], + "author": "宇天 ", + "repository": { + "type": "git", + "url": "https://git.oschina.net/yutent/smartyx.git" + }, + "dependencies": { + "dojs-extend": "^1.1.2" + }, + "devDependencies": {}, + "main": "lib/main.js" +}