forked from swup/preload-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·76 lines (76 loc) · 2.08 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
{
"name": "@swup/preload-plugin",
"amdName": "SwupPreloadPlugin",
"version": "3.2.7",
"description": "A swup plugin for preloading pages and faster navigation",
"type": "module",
"source": "src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"unpkg": "./dist/index.umd.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.modern.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "swup package:build",
"dev": "swup package:dev",
"lint": "swup package:lint",
"format": "swup package:format",
"prepublishOnly": "npm run build",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "vitest run --config ./tests/config/vitest.config.ts",
"test:unit:watch": "vitest --config ./tests/config/vitest.config.ts",
"test:e2e": "npx playwright test --config ./tests/config/playwright.config.ts",
"test:e2e:dev": "npx playwright test --ui --config ./tests/config/playwright.config.ts",
"test:e2e:serve": "npx serve -n -S -L -p 8274 --config ./tests/config/serve.json"
},
"author": {
"name": "Georgy Marchuk",
"email": "[email protected]",
"url": "https://gmrchk.com/"
},
"contributors": [
{
"name": "Philipp Daun",
"email": "[email protected]",
"url": "https://philippdaun.net"
},
{
"name": "Rasso Hilber",
"email": "[email protected]",
"url": "https://rassohilber.com"
}
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/swup/preload-plugin.git"
},
"dependencies": {
"@swup/plugin": "^4.0.0"
},
"devDependencies": {
"@playwright/test": "^1.39.0",
"@swup/cli": "^5.0.1",
"@types/jsdom": "^21.1.4",
"jsdom": "^22.1.0",
"network-information-types": "^0.1.1",
"serve": "^14.2.1",
"vitest": "^0.34.6"
},
"peerDependencies": {
"swup": "^4.0.0"
},
"browserslist": [
"extends @swup/browserslist-config"
],
"prettier": "@swup/prettier-config"
}