/
package.json
executable file
·106 lines (106 loc) · 3.02 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "solid-boundaries",
"description": "A utility to track the bounds of html-elements in solid-js",
"info": "This small library exposes a small reactive primitive which tracks the size and position (bounds) of a specific html-element (subject). This is useful for all kinds of things, like building tooltips, popovers, or other behavior and interactions related to changes regarding size and positions. Bounds update in response to: scrolling (the entire window as well as nested scroll-containers), resizing (the entire window as well as the subject) and mutations in the document.",
"keywords": [
"solidhack",
"best_ecosystem",
"measure",
"solid",
"js",
"solid-js",
"size",
"position",
"resize",
"bounds"
],
"version": "2.0.0",
"author": "Erik Verweij",
"contributors": [
{
"name": "Erik Verweij",
"email": "info@erikverweij.com",
"url": "http://www.erikverweij.dev"
}
],
"repository": {
"type": "git",
"url": "https://github.com/everweij/solid-boundaries"
},
"homepage": "https://7j26ix.sse.codesandbox.io/",
"files": [
"dist"
],
"license": "MIT",
"main": "dist/index.cjs.js",
"typings": "dist/index.d.ts",
"module": "dist/index.es.js",
"sideEffects": false,
"exports": {
"node": {
"import": "./dist/server.es.js",
"require": "./dist/server.cjs.js"
},
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js"
},
"size-limit": [
{
"path": "dist/solid-boundaries.cjs.js",
"limit": "10 KB"
},
{
"path": "dist/solid-boundaries.es.js",
"limit": "10 KB"
}
],
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "none",
"arrowParens": "avoid"
},
"scripts": {
"start": "vite",
"prepare": "husky install",
"prepublish": "npm run build",
"lint": "eslint '**/*.{ts,tsx}' -c .eslintrc.js --quiet --fix",
"build": "vite build && tsc -p tsconfig.typings.json",
"typecheck": "tsc --noEmit",
"precommit": "npm run typecheck && npm run lint",
"size": "size-limit",
"test": "vitest",
"test:browser": "cypress open-ct",
"test:browser:ci": "cypress run-ct"
},
"peerDependencies": {
"solid-js": ">=1.0.0"
},
"devDependencies": {
"@cypress/mount-utils": "^1.0.2",
"@cypress/vite-dev-server": "^2.2.2",
"@size-limit/preset-small-lib": "^7.0.8",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"c8": "^7.11.0",
"cypress": "^9.5.3",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.4",
"jsdom": "^19.0.0",
"motion": "^10.7.0",
"prettier": "^2.6.1",
"size-limit": "^7.0.8",
"solid-js": "^1.3.13",
"solid-testing-library": "^0.3.0",
"tslib": "^2.3.1",
"typescript": "^4.6.3",
"vite": "^2.9.1",
"vite-plugin-solid": "^2.2.6",
"vitest": "^0.8.4"
}
}