Setup testling

This commit is contained in:
Maxime Thirouin
2014-05-04 08:16:44 +02:00
parent bd72da06ff
commit 8967251316
2 changed files with 17 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
"description": "Easily enable fast Ajax navigation on any website (using pushState + xhr)",
"main": "src/pjax.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "testling"
},
"repository": {
"type": "git",
@@ -47,5 +47,18 @@
"rimraf": "^2.2.6",
"tape": "^2.12.3",
"uglifyify": "^2.1.1"
},
"testling": {
"files": "tests/**/*.js",
"browsers": [
"ie/7..latest",
"chrome/22..latest",
"firefox/16..latest",
"safari/6..latest",
"opera/11.0..latest",
"iphone/6..latest",
"ipad/6..latest",
"android-browser/latest"
]
}
}