-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 2.99 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
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
97
98
99
100
101
102
103
104
105
106
{
"name": "favicons-lib",
"version": "8.0.0",
"description": "This project is based on and adapts code from the `favicons` library (<https://github.com/itgalaxy/favicons.git>), originally licensed under the MIT License. Significant modifications have been made, including bug fixes, API redesign,extended functionality (e.g., manifest expansion, screenshots support), and other improvements.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/itgalaxy/favicons.git"
},
"scripts": {
"fmt": "prettier --write .",
"fmt-check": "prettier --check .",
"lint": "eslint . --ignore-path .gitignore",
"fix": "npm run lint -- --fix && npm run fmt",
"pretest": "npm run lint && npm run fmt-check",
"test-import": "node ./test-packages/test-mjs/index.js",
"test-require": "node ./test-packages/test-cjs/index.js",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test-all": "npm test -- -u && npm run test-import && npm run test-require",
"clean": "rimraf dist/",
"prebuild": "npm run clean",
"build": "unbuild",
"prepublishOnly": "npm run build && npm run test-all"
},
"keywords": [
"favicon",
"ico",
"generator",
"node",
"realfavicongenerator",
"astro-favicons-lib"
],
"author": "Junlin",
"contributors": [
"Hayden Bleasel <haydenbleasel@gmail.com>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/itgalaxy/favicons/issues"
},
"homepage": "https://github.com/itgalaxy/favicons",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"escape-html": "^1.0.3",
"sharp": "^0.33.5",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@babel/core": "^7.19.6",
"@babel/preset-env": "^7.19.4",
"@babel/preset-typescript": "^7.18.6",
"@types/escape-html": "^1.0.2",
"@types/xml2js": "^0.4.11",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.26.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.1.3",
"eslint-plugin-prettier": "^5.0.0",
"icojs": "^0.19.3",
"jest": "^29.2.1",
"jest-image-snapshot": "^6.1.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"typescript": "^5.0.4",
"unbuild": "^2.0.0"
},
"jest": {
"testTimeout": 180000,
"testMatch": [
"<rootDir>/test/**/*.test.mjs"
],
"extensionsToTreatAsEsm": [
".ts"
],
"setupFilesAfterEnv": [
"<rootDir>/test/setup.mjs"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"src/**/*.js"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"text-summary",
"html"
]
}
}