diff --git a/.gitignore b/.gitignore index 2c2e476..ecd1403 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store node_modules/ tests/scripts/index.html +pjax.js diff --git a/package.json b/package.json index 7ae8893..2cecc0a 100644 --- a/package.json +++ b/package.json @@ -38,9 +38,10 @@ }, "scripts": { "lint": "jscs **/*.js && jshint . --exclude-path .gitignore", - "test": "npm run lint && testling", + "test": "npm run lint && npm run standalone && testling", "test--html": "testling --html > tests/scripts/index.html", - "coverage": "browserify -t coverify tests/**/*.js | testling | coverify" + "coverage": "browserify -t coverify tests/**/*.js | testling | coverify", + "standalone": "browserify index.js --standalone Pjax > pjax.js" }, "testling": { "files": "tests/**/*.js",