From 88d3db8e3725fdf3dc1da99154e03235e3e05e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 1 Jun 2014 10:10:01 +0200 Subject: [PATCH] Add README and update dependecies review12331002 --- COPYRIGHT | 8 ++++---- README | 44 ++++++++++++++++++++++++++++++++++++++++++++ package.json | 15 ++++++++------- src/.jshintrc | 5 +---- 4 files changed, 57 insertions(+), 15 deletions(-) create mode 100644 README diff --git a/COPYRIGHT b/COPYRIGHT index 418221fb6d..1ac7d20be4 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,7 +1,7 @@ -Copyright (C) 2012 Nicolas Évrard. -Copyright (C) 2012 Cédric Krier. -Copyright (C) 2012 Bertrand Chenal. -Copyright (C) 2012 B2CK SPRL. +Copyright (C) 2012-2014 Nicolas Évrard. +Copyright (C) 2012-2014 Cédric Krier. +Copyright (C) 2012-2014 Bertrand Chenal. +Copyright (C) 2012-2014 B2CK SPRL. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/README b/README new file mode 100644 index 0000000000..b8c85ae6c3 --- /dev/null +++ b/README @@ -0,0 +1,44 @@ +sao +=== + +Prerequisites +------------- + + * Node.js 0.8.0 or later (http://nodejs.org/) + +Installation +------------ + +Once you've downloaded and unpacked the sao source release, enter the directory +where the archive was unpacked, and run: + + # npm install + # grunt + +Note that the `jsondata_path` of `trytond.conf` must be set to this directory. + +Support +------- + +If you encounter any problems with Tryton, please don't hesitate to ask +questions on the Tryton bug tracker, mailing list, wiki or IRC channel: + + http://bugs.tryton.org/ + http://groups.tryton.org/ + http://wiki.tryton.org/ + irc://irc.freenode.net/tryton + +License +------- + +See LICENSE + +Copyright +--------- + +See COPYRIGHT + + +For more information please visit the Tryton web site: + + http://www.tryton.org/ diff --git a/package.json b/package.json index c358a801af..80eab5b230 100644 --- a/package.json +++ b/package.json @@ -22,13 +22,14 @@ }, "dependencies": {}, "devDependencies": { - "grunt": "~0.4.0", - "grunt-contrib-jshint": "~0.1.0", - "grunt-contrib-nodeunit": "~0.1.0", - "grunt-contrib-concat": "~0.1.3", - "grunt-contrib-uglify": "~0.2.0", - "grunt-contrib-watch": "~0.3.1", - "grunt-contrib-less": "~0.7.0" + "grunt": "~0.4.5", + "grunt-contrib-jshint": "~0.10.0", + "grunt-contrib-nodeunit": "~0.4.0", + "grunt-contrib-concat": "~0.4.0", + "grunt-contrib-uglify": "~0.4.0", + "grunt-contrib-watch": "~0.6.1", + "grunt-contrib-less": "~0.11.0", + "grunt-cli": "~0.1.13" }, "keywords": [ "tryton" diff --git a/src/.jshintrc b/src/.jshintrc index f3da02d856..5956712c68 100644 --- a/src/.jshintrc +++ b/src/.jshintrc @@ -1,8 +1,5 @@ { "browser": true, "devel": true, - "jquery": true, - "predef": [ - "Sao" - ] + "jquery": true }