2014-03-24 08:34:59 +01:00
|
|
|
{
|
|
|
|
|
"name": "pjax",
|
2016-07-11 07:11:39 +02:00
|
|
|
"version": "0.2.4",
|
2018-02-01 20:19:45 +00:00
|
|
|
"description": "Easily enable fast AJAX navigation on any website (using pushState + XHR)",
|
2014-03-24 08:34:59 +01:00
|
|
|
"keywords": [
|
|
|
|
|
"pjax",
|
2018-02-01 20:19:45 +00:00
|
|
|
"pushstate",
|
2014-03-24 08:34:59 +01:00
|
|
|
"ajax",
|
|
|
|
|
"navigation",
|
|
|
|
|
"transition",
|
|
|
|
|
"animation"
|
|
|
|
|
],
|
2016-03-12 07:27:47 +01:00
|
|
|
"repository": "https://github.com/MoOx/pjax.git",
|
2014-10-14 07:29:16 +02:00
|
|
|
"author": "Maxime Thirouin",
|
2018-02-01 20:19:45 +00:00
|
|
|
"contributors": [
|
|
|
|
|
"BehindTheMath",
|
|
|
|
|
"Robin North (http://robinnorth.co.uk)"
|
|
|
|
|
],
|
2014-10-14 07:29:16 +02:00
|
|
|
"license": "MIT",
|
2018-01-19 01:55:27 +00:00
|
|
|
"main": "index.js",
|
2014-10-14 07:29:16 +02:00
|
|
|
"files": [
|
2015-02-04 08:39:36 +01:00
|
|
|
"index.js",
|
2016-03-12 07:27:06 +01:00
|
|
|
"lib",
|
2018-01-23 17:53:10 -05:00
|
|
|
"pjax.js",
|
|
|
|
|
"pjax.min.js"
|
2014-10-14 07:29:16 +02:00
|
|
|
],
|
2014-03-24 08:34:59 +01:00
|
|
|
"devDependencies": {
|
2018-01-09 15:59:15 -05:00
|
|
|
"browserify": "^15.0.0",
|
2018-01-09 00:48:27 -05:00
|
|
|
"jscs": "^3.0.7",
|
2018-01-08 17:21:18 -05:00
|
|
|
"jsdom": "^11.5.1",
|
|
|
|
|
"jsdom-global": "^3.0.2",
|
2014-10-14 07:29:16 +02:00
|
|
|
"jshint": "^2.5.6",
|
2016-03-12 07:52:52 +01:00
|
|
|
"npmpub": "^3.1.0",
|
2018-01-08 17:21:18 -05:00
|
|
|
"nyc": "^11.4.1",
|
2018-01-15 16:36:29 -05:00
|
|
|
"opn-cli": "^3.1.0",
|
2018-01-09 15:59:15 -05:00
|
|
|
"serve": "^6.4.4",
|
2018-01-08 17:21:18 -05:00
|
|
|
"tap-nyc": "^1.0.3",
|
|
|
|
|
"tap-spec": "^4.1.1",
|
2018-01-23 17:53:10 -05:00
|
|
|
"tape": "^4.8.0",
|
|
|
|
|
"uglify-js": "^3.3.8"
|
2014-10-14 07:29:16 +02:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2018-01-09 00:44:04 -05:00
|
|
|
"lint": "jscs . && jshint . --exclude-path .gitignore",
|
2016-03-12 07:42:37 +01:00
|
|
|
"standalone": "browserify index.js --standalone Pjax > pjax.js",
|
2018-01-23 17:53:10 -05:00
|
|
|
"build": "npm run standalone && uglifyjs pjax.js -o pjax.min.js",
|
2017-09-18 14:13:39 +02:00
|
|
|
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
|
2018-01-23 19:40:13 -05:00
|
|
|
"tests": "tape -r ./tests/setup.js \"./tests/**/*.js\"",
|
2018-01-08 17:21:18 -05:00
|
|
|
"test": "npm run lint && npm run tests | tap-spec",
|
|
|
|
|
"coverage-tests": "npm run tests | tap-nyc",
|
|
|
|
|
"coverage": "nyc -x \"tests/**\" npm run coverage-tests",
|
2018-01-15 16:36:29 -05:00
|
|
|
"example": "opn http://localhost:3000/example/ && serve -p 3000 .",
|
2018-01-23 17:53:10 -05:00
|
|
|
"prepublish": "npm run build",
|
2018-01-09 21:48:45 +01:00
|
|
|
"release": "npmpub"
|
2014-03-24 08:34:59 +01:00
|
|
|
}
|
|
|
|
|
}
|