-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.48 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.48 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
{
"name": "svelte-use-click-outside",
"version": "1.1.0",
"description": "Zero dependency Svelte's action to handle click outside event",
"type": "module",
"scripts": {
"build": "tsup src/index.ts --dts --sourcemap --format esm,cjs",
"check": "tsc --noEmit",
"lint": "eslint 'src/**/*.{js,json,ts}' --fix",
"release": "release-it"
},
"files": [
"/dist"
],
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"repository": "https://github.com/Th1nkK1D/svelte-use-click-outside.git",
"author": "Th1nkK1D <witheep@gmail.com>",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@release-it/conventional-changelog": "^8.0.2",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.0",
"husky": ">=4",
"lint-staged": ">=10",
"prettier": "^2.2.1",
"release-it": "^17.6.0",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint --edit"
}
},
"lint-staged": {
"*.{js,json,ts}": "eslint --cache --fix"
},
"engines": {
"node": ">=12.0.0"
}
}