-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.33 KB
/
Copy pathpackage.json
File metadata and controls
29 lines (29 loc) · 1.33 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
{
"name": "debounced",
"version": "2.0.1",
"description": "Debounced versions of standard high frequency DOM events",
"main": "dist/debounced.js",
"repository": {
"type": "git",
"url": "git+https://github.com/hopsoft/debounced.git"
},
"author": "Nate Hopkins (hopsoft) <natehop@gmail.com>",
"license": "MIT",
"scripts": {
"build": "npm run format && esbuild src/index.js --bundle --format=esm --target=es2020,chrome90,firefox88,safari14,edge90 --minify --sourcemap --tree-shaking=true --outfile=dist/debounced.js",
"build:dev": "esbuild src/index.js --bundle --format=esm --target=es2020 --sourcemap=inline --outfile=dist/debounced.js",
"build:analyze": "esbuild src/index.js --bundle --format=esm --target=es2020 --minify --metafile=meta.json --analyze --outfile=dist/debounced.js",
"format": "npm run toc && prettier --write ./src ./test package.json README.md",
"lint": "prettier --check ./src ./test *.json *.md",
"test": "npm run build && playwright test",
"test:ui": "npm run build && playwright test --ui",
"test:visual": "npm run build && npx http-server . -o /test/visual.html -p 8080",
"toc": "npx markdown-toc -i --maxdepth 2 README.md"
},
"devDependencies": {
"@playwright/test": "^1.55.0",
"esbuild": "^0.25.10",
"prettier": "^3.2.5",
"sirv-cli": "^3.0.1"
}
}