-
Notifications
You must be signed in to change notification settings - Fork 165
/
package.json
102 lines (102 loc) · 2.63 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
{
"name": "favicons",
"version": "7.2.0",
"description": "Favicon generator for Node.js",
"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 && 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"
],
"author": "Hayden Bleasel <[email protected]>",
"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.1",
"xml2js": "^0.6.1"
},
"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"
]
}
}