-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
66 lines (66 loc) · 2.05 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "@thednp/dll",
"version": "1.0.9",
"description": "Double Lazy Load for Images, Videos and Background Images.",
"homepage": "https://thednp.github.io/dll",
"author": "thednp",
"license": "MIT",
"source": "./src/index.ts",
"main": "./dist/dll.js",
"module": "./dist/dll.mjs",
"exports": {
".": {
"types": "./dist/dll.d.ts",
"require": "./dist/dll.cjs",
"import": "./dist/dll.mjs"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"badges": "npx -p dependency-version-badge update-badge typescript eslint prettier vite",
"format": "prettier --write \"src/**/*.ts\"",
"fix:ts": "eslint src --config .eslintrc.cjs --fix",
"lint:ts": "eslint src --config .eslintrc.cjs",
"check:ts": "tsc --noEmit",
"build": "npm run lint:ts && npm run check:ts && npm run build-vite && npm run badges && npm run build-dts",
"build-vite": "vite build && npm run build-docs",
"build-dts": "dts-bundle-generator --config ./dts.config.cjs",
"build-docs": "ncp dist/dll.js docs/assets/js/dll.js && ncp dist/dll.js.map docs/assets/js/dll.js.map",
"prepublishOnly": "npm update && npm run format && npm run lint:ts && npm run build && npm run badges"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thednp/dll.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"dll",
"lazy-load",
"image",
"video",
"typescript"
],
"bugs": {
"url": "https://github.com/thednp/dll/issues"
},
"devDependencies": {
"@types/node": "^20.14.11",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"dts-bundle-generator": "^9.5.1",
"eslint": "^8.57.0",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"ncp": "^2.0.0",
"prettier": "^2.8.8",
"typescript": "^5.5.3",
"vite": "^5.3.4"
},
"dependencies": {
"@thednp/shorty": "^2.0.0"
}
}