Skip to content

Commit

Permalink
Merge PR #32 #31, introduction of package.json for npm puplishing
Browse files Browse the repository at this point in the history
  • Loading branch information
b-g committed Apr 29, 2016
2 parents 19e517d + c8d26fd commit 351d75a
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 24 deletions.
20 changes: 10 additions & 10 deletions basil.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
B A S I L . J S
Bringing the spirit of the Processing visualization language to Adobe Indesign.
License - MIT
Core
Core
- Ted Davis http://teddavis.org
- Benedikt Groß http://benedikt-gross.de
- Ludwig Zeller http://ludwigzeller.de
Members
Members
- Philipp Adrian http://www.philippadrian.com/
- be:screen GmbH http://bescreen.de
- Stefan Landsbek http://47nord.de
Expand All @@ -25,22 +25,22 @@
basil.js was conceived and is generously supported by
The Visual Communication Institute / The Basel School of Design
Department of the Academy of Art and Design Basel (HGK FHNW)
http://thebaselschoolofdesign.ch
Please note: Big general parts e.g. random() of the basil.js source code are copied
from processing.js by the Processing.js team. We would have had a hard time
to figure all of that out on our own!
Supported Adobe Indesign versions: CS 5, CS 5.5 and CS 6
.--.--.- .-.-......-....--.-- -.... -..---.-.... .-- . .---.- -... -.-..---.-. ..--.-- -.. -
*/

#target "InDesign";

(function(glob, app, undef) {

/**
* @class b
* @static
Expand All @@ -52,13 +52,13 @@
* @property VERSION {String}
* @cat Environment
*/
pub.VERSION = "1.09";
pub.VERSION = "1.0.10";

#include "includes/constants.js";
#include "includes/public-vars.js";
#include "includes/private-vars.js";
#include "includes/global-functions.js";

#include "includes/core.js";

#include "includes/structure.js";
Expand All @@ -73,6 +73,6 @@
#include "includes/ui.js";

init();

})(this, app);

34 changes: 20 additions & 14 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@


..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
basil.js 1.09 -
basil.js 1.0.10 -

+ Added package.json definition
* Changed versioning scheme to npm style

..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
basil.js 1.09 -

+ Added installer scripts for OS X and Windows
* Added some better error reporting for null objects
Expand All @@ -15,7 +21,7 @@ basil.js 1.08 - 11 November 2013

+ Added b.arc() by Ken Frederick, cheers mate!
+ Added b.weekday(), b.timestamp() and b.millisecond()
* Fixed output to progress panel
* Fixed output to progress panel
* Added auto save to MODEHIDDEN
* Added 15s timeout to loadStrings via TCP/IP
* Improved error reporting
Expand All @@ -40,7 +46,7 @@ Please note that this release is still experimental.
basil.js 1.05 - 9 October 2013

* Bugfix to b.endShape()
* Bugfix to b.loadString() and b.download(),
* Bugfix to b.loadString() and b.download(),
now supports more than one GET parameter
* changed default anchor to center for transforms with line()
* internal safety improvements
Expand All @@ -67,8 +73,8 @@ basil.js 1.04 - 23 September 2013
* Extended loadString() and loadStrings() to handle URLs. Happy GET URL!
see examples/input/loadStringURL.jsx

* all export functions can handle now sub-folders
e.g. exportPNG("swiss/basel/snap.png")
* all export functions can handle now sub-folders
e.g. exportPNG("swiss/basel/snap.png")


..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
Expand All @@ -81,7 +87,7 @@ basil.js 1.03 - 3 July 2013
basil.js 1.02 - 3 June 2013

* fixed a bug with b.constrain()
* added constraints for b.color() and b.fill(), where illegal channel
* added constraints for b.color() and b.fill(), where illegal channel
values would previously produce strange results


Expand All @@ -103,27 +109,27 @@ basil.js 1.00 - 28 Feb 2013

First public release!

+ new functions to work conveniently with stories (indesign model of linked
+ new functions to work conveniently with stories (indesign model of linked
content or many textframes), e.g. b.addToStory(), b.storyCount() ...
see: examples/document/story.jsx


..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
basil.js 0.22 - 25 Feb 2013

+ new computation modes MODESILENT, MODEHIDDEN, MODEVISIBLE.
+ new computation modes MODESILENT, MODEHIDDEN, MODEVISIBLE.
HIDDEN is very handy for working with large files, as the document is
processed completely in background, performance is a lot better.

* Changes for b.go().
You can switch between the computation modes via b.go( b.MODESILENT ),
b.go( b.MODEHIDDEN ) and b.go( b.MODEVISIBLE ). If b.go() is called
b.go( b.MODEHIDDEN ) and b.go( b.MODEVISIBLE ). If b.go() is called
without a paramter, then the default mode MODESILENT is used.

Special thanks to be:screen GmbH for the new computation modes and
Special thanks to be:screen GmbH for the new computation modes and
performance optimization!

+ new functions for creating shapes. you can create arbitrary lines,
+ new functions for creating shapes. you can create arbitrary lines,
bezier curves, polygones with beginShape(), endShape() and vertex()


Expand All @@ -136,8 +142,8 @@ basil.js goes semi public with a private beta release
..- --.- ..- -.... -..-- .-..-. -.-..---.-.-....--.-- -....-.... -..-- .-
basil.js pre 0.21 - May to Dec 2012

basil.js is developed over the Summer by Ted Davis, Benedikt Groß,
Stefan Landsbek and Ludwig Zeller.
basil.js is developed over the Summer by Ted Davis, Benedikt Groß,
Stefan Landsbek and Ludwig Zeller.

Special thanks to Stefan Landsbek for the inital code architecture!

Expand Down
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "basiljs",
"version": "1.0.10",
"description": "An attempt to port the spirit of the Processing visualization language to Adobe InDesign.",
"main": "basil.js",
"directories": {
"doc": "doc",
"test": "test"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/basiljs/basil.js.git"
},
"keywords": [
"Basil.js",
"InDesign",
"Processing"
],
"contributors":[

{"name":"Ted Davis","url": "http://teddavis.org"},
{"name":"Benedikt Groß","url": "http://benedikt-gross.de"},
{"name":"Ludwig Zeller","url": "http://ludwigzeller.de"},
{"name":"Philipp Adrian", "url":"http://www.philippadrian.com/"},
{"name":"be:screen GmbH", "url":"http://bescreen.de"},
{"name":"Stefan Landsbek", "url":"http://47nord.de"},
{"name":"Ken Frederick", "url":"http://kennethfrederick.de/"}],
"license": "MIT",
"bugs": {
"url": "https://github.com/basiljs/basil.js/issues"
},
"homepage": "http://basiljs.ch/"
}

0 comments on commit 351d75a

Please sign in to comment.