generated from joeyfigaro/tsup-lib-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.75 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
{
"name": "@joeyfigaro/use-scroll",
"repository": {
"type": "git",
"url": "https://github.com/joeyfigaro/use-scroll.git"
},
"bugs": {
"url": "https://github.com/joeyfigaro/use-scroll/issues"
},
"private": false,
"publishConfig": {
"access": "public"
},
"keywords": [
"react",
"hooks",
"scroll",
"progress",
"side-effects",
"scroll progress"
],
"version": "0.0.1",
"license": "MIT",
"type": "module",
"description": "Execute side-effects on target scroll progress",
"author": {
"email": "[email protected]",
"name": "Joey Figaro",
"url": "https://joeyfigaro.com"
},
"main": "./src/index.ts",
"typings": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs"
}
},
"scripts": {
"dev": "pnpm tsup --watch",
"bundle": "pnpm run build",
"build": "pnpm tsup src/index.ts --format esm,cjs --dts --minify",
"lint:fix": "pnpm eslint . --fix",
"format:fix": "pnpm prettier . --write",
"typecheck": "pnpm tsup --dts-only",
"test": "NODE_ENV=test pnpm vitest --ui --mode development",
"test:ci": "pnpm vitest run --coverage",
"test:watch": "pnpm vitest --watch"
},
"files": [
"dist",
"LICENSE",
"README.md",
"package.json"
],
"peerDependencies": {
"react": ">16.8.0",
"react-dom": ">16.8.0"
},
"devDependencies": {
"@testing-library/react": "*",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitest/coverage-v8": "*",
"@vitest/ui": "*",
"eslint": "*",
"prettier": "*",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"tsup": "^8.3.5",
"typescript": "*",
"vitest": "*"
}
}