Gitako/packages/pjax/package.json
2019-10-24 23:10:00 +08:00

56 lines
1.5 KiB
JSON

{
"name": "pjax",
"version": "0.2.6",
"description": "Easily enable fast AJAX navigation on any website (using pushState + XHR)",
"keywords": [
"pjax",
"pushstate",
"ajax",
"navigation",
"transition",
"animation"
],
"repository": "https://github.com/MoOx/pjax.git",
"author": "Maxime Thirouin",
"contributors": [
"BehindTheMath",
"Robin North (http://robinnorth.co.uk)"
],
"license": "MIT",
"main": "index.js",
"files": [
"index.js",
"lib",
"pjax.js",
"pjax.min.js"
],
"types": "index.d.ts",
"devDependencies": {
"browserify": "^16.5.0",
"jscs": "^3.0.7",
"jsdom": "^15.2.0",
"jsdom-global": "^3.0.2",
"jshint": "^2.10.2",
"npmpub": "^5.0.0",
"nyc": "^14.1.1",
"opn-cli": "^5.0.0",
"serve": "^11.2.0",
"tap-nyc": "^1.0.3",
"tap-spec": "^5.0.0",
"tape": "^4.11.0",
"uglify-js": "^3.6.4"
},
"scripts": {
"lint": "jscs . && jshint . --exclude-path .gitignore",
"standalone": "browserify index.js --standalone Pjax > pjax.js",
"build": "npm run standalone && uglifyjs pjax.js -o pjax.min.js",
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
"tests": "tape -r ./tests/setup.js \"./tests/**/*.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 build",
"release": "npmpub"
}
}