-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
82 lines (82 loc) · 2.55 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
{
"name": "@svelte-plugins/viewable",
"version": "2.0.0",
"license": "MIT",
"description": "A simple rule-based approach to tracking element viewability.",
"author": "Kieran Boyle (https://github.com/dysfunc)",
"sideEffects": false,
"type": "module",
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/svelte-plugins/svelte-viewable.git"
},
"homepage": "https://github.com/svelte-plugins/svelte-viewable",
"bugs": "https://github.com/svelte-plugins/svelte-viewable/issues",
"keywords": [
"viewability",
"viewable",
"tracking",
"ads",
"lazy",
"lazy-loading",
"svelte",
"svelte component",
"intersection observer",
"observer"
],
"scripts": {
"start": "pnpm --prefix ./docs install && pnpm --prefix ./docs run dev",
"build": "svelte-package --input ./src && pnpm lint:package",
"deploy": "npx gh-pages -d dist",
"lint": "eslint -c ./.eslintrc.json --fix \"src/**/*.{test.js,js,ts,json,svelte}\"",
"lint:package": "publint --strict",
"lint:ts": "svelte-check --tsconfig ./tsconfig.json",
"format": "prettier --write \"src/**/*.{test.js,js,ts,json,svelte}\"",
"test": "vitest --run --coverage",
"test:watch": "vitest",
"test:coverage": "vitest --run --coverage && open ./coverage/index.html",
"test:integration": "pnpm build && npx playwright test",
"test:integration:debug": "npx playwright test --ui",
"test:integration:report": "pnpm test:integration && npx playwright show-report"
},
"devDependencies": {
"@playwright/test": "^1.40.1",
"@sveltejs/package": "^2.2.4",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@testing-library/jest-dom": "^6.4.0",
"@testing-library/svelte": "^4.0.5",
"@tsconfig/svelte": "^5.0.2",
"@types/node": "^20.10.5",
"@typescript-eslint/parser": "^6.18.1",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.54.0",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-vitest": "^0.3.10",
"husky": "^6.0.0",
"jsdom": "^23.0.0",
"lint-staged": "^10.5.4",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.2",
"publint": "^0.2.7",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^5.1.3",
"typescript": "^5.2.2",
"vite": "^5.0.12",
"vitest": "^0.34.6"
}
}