50 lines
1.3 KiB
JSON
50 lines
1.3 KiB
JSON
{
|
|
"name": "pjax",
|
|
"version": "0.2.4",
|
|
"description": "Easily enable fast Ajax navigation on any website (using pushState + xhr)",
|
|
"keywords": [
|
|
"pjax",
|
|
"push",
|
|
"state",
|
|
"ajax",
|
|
"navigation",
|
|
"transition",
|
|
"animation"
|
|
],
|
|
"repository": "https://github.com/MoOx/pjax.git",
|
|
"author": "Maxime Thirouin",
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"files": [
|
|
"index.js",
|
|
"lib",
|
|
"pjax.js"
|
|
],
|
|
"devDependencies": {
|
|
"browserify": "^15.0.0",
|
|
"jscs": "^3.0.7",
|
|
"jsdom": "^11.5.1",
|
|
"jsdom-global": "^3.0.2",
|
|
"jshint": "^2.5.6",
|
|
"npmpub": "^3.1.0",
|
|
"nyc": "^11.4.1",
|
|
"opn-cli": "^3.1.0",
|
|
"serve": "^6.4.4",
|
|
"tap-nyc": "^1.0.3",
|
|
"tap-spec": "^4.1.1",
|
|
"tape": "^4.8.0"
|
|
},
|
|
"scripts": {
|
|
"lint": "jscs . && jshint . --exclude-path .gitignore",
|
|
"standalone": "browserify index.js --standalone Pjax > pjax.js",
|
|
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
|
|
"tests": "tape -r ./tests/setup.js ./tests/lib/*.js ./tests/lib/proto/*.js",
|
|
"test": "npm run lint && npm run tests | tap-spec",
|
|
"coverage-tests": "npm run tests | tap-nyc",
|
|
"coverage": "nyc -x \"tests/**\" npm run coverage-tests",
|
|
"example": "opn http://localhost:3000/example/ && serve -p 3000 .",
|
|
"prepublish": "npm run standalone",
|
|
"release": "npmpub"
|
|
}
|
|
}
|