Files
pjax/package.json

73 lines
1.8 KiB
JSON
Raw Normal View History

2014-03-24 08:34:59 +01:00
{
"name": "pjax",
2018-08-15 15:26:02 -04:00
"version": "0.2.7",
"description": "Easily enable fast AJAX navigation on any website (using pushState + XHR)",
2014-03-24 08:34:59 +01:00
"keywords": [
"pjax",
"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",
"contributors": [
"BehindTheMath",
"Robin North (http://robinnorth.co.uk)"
],
2014-10-14 07:29:16 +02:00
"license": "MIT",
"main": "index.js",
2014-10-14 07:29:16 +02:00
"files": [
2015-02-04 08:39:36 +01:00
"index.js",
"lib",
"pjax.js",
"pjax.min.js",
"index.d.ts"
2014-10-14 07:29:16 +02:00
],
"types": "index.d.ts",
2014-03-24 08:34:59 +01:00
"devDependencies": {
"browserify": "^15.0.0",
2018-12-23 11:40:12 -05:00
"eslint": "^5.7.0",
"eslint-config-i-am-meticulous": "^11.0.0",
"husky": "^1.2.0",
"jsdom": "^11.5.1",
"jsdom-global": "^3.0.2",
2018-12-23 11:40:12 -05:00
"lint-staged": "^8.1.0",
"npmpub": "^3.1.0",
"nyc": "^11.4.1",
"opn-cli": "^3.1.0",
2018-12-23 11:40:12 -05:00
"prettier": "^1.14.3",
"serve": "^6.4.4",
"tap-nyc": "^1.0.3",
"tap-spec": "^4.1.1",
"tape": "^4.8.0",
"uglify-js": "^3.3.8"
2014-10-14 07:29:16 +02:00
},
"scripts": {
2019-02-11 23:03:25 -05:00
"lint": "eslint .",
2016-03-12 07:42:37 +01:00
"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"
2018-12-23 11:40:12 -05:00
},
"husky": {
"hooks": {
"pre-commit": "npm test && lint-staged"
}
},
"lint-staged": {
"*.js": [
2019-02-11 23:03:25 -05:00
"eslint --fix",
2018-12-23 11:40:12 -05:00
"prettier --write",
"git add"
]
2014-03-24 08:34:59 +01:00
}
}