sitetourkit 0.0.0-stage → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,197 @@
1
1
  {
2
2
  "name": "sitetourkit",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.7.1",
4
+ "description": "Lightweight, dependency-free product tours and onboarding walkthroughs. MIT-licensed, accessible, framework-agnostic.",
5
+ "keywords": [
6
+ "tour",
7
+ "onboarding",
8
+ "walkthrough",
9
+ "guide",
10
+ "spotlight",
11
+ "product-tour",
12
+ "tooltip"
13
+ ],
14
+ "license": "MIT",
15
+ "author": "deecalov",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/deecalov/tourkit.git"
19
+ },
20
+ "homepage": "https://github.com/deecalov/tourkit#readme",
21
+ "bugs": {
22
+ "url": "https://github.com/deecalov/tourkit/issues"
23
+ },
24
+ "type": "module",
25
+ "engines": {
26
+ "node": ">=18"
27
+ },
28
+ "sideEffects": [
29
+ "*.css"
30
+ ],
31
+ "main": "./dist/index.cjs",
32
+ "module": "./dist/index.js",
33
+ "types": "./dist/index.d.ts",
34
+ "typesVersions": {
35
+ "*": {
36
+ "hints": [
37
+ "./dist/hints.d.ts"
38
+ ],
39
+ "compat-introjs": [
40
+ "./dist/compat-introjs.d.ts"
41
+ ],
42
+ "locales": [
43
+ "./dist/locales.d.ts"
44
+ ],
45
+ "inject-styles": [
46
+ "./dist/inject-styles.d.ts"
47
+ ]
48
+ }
49
+ },
50
+ "unpkg": "./dist/index.global.js",
51
+ "jsdelivr": "./dist/index.global.js",
52
+ "exports": {
53
+ ".": {
54
+ "import": {
55
+ "types": "./dist/index.d.ts",
56
+ "default": "./dist/index.js"
57
+ },
58
+ "require": {
59
+ "types": "./dist/index.d.cts",
60
+ "default": "./dist/index.cjs"
61
+ }
62
+ },
63
+ "./hints": {
64
+ "import": {
65
+ "types": "./dist/hints.d.ts",
66
+ "default": "./dist/hints.js"
67
+ },
68
+ "require": {
69
+ "types": "./dist/hints.d.cts",
70
+ "default": "./dist/hints.cjs"
71
+ }
72
+ },
73
+ "./compat-introjs": {
74
+ "import": {
75
+ "types": "./dist/compat-introjs.d.ts",
76
+ "default": "./dist/compat-introjs.js"
77
+ },
78
+ "require": {
79
+ "types": "./dist/compat-introjs.d.cts",
80
+ "default": "./dist/compat-introjs.cjs"
81
+ }
82
+ },
83
+ "./locales": {
84
+ "import": {
85
+ "types": "./dist/locales.d.ts",
86
+ "default": "./dist/locales.js"
87
+ },
88
+ "require": {
89
+ "types": "./dist/locales.d.cts",
90
+ "default": "./dist/locales.cjs"
91
+ }
92
+ },
93
+ "./inject-styles": {
94
+ "import": {
95
+ "types": "./dist/inject-styles.d.ts",
96
+ "default": "./dist/inject-styles.js"
97
+ },
98
+ "require": {
99
+ "types": "./dist/inject-styles.d.cts",
100
+ "default": "./dist/inject-styles.cjs"
101
+ }
102
+ },
103
+ "./styles.css": "./dist/styles.css"
104
+ },
105
+ "files": [
106
+ "dist",
107
+ "!dist/**/*.map",
108
+ "CHANGELOG.md"
109
+ ],
110
+ "scripts": {
111
+ "gen:css": "node scripts/gen-css-module.mjs",
112
+ "build": "npm run gen:css && tsup && node scripts/copy-styles.mjs",
113
+ "docs:api": "typedoc",
114
+ "docs:dev": "npm run docs:api && vitepress dev docs-site",
115
+ "docs:build": "npm run docs:api && vitepress build docs-site",
116
+ "site:build": "npm run build && vite build demo --base ./ && node scripts/build-site.mjs && npm run docs:build",
117
+ "dev": "vite demo --open",
118
+ "demo": "vite demo",
119
+ "landing": "npm run build && vite --open /landing/",
120
+ "test": "vitest run",
121
+ "test:coverage": "vitest run --coverage",
122
+ "test:e2e": "playwright test",
123
+ "bench": "playwright test -c playwright.bench.config.ts",
124
+ "typecheck": "tsc --noEmit",
125
+ "lint": "eslint .",
126
+ "format": "prettier --write .",
127
+ "format:check": "prettier --check .",
128
+ "size": "size-limit",
129
+ "lint:pkg": "publint && attw --pack . --exclude-entrypoints styles.css",
130
+ "test:pack": "node scripts/pack-smoke.mjs",
131
+ "prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build && npm run size && npm run lint:pkg && npm run test:pack"
132
+ },
133
+ "size-limit": [
134
+ {
135
+ "path": "dist/index.js",
136
+ "limit": "11 KB"
137
+ },
138
+ {
139
+ "path": "dist/hints.js",
140
+ "limit": "6 KB"
141
+ },
142
+ {
143
+ "path": "dist/compat-introjs.js",
144
+ "limit": "15 KB"
145
+ },
146
+ {
147
+ "path": "dist/locales.js",
148
+ "limit": "2 KB"
149
+ },
150
+ {
151
+ "path": "dist/index.global.js",
152
+ "limit": "11.5 KB"
153
+ },
154
+ {
155
+ "path": "dist/hints.global.js",
156
+ "limit": "7 KB"
157
+ },
158
+ {
159
+ "path": "dist/compat-introjs.global.js",
160
+ "limit": "16 KB"
161
+ },
162
+ {
163
+ "path": "dist/inject-styles.js",
164
+ "limit": "4.5 KB"
165
+ },
166
+ {
167
+ "path": "dist/styles.css",
168
+ "limit": "4.5 KB"
169
+ }
170
+ ],
171
+ "devDependencies": {
172
+ "@arethetypeswrong/cli": "^0.18.5",
173
+ "@axe-core/playwright": "^4.12.1",
174
+ "@eslint/js": "^10.0.1",
175
+ "@playwright/test": "^1.61.1",
176
+ "@size-limit/file": "^12.1.0",
177
+ "@types/node": "^26.1.1",
178
+ "@vitest/coverage-v8": "^3.2.4",
179
+ "driver.js": "^1.8.0",
180
+ "eslint": "^10.7.0",
181
+ "eslint-config-prettier": "^10.1.8",
182
+ "intro.js": "^8.3.2",
183
+ "jsdom": "^26.1.0",
184
+ "prettier": "^3.9.5",
185
+ "publint": "^0.3.21",
186
+ "size-limit": "^12.1.0",
187
+ "tsup": "^8.5.0",
188
+ "typedoc": "^0.28.20",
189
+ "typedoc-plugin-markdown": "^4.12.0",
190
+ "typedoc-vitepress-theme": "^1.1.3",
191
+ "typescript": "^5.8.3",
192
+ "typescript-eslint": "^8.63.0",
193
+ "vite": "^7.0.4",
194
+ "vitepress": "^1.6.4",
195
+ "vitest": "^3.2.4"
196
+ }
197
+ }