From b617028eefdf1ffa6f9141bd9c11eeb805080ab9 Mon Sep 17 00:00:00 2001 From: Ignacio Ricci Date: Wed, 4 Nov 2015 14:19:12 -0300 Subject: [PATCH] Updated readme and package for NPM --- config.json | 14 ++++++++++++++ package.json | 18 ++++++++++++------ readme.md | 7 ++++++- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/config.json b/config.json index 1203749..c1bc39b 100644 --- a/config.json +++ b/config.json @@ -12,6 +12,20 @@ "languages": { "en": "about", "es": "sobre-nosotros" + }, + "templates": { + "name": "john-doe", + "languages": { + "en": "john-doe", + "es": "juan-x" + }, + "templates": { + "name": "johns-dog", + "laguages": { + "en": "johns-dog", + "es": "el-perro-de-juan" + } + } } } ], diff --git a/package.json b/package.json index 9528d23..c7d2ae1 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,20 @@ { "name": "ztat", - "version": "0.0.0", - "description": "", - "main": "generator.js", + "repository": "git@github.com:ignacioricci/ztat.git", + "description": "A simple i18n static website generator for NodeJS", + "author": "Ignacio Ricci (ignacio.ricci@gmail.com)", + "version": "0.0.1", + "keywords": [ + "static", + "website", + "generator", + "ztat" + ], "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "build": "node generator.js" }, - "author": "Ignacio Ricci (ignacio.ricci@gmail.com)", "license": "MIT", - "dependencies": { + "devDependencies": { "jade": "1.11.0", "mkdirp": "0.5.1", "node-sass": "3.3.3", diff --git a/readme.md b/readme.md index 542342e..08d60b1 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,8 @@ # Ztat > A simple i18n static website generator for NodeJS +[![NPM version][npm-image]][npm-link] + This framework is based on Jade's templating system and SASS. ## Prerequisites @@ -186,4 +188,7 @@ It will automatically adjust the url according to the ``current_language`` Special thanks to: Dan Zajdband and Guillermo Paz. ## License -MIT license. Copyright © 2015 [Ignacio Ricci](http://ignacioricci.com). \ No newline at end of file +MIT license. Copyright © 2015 [Ignacio Ricci](http://ignacioricci.com). + +[npm-image]: https://img.shields.io/npm/v/ztat.svg?style=flat +[npm-link]: https://npmjs.org/package/ztat \ No newline at end of file