-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
51 lines (51 loc) · 1.1 KB
/
package.json
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
{
"name": "image-promise",
"version": "7.0.1",
"description": "Load one or more images, return a promise. Only 0.4KB, for the browser, no dependencies.",
"keywords": [
"browser",
"cache",
"image",
"imagesloaded",
"img",
"lazyload",
"load",
"onload",
"preload",
"promise",
"then",
"vanilla"
],
"repository": "fregante/image-promise",
"license": "MIT",
"author": "Federico Brigante <opensource@bfred.it> (bfred.it)",
"type": "module",
"module": "index.js",
"types": "./index.d.ts",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"build": "tsc",
"prepack": "tsc --sourceMap false",
"test": "xo && tsc --noEmit",
"watch": "tsc --watch"
},
"xo": {
"envs": [
"browser"
],
"rules": {
"@typescript-eslint/promise-function-async": "off",
"prefer-promise-reject-errors": "off",
"@typescript-eslint/prefer-readonly-parameter-types": "off"
}
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.7.0",
"type-fest": "^0.13.1",
"typescript": "^3.8.3",
"xo": "^0.30.0"
}
}