-
-
Notifications
You must be signed in to change notification settings - Fork 142
/
Copy pathpackage.json
125 lines (125 loc) · 4.71 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "pwa-asset-generator",
"version": "6.4.0",
"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.",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"bin": {
"pwa-asset-generator": "bin/cli"
},
"scripts": {
"prepare": "husky install",
"test": "jest --verbose",
"test:update": "npm run test:update:visuals && npm run test:update:snapshots",
"test:update:snapshots": "jest -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 ./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 ./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 ./static/logo.svg ./src/__snapshots__/visual/input-svg -s false -b coral",
"visuals:input-png": "rimraf ./src/__snapshots__/visual/input-png && node ./bin/cli ./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 ./static/logo.html ./src/__snapshots__/visual/input-html -s false",
"visuals:input-html-dark": "rimraf ./src/__snapshots__/visual/input-html-dark && node ./bin/cli ./static/logo.html ./src/__snapshots__/visual/input-html-dark -s false -d true",
"chromium": "cross-env PAG_TEST_MODE=1 node bin/install",
"update": "node bin/update-fallback-data",
"build": "rimraf ./dist && tsc",
"start": "tsc -w",
"lint": "eslint src/**/**.ts",
"lint:fix": "npm run lint -- --fix",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "https://github.com/elegantapp/pwa-asset-generator.git"
},
"engines": {
"node": ">=10.12.0"
},
"keywords": [
"pwa",
"puppeteer",
"chromium",
"icon",
"launch-image",
"ios",
"android",
"splashscreen",
"splash-screen",
"image-generation",
"image",
"manifest",
"mobile",
"favicon",
"mstile",
"pwa-assets"
],
"author": "Önder Ceylan <[email protected]>",
"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": {
"chalk": "^4.1.2",
"cheerio": "1.0.0-rc.12",
"chrome-launcher": "^0.15.0",
"find-process": "^1.4.7",
"lodash.isequal": "^4.5.0",
"lodash.uniqwith": "^4.5.0",
"meow": "^9.0.0",
"mime-types": "^2.1.35",
"pretty": "^2.0.0",
"progress": "^2.0.3",
"puppeteer-core": "^13.5.2",
"slash": "^3.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^10.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"@types/cheerio": "^0.22.31",
"@types/find-process": "^1.2.0",
"@types/jest": "^29.1.1",
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.uniqwith": "^4.5.6",
"@types/mime-types": "^2.1.1",
"@types/pretty": "^2.0.1",
"@types/progress": "^2.0.5",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"cross-env": "^7.0.3",
"eslint": "^8.24.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-prettier": "^4.2.1",
"execa": "^5.1.1",
"husky": "^8.0.1",
"jest": "^29.1.2",
"jpeg-js": "^0.4.4",
"lint-staged": "^13.0.3",
"pixelmatch": "^5.3.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"semantic-release": "^21.0.0",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"lint-staged": {
"**/**.ts": [
"eslint --fix"
]
}
}