Debian Codegraph @

plugin/package.json

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 {
2 "name": "@swup/plugin",
3 "amdName": "SwupPlugin",
4 "description": "Base class for creating swup plugins",
5 "version": "4.0.0",
6 "type": "module",
7 "source": "src/index.ts",
8 "main": "./dist/index.cjs",
9 "module": "./dist/index.module.js",
10 "unpkg": "./dist/index.umd.js",
11 "types": "./dist/index.d.ts",
12 "exports": {
13 ".": {
14 "require": "./dist/index.cjs",
15 "import": "./dist/index.modern.js",
16 "types": "./dist/index.d.ts"
17 }
18 },
19 "files": [
20 "bin",
21 "dist"
22 ],
23 "scripts": {
24 "build": "npm run build:module && npm run build:bundle",
25 "build:module": "BROWSERSLIST_ENV=modern microbundle -f modern,esm,cjs",
26 "build:bundle": "BROWSERSLIST_ENV=production microbundle -f umd --external none --define process.env.NODE_ENV=production",
27 "dev": "BROWSERSLIST_ENV=development microbundle -f modern -w",
28 "lint": "prettier src/**/*.ts --check",
29 "format": "prettier src/**/*.ts --write",
30 "test": "vitest run --config ./vitest/vitest.config.ts",
31 "prepublishOnly": "npm run build"
32 },
33 "author": "Georgy Marchuk",
34 "license": "MIT",
35 "repository": {
36 "type": "git",
37 "url": "https://github.com/swup/plugin.git"
38 },
39 "dependencies": {
40 "swup": "^4.0.0"
41 },
42 "devDependencies": {
43 "@swup/browserslist-config": "^1.0.0",
44 "@swup/prettier-config": "^1.0.0",
45 "jsdom": "^22.1.0",
46 "microbundle": "^0.15.1",
47 "prettier": "^3.0.3",
48 "vitest": "^0.33.0"
49 },
50 "browserslist": [
51 "extends @swup/browserslist-config"
52 ],
53 "prettier": "@swup/prettier-config"
54 }