forked from solidjs-community/solid-primitives
/
package.json
67 lines (67 loc) · 1.76 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
{
"name": "@solid-primitives/mouse",
"version": "2.0.15",
"description": "A collection of Solid Primitives, that capture current mouse cursor position, and help to deal with common related usecases.",
"author": "Damian Tarnawski <gthetarnav@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/solidjs-community/solid-primitives/tree/main/packages/mouse#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/solidjs-community/solid-primitives.git"
},
"primitive": {
"name": "mouse",
"stage": 3,
"list": [
"createMousePosition",
"createPositionToElement"
],
"category": "Inputs"
},
"sideEffects": false,
"private": false,
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": {},
"exports": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": "./dist/index.cjs"
},
"files": [
"dist"
],
"scripts": {
"dev": "jiti ../../scripts/dev.ts",
"build": "jiti ../../scripts/build.ts",
"vitest": "vitest -c ../../configs/vitest.config.ts",
"test": "pnpm run vitest",
"test:ssr": "pnpm run vitest --mode ssr",
"test:watch": "watchlist src test -- npm test"
},
"keywords": [
"mouse",
"touch",
"cursor",
"solid",
"primitives"
],
"devDependencies": {
"@solid-primitives/raf": "workspace:^",
"solid-js": "^1.7.11"
},
"dependencies": {
"@solid-primitives/event-listener": "workspace:^",
"@solid-primitives/rootless": "workspace:^",
"@solid-primitives/static-store": "workspace:^",
"@solid-primitives/utils": "workspace:^"
},
"peerDependencies": {
"solid-js": "^1.6.12"
},
"typesVersions": {}
}