-
-
Notifications
You must be signed in to change notification settings - Fork 156
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.8 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 4.8 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "pwa-asset-generator",
"version": "8.1.5",
"description": "Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Human Interface guidelines.",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"bin": {
"pwa-asset-generator": "bin/cli.js"
},
"scripts": {
"prepare": "husky",
"test": "vitest run",
"test:concurrency": "npm run build && node scripts/concurrency-stress-test.mjs",
"test:update": "npm run test:update:visuals && npm run test:update:snapshots",
"test:update:snapshots": "vitest run -u",
"test:update:visuals": "npm run visuals:input-svg && npm run visuals:input-png && npm run visuals:input-html && npm run visuals:input-html-dark && npm run visuals:output-transparent && npm run visuals:output-png",
"visuals:output-png": "rimraf ./src/__snapshots__/visual/output-png && node ./bin/cli.js ./static/logo.svg ./src/__snapshots__/visual/output-png -s false -t png -b coral",
"visuals:output-transparent": "rimraf ./src/__snapshots__/visual/output-transparent && node ./bin/cli.js ./static/logo.svg ./src/__snapshots__/visual/output-transparent -s false -b -t png transparent -o false",
"visuals:input-svg": "rimraf ./src/__snapshots__/visual/input-svg && node ./bin/cli.js ./static/logo.svg ./src/__snapshots__/visual/input-svg -s false -b coral",
"visuals:input-png": "rimraf ./src/__snapshots__/visual/input-png && node ./bin/cli.js ./static/logo.png ./src/__snapshots__/visual/input-png -s false -b coral -w",
"visuals:input-html": "rimraf ./src/__snapshots__/visual/input-html && node ./bin/cli.js ./static/logo.html ./src/__snapshots__/visual/input-html -s false",
"visuals:input-html-dark": "rimraf ./src/__snapshots__/visual/input-html-dark && node ./bin/cli.js ./static/logo.html ./src/__snapshots__/visual/input-html-dark -s false -d true",
"chromium": "cross-env PAG_TEST_MODE=1 node bin/install.js",
"update": "node bin/update-fallback-data.js",
"build": "rimraf ./dist && tsc && cp -R src/config/*.json dist/config/",
"start": "tsc -w",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"semantic-release": "semantic-release",
"tsc": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "https://github.com/elegantapp/pwa-asset-generator.git"
},
"engines": {
"node": ">=18"
},
"keywords": [
"pwa",
"puppeteer",
"chromium",
"icon",
"launch-image",
"ios",
"android",
"splashscreen",
"splash-screen",
"image-generation",
"image",
"manifest",
"mobile",
"favicon",
"mstile",
"pwa-assets"
],
"author": "Önder Ceylan <onderceylan@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/elegantapp/pwa-asset-generator/issues"
},
"homepage": "https://github.com/elegantapp/pwa-asset-generator#readme",
"collective": {
"url": "https://opencollective.com/pwa-asset-generator"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/pwa-asset-generator"
},
"dependencies": {
"cheerio": "^1.2.0",
"chrome-launcher": "^1.2.1",
"find-process": "^2.0.0",
"meow": "^14.0.0",
"mime-types": "^3.0.1",
"picocolors": "^1.1.1",
"pretty": "^2.0.0",
"puppeteer-core": "^24.39.0",
"slash": "^5.1.0"
},
"devDependencies": {
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^9.36.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.6",
"@semantic-release/npm": "^13.1.0",
"@semantic-release/release-notes-generator": "^14.1.0",
"@types/mime-types": "^3.0.1",
"@types/node": "^24.5.2",
"@types/pngjs": "^6.0.5",
"@types/pretty": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"cross-env": "^10.0.0",
"eslint": "^9.39.4",
"eslint-plugin-n": "^17.23.1",
"execa": "^9.6.0",
"globals": "^16.4.0",
"husky": "^9.1.7",
"jpeg-js": "^0.4.4",
"lint-staged": "^16.2.1",
"pixelmatch": "^7.1.0",
"prettier": "^3.6.2",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.0",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"overrides": {
"basic-ftp": ">=5.2.0",
"js-beautify": ">=1.15.4",
"lodash": "^4.18.1",
"lodash-es": "^4.18.1",
"npm": "^11.16.0",
"rollup": ">=4.59.0"
},
"lint-staged": {
"**/*.{js,ts}": [
"eslint --fix",
"prettier --write"
]
}
}