-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.6 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
{
"name": "appear-on-scroll",
"version": "2.0.0",
"description": "Reveal elements as they enter the viewport, with a scroll-direction-aware slide. IntersectionObserver-based, zero dependencies.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --target es2018 --clean",
"typecheck": "tsc",
"test": "npm run build && node test/run.mjs",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.mjs\" \"scripts/**/*.mjs\" \"demo/**/*.html\"",
"build:docs": "npm run build && node scripts/build-docs.mjs",
"demo:gif": "node scripts/record-demo.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davemaynard/appear-on-scroll.git"
},
"keywords": [
"appear",
"reveal",
"scroll",
"intersection-observer",
"animation",
"fade",
"slide",
"scroll-direction",
"viewport",
"on-scroll"
],
"author": "Dave Maynard",
"license": "ISC",
"bugs": {
"url": "https://github.com/davemaynard/appear-on-scroll/issues"
},
"homepage": "https://davemaynard.github.io/appear-on-scroll",
"devDependencies": {
"playwright": "^1.48.0",
"prettier": "^3.3.3",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
}
}