forked from MoOx/pjax
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
72 lines (72 loc) · 1.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "pjax",
"version": "0.2.8",
"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",
"index.d.ts"
],
"types": "index.d.ts",
"devDependencies": {
"browserify": "^16.5.0",
"eslint": "^6.6.0",
"eslint-config-i-am-meticulous": "^11.0.0",
"husky": "^3.1.0",
"jsdom": "^15.2.1",
"jsdom-global": "^3.0.2",
"lint-staged": "^9.4.3",
"npmpub": "^5.0.0",
"nyc": "^14.1.1",
"opn-cli": "^5.0.0",
"prettier": "^1.19.1",
"serve": "^11.2.0",
"tap-nyc": "^1.0.3",
"tap-spec": "^5.0.0",
"tape": "^4.11.0",
"uglify-js": "^3.6.9"
},
"scripts": {
"lint": "eslint .",
"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": "open http://localhost:3000/example/ && serve -p 3000 .",
"prepublish": "npm run build",
"release": "npmpub"
},
"husky": {
"hooks": {
"pre-commit": "npm test && lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}