2014-03-24 08:34:59 +01:00
|
|
|
{
|
|
|
|
|
"name": "pjax",
|
2019-03-09 22:56:16 -05:00
|
|
|
"version": "0.2.8",
|
2018-02-02 09:52:44 -05: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-02 09:52:44 -05: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-02 09:52:44 -05: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",
|
2018-06-17 22:29:58 -04:00
|
|
|
"pjax.min.js",
|
|
|
|
|
"index.d.ts"
|
2014-10-14 07:29:16 +02:00
|
|
|
],
|
2018-03-15 21:16:11 -04:00
|
|
|
"types": "index.d.ts",
|
2014-03-24 08:34:59 +01:00
|
|
|
"devDependencies": {
|
2018-01-09 15:59:15 -05:00
|
|
|
"browserify": "^15.0.0",
|
2019-02-13 22:26:57 -05:00
|
|
|
"eslint": "^5.7.0",
|
|
|
|
|
"eslint-config-i-am-meticulous": "^11.0.0",
|
|
|
|
|
"husky": "^1.2.0",
|
2018-01-08 17:21:18 -05:00
|
|
|
"jsdom": "^11.5.1",
|
|
|
|
|
"jsdom-global": "^3.0.2",
|
2022-12-07 14:21:03 +00:00
|
|
|
"lint-staged": "^13.1.0",
|
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",
|
2019-02-13 22:26:57 -05:00
|
|
|
"prettier": "^1.14.3",
|
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": {
|
2019-02-13 22:26:57 -05:00
|
|
|
"lint": "eslint .",
|
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"
|
2019-02-13 22:26:57 -05:00
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "npm test && lint-staged"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"*.js": [
|
|
|
|
|
"eslint --fix",
|
|
|
|
|
"prettier --write",
|
|
|
|
|
"git add"
|
|
|
|
|
]
|
2014-03-24 08:34:59 +01:00
|
|
|
}
|
|
|
|
|
}
|