Permalink
Browse files

Merge pull request #3 from yoonka/add-package-files

Copy and adjust package files from kriszyp/xstyle
  • Loading branch information...
2 parents 8bcbe56 + b5658af commit 8b91a4f268a6e87747e978d5ad87f558109fccb3 @kriszyp committed Mar 13, 2013
Showing with 43 additions and 0 deletions.
  1. +22 −0 package.js
  2. +21 −0 package.json
View
22 package.js
@@ -0,0 +1,22 @@
+var miniExcludes = {
+ "dbind/Validator": 1,
+ "dbind/README.md": 1,
+ "dbind/package": 1
+ },
+ isTestRe = /\/tests\//;
+
+var profile = {
+ resourceTags: {
+ test: function(filename, mid){
+ return isTestRe.test(filename) || mid == "dbind/Validator";
+ },
+
+ miniExclude: function(filename, mid){
+ return isTestRe.test(filename) || mid in miniExcludes;
+ },
+
+ amd: function(filename, mid){
+ return /\.js$/.test(filename);
+ }
+ }
+};
View
21 package.json
@@ -0,0 +1,21 @@
+{
+ "name": "xstyle",
+ "author": "Kris Zyp",
+ "description": "Functional reactive data binding package that provides straightforward binding of data to components like form inputs, validation connectors, and more.",
+ "licenses": [
+ {
+ "type": "AFLv2.1",
+ "url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43"
+ },
+ {
+ "type": "BSD",
+ "url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13"
+ }
+ ],
+ "repository": {
+ "type":"git",
+ "url":"http://github.com/kriszyp/dbind"
+ },
+ "main": "./bind",
+ "dojoBuild": "package.js"
+}

0 comments on commit 8b91a4f

Please sign in to comment.