-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.96 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 1.96 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
{
"name": "@codemonster-ru/floater.js",
"version": "1.0.10",
"description": "Tiny TypeScript positioning library for tooltips, popovers, dropdowns, and context menus.",
"license": "MIT",
"author": "Kirill Kolesnikov",
"repository": {
"type": "git",
"url": "https://github.com/codemonster-ru/floater.js.git"
},
"keywords": [
"floating-ui",
"floating",
"positioning",
"popover",
"tooltip",
"dropdown",
"context-menu",
"typescript",
"ui",
"dom"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite dev",
"build": "vite build && tsc -p tsconfig.build.json",
"test": "vitest run",
"test:e2e": "npm run build && playwright test -c playwright.config.mjs",
"lint": "eslint src tests --ext .ts",
"test:dist": "node scripts/test-dist-exports.mjs",
"check": "npm run lint && npm test && npm run build && npm run test:dist"
},
"devDependencies": {
"@playwright/test": "^1.55.1",
"@types/node": "^20.14.10",
"@typescript-eslint/eslint-plugin": "^7.16.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jsdom": "^24.1.0",
"prettier": "^3.3.2",
"typescript": "^5.5.3",
"vite": "^6.0.11",
"vitest": "^4.1.5"
},
"vitest": {
"environment": "jsdom"
}
}