-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.16 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.16 KB
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
{
"name": "@hirasso/restore-scroll",
"amdName": "restoreScroll",
"version": "0.1.6",
"description": "Vanilla JavaScript scroll restoration for overflowing elements and the window using `history.state` ♻️",
"packageManager": "pnpm@10.14.0",
"author": {
"name": "Rasso Hilber",
"email": "mail@rassohilber.com",
"url": "https://rassohilber.com"
},
"repository": {
"type": "git",
"url": "https://github.com/hirasso/restore-scroll.git"
},
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"files": [
"src",
"dist"
],
"scripts": {
"prepare": "husky",
"format": "pnpm exec prettier 'src/**/*.{js,ts,mjs}' --write",
"prepublishOnly": "pnpm run build",
"build": "tsdown",
"watch": "tsdown --watch",
"website:dev": "astro dev --root website",
"website:build": "astro build --root website",
"website:serve": "astro build --root website && astro preview --root website",
"test": "pnpm run test:unit && pnpm run test:e2e",
"test:unit": "vitest run --config ./tests/unit/vitest.config.ts",
"test:unit:watch": "vitest --config ./tests/unit/vitest.config.ts",
"test:e2e": "pnpm exec playwright test --config ./tests/e2e/config.playwright.ts",
"test:e2e:dev": "PLAYWRIGHT_ENV=dev pnpm run test:e2e --ui",
"test:e2e:install": "pnpm exec playwright install --with-deps",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@playwright/test": "^1.54.1",
"@swup/fade-theme": "^2.0.2",
"@tailwindcss/vite": "^4.1.11",
"astro": "^4.15.9",
"astro-feather": "^1.0.0",
"feather-icons": "^4.29.2",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.3.3",
"swup": "^4.8.2",
"swup-morph-plugin": "^1.3.0",
"tailwindcss": "^4.1.11",
"tsdown": "^0.13.4",
"typescript": "^5.6.2",
"vitest": "^2.1.1"
},
"devEngines": {
"packageManager": {
"name": "pnpm",
"onFail": "warn"
}
}
}