-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
89 lines (89 loc) · 2.42 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@sliphua/pjax",
"version": "2.4.0",
"description": "Easily enable fast AJAX navigation (using Fetch + pushState)",
"keywords": [
"pjax",
"pushstate",
"ajax",
"fetch",
"navigation",
"transition"
],
"bugs": "https://github.com/PaperStrike/Pjax/issues",
"license": "MIT",
"files": [
"dist",
"src",
"tsconfig.json",
"CHANGELOG.*"
],
"type": "module",
"exports": {
"browser": {
"development": {
"import": "./dist/pjax.esm.js",
"script": "./dist/pjax.js"
},
"production": {
"import": "./dist/pjax.esm.min.js",
"script": "./dist/pjax.min.js"
}
}
},
"repository": "github:PaperStrike/Pjax",
"browserslist": [
"edge >= 79",
"firefox >= 60",
"chrome >= 66",
"opera >= 53",
"safari >= 12.2"
],
"browser": {
"jest-message-util": false,
"jest-util": false,
"mocha": "mocha/mocha.js",
"util": false
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@sinonjs/fake-timers": "^9.1.2",
"@types/mocha": "^9.1.1",
"@types/sinonjs__fake-timers": "^8.1.2",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"@typescript/lib-dom": "npm:@types/web@^0.0.68",
"babel-plugin-polyfill-corejs3": "^0.5.2",
"c8": "^7.11.3",
"eslint": "^8.18.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^3.1.0",
"eslint-plugin-import": "^2.26.0",
"expect": "^28.1.1",
"mocha": "^10.0.0",
"onfetch": "^0.8.2",
"playwright-fixtures": "^0.3.5",
"rollup": "^2.75.7",
"typescript": "^4.7.4",
"wrightplay": "^0.3.4"
},
"engines": {
"node": "^14.15.0 || >=15.0.0"
},
"scripts": {
"lint": "eslint .",
"build": "rollup --config rollup.config.ts --configPlugin babel={extensions:[\\\".ts\\\"],babelHelpers:\\\"bundled\\\"}",
"test": "wrightplay \"test/**/*.test.*\" sw=test/sw.ts",
"test-chromium": "npm test -- --browser chromium",
"test-firefox": "npm test -- --browser firefox",
"test-webkit": "npm test -- --browser webkit",
"coverage": "c8 -a npm test",
"prepare": "npm run build"
}
}