Skip to content

Commit

Permalink
Add test, build, and release npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
akagomez committed Apr 7, 2016
1 parent ed9172a commit 30f37b4
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 62 deletions.
52 changes: 52 additions & 0 deletions .jshintrc
@@ -0,0 +1,52 @@
{
"globals": {
"steal": true,
"can": true,
"Zepto": true,
"QUnit": true,
"System": true,
"SimpleDOM": true,
"test": true,
"asyncTest": true,
"expect": true,
"module": true,
"ok": true,
"equal": true,
"notEqual": true,
"deepEqual": true,
"propEqual": true,
"notDeepEqual": true,
"strictEqual": true,
"notStrictEqual": true,
"raises": true,
"start": true,
"stop": true,
"global": true,
"event": true,
"define": true
},
"curly": true,
"eqeqeq": true,
"freeze": true,
"indent": 2,
"latedef": true,
"noarg": true,
"undef": true,
"unused": "vars",
"trailing": true,
"maxdepth": 4,
"boss" : true,
"eqnull": true,
"evil": true,
"loopfunc": true,
"smarttabs": true,
"maxerr" : 200,
"jquery": true,
"dojo": true,
"mootools": true,
"yui": true,
"browser": true,
"phantom": true,
"rhino": true,
"node": true
}
16 changes: 16 additions & 0 deletions build.js
@@ -0,0 +1,16 @@
var stealTools = require("steal-tools");

stealTools.export({
system: {
config: __dirname + "/package.json!npm"
},
outputs: {
"+amd": {},
"+global-js": {},
"+cjs": {}
}
}).catch(function(e){
setTimeout(function(){
throw e;
}, 1);
});

0 comments on commit 30f37b4

Please sign in to comment.