-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 2.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
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
{
"name": "attr-accept",
"version": "0.0.0-development",
"description": "JavaScript implementation of the \"accept\" attribute for HTML5 <input type=\"file\">",
"keywords": [
"accept",
"attr",
"attribute",
"file",
"html5",
"input",
"tag"
],
"homepage": "https://github.com/react-dropzone/attr-accept#readme",
"bugs": {
"url": "https://github.com/react-dropzone/attr-accept/issues"
},
"license": "MIT",
"author": "Andrey Okonetchnikov @okonetchnikov",
"contributors": [
"Andrey Okonetchnikov <andrey@okonet.ru> (http://okonet.ru)",
"Roland Groza <rolandjitsu@gmail.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/react-dropzone/attr-accept.git"
},
"files": [
"dist",
"src",
"!src/**/*.spec.*"
],
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"prepare": "prek install || exit 0",
"hooks:install": "prek install",
"hooks:run": "prek run --all-files",
"prebuild": "npm run clean",
"build": "tsdown",
"dev": "tsdown --watch",
"clean": "rm -rf dist",
"type-check": "tsc --noEmit",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"lint:type-aware": "oxlint --type-aware",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"pretest:cov": "npm run type-check && npm run lint && npm run format:check",
"test": "vitest",
"test:cov": "vitest run --coverage",
"presize": "npm run build",
"size": "size-limit"
},
"devDependencies": {
"@size-limit/file": "^12.1.0",
"@types/node": "^26.1.1",
"@vitest/coverage-v8": "^4.1.10",
"oxfmt": "^0.58.0",
"oxlint": "^1.73.0",
"oxlint-tsgolint": "^0.24.0",
"size-limit": "^12.1.0",
"tsdown": "^0.22.4",
"typescript": "^7.0.2",
"vitest": "^4.1.10"
},
"size-limit": [
{
"name": "esm",
"path": "dist/index.js",
"limit": "2 kB"
},
{
"name": "cjs",
"path": "dist/index.cjs",
"limit": "2 kB"
}
],
"engines": {
"node": ">= 20"
}
}