-
Notifications
You must be signed in to change notification settings - Fork 423
Expand file tree
/
Copy pathpackage.json
More file actions
103 lines (103 loc) · 2.61 KB
/
Copy pathpackage.json
File metadata and controls
103 lines (103 loc) · 2.61 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
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
{
"name": "@paulbakaus/scroller",
"version": "1.3.0",
"type": "module",
"description": "Accelerated panning and zooming for HTML and Canvas",
"keywords": [
"scroller",
"mobile",
"animation",
"touch",
"zoom",
"pan",
"scroll"
],
"author": "Zynga Inc.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/pbakaus/scroller.git"
},
"bugs": {
"url": "https://github.com/pbakaus/scroller/issues"
},
"homepage": "https://github.com/pbakaus/scroller#readme",
"main": "dist/scroller.cjs.js",
"module": "dist/scroller.esm.js",
"unpkg": "dist/scroller-full.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/scroller.esm.js",
"require": "./dist/scroller.cjs.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"src",
"LICENSE.txt",
"README.md"
],
"scripts": {
"build": "npm run build:lib && npm run build:demos",
"build:lib": "rollup -c",
"build:demos": "node scripts/build-demos.js",
"build:watch": "rollup -c -w",
"dev": "vite",
"lint": "biome check src",
"lint:fix": "biome check --write src",
"format": "biome format src",
"format:fix": "biome format --write src",
"check": "biome check src",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test:watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
"test:coverage": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --coverage",
"test:ci": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --ci --coverage --watchAll=false"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/tests/setup.js"
],
"testMatch": [
"<rootDir>/tests/**/*.test.js"
],
"collectCoverageFrom": [
"src/**/*.js",
"!src/index.js",
"!src/umd.js",
"!src/umd-full.js"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
],
"transform": {},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@jest/globals": "^29.7.0",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-terser": "^0.4.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rollup": "^4.25.0",
"typescript": "^5.7.2",
"vite": "^7.0.4"
},
"engines": {
"node": ">=14.0.0"
},
"publishConfig": {
"access": "public"
}
}