-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·54 lines (54 loc) · 1.52 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
{
"name": "@swup/plugin",
"amdName": "SwupPlugin",
"description": "Base class for creating swup plugins",
"version": "4.0.0",
"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": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.modern.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"bin",
"dist"
],
"scripts": {
"build": "npm run build:module && npm run build:bundle",
"build:module": "BROWSERSLIST_ENV=modern microbundle -f modern,esm,cjs",
"build:bundle": "BROWSERSLIST_ENV=production microbundle -f umd --external none --define process.env.NODE_ENV=production",
"dev": "BROWSERSLIST_ENV=development microbundle -f modern -w",
"lint": "prettier src/**/*.ts --check",
"format": "prettier src/**/*.ts --write",
"test": "vitest run --config ./vitest/vitest.config.ts",
"prepublishOnly": "npm run build"
},
"author": "Georgy Marchuk",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/swup/plugin.git"
},
"dependencies": {
"swup": "^4.0.0"
},
"devDependencies": {
"@swup/browserslist-config": "^1.0.0",
"@swup/prettier-config": "^1.0.0",
"jsdom": "^22.1.0",
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"vitest": "^0.33.0"
},
"browserslist": [
"extends @swup/browserslist-config"
],
"prettier": "@swup/prettier-config"
}