-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.75 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
{
"name": "website-not-found-page-generator",
"title": "404 Page for Missing Website (Domain)",
"description": "Generates a \"not found domain\" compact responsive page for hosting providers when a domain or website is suspended, deleted or unavailable.",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/walitoff/website-not-found.git"
},
"author": "Ramil Valitov (https://github.com/rvalitov)",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/walitoff/website-not-found/issues"
},
"homepage": "https://github.com/walitoff/website-not-found",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"json": "jsonlint -q ./*.json",
"package": "npx npm-package-json-lint .",
"build": "npx cpy ./node_modules/uikit/dist/css/uikit.min.css ./src/assets --flat && npx cpy ./node_modules/uikit/dist/js/uikit.min.js ./src/assets --flat && cd ./src && hugo --minify --environment production",
"start-server": "cd ./src && hugo server --environment production",
"lighthouse-desktop": "npx lighthouse http://localhost:1313/ --no-enable-error-reporting --output-path=./desktop --output=html --output=json --config-path=./lr-desktop-config.js --chrome-flags=\"--no-sandbox --headless --disable-gpu --disable-dev-shm-usage\"",
"lighthouse-mobile": "npx lighthouse http://localhost:1313/ --no-enable-error-reporting --output-path=./mobile --output=html --output=json --config-path=./lr-mobile-config.js --chrome-flags=\"--no-sandbox --headless --disable-gpu --disable-dev-shm-usage\"",
"markdownlint": "markdownlint --config .markdownlint.json \"src/**/*.md\" \"*.md\"",
"markdown": "remark . --frail",
"markdown:fix": "remark . --frail --output",
"jest": "jest",
"coverage": "jest --coverage",
"screenshot": "pageres ./src/public/index.html 320x568 568x320 360x780 780x360 375x812 812x375 390x844 844x390 430x932 932x430 768x1024 1024x768 810x1080 1080x810 834x1112 1112x834 1024x1366 1366x1024 1440x900 2304x1440 1280x800 1366x768 2560x1440 1920x1080 3200x1800 2048x1152 --overwrite --format=jpg --crop --filename=\"<%= size %>\"",
"screenshot:mobile": "pageres ./mobile.report.html 800x1000 --overwrite --format=jpg --crop --filename=\"mobile\"",
"screenshot:desktop": "pageres ./desktop.report.html 800x1000 --overwrite --format=jpg --crop --filename=\"desktop\"",
"stylelint": "stylelint -f verbose \"src/**/*.css\"",
"stylelint:fix": "stylelint \"src/**/*.css\" --fix",
"test": "npm run lint && npm run stylelint && npm run markdown && npm run markdownlint && npm run package && npm run json && npm run jest"
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-consistent",
"remark-preset-lint-recommended"
]
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@fullhuman/postcss-purgecss": "^7.0.2",
"@prantlf/jsonlint": "^16.0.0",
"@types/jest": "^29.5.1",
"@types/uikit": "^3.14.5",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.16.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-yml": "^1.16.0",
"globals": "^15.14.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lighthouse": "^12.3.0",
"markdownlint-cli": "^0.43.0",
"npm-package-json-lint": "^8.0.0",
"npm-package-json-lint-config-default": "^7.0.1",
"pageres": "^8.1.0",
"pageres-cli": "^8.0.0",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"remark-cli": "^12.0.1",
"remark-lint-list-item-indent": "^4.0.0",
"remark-preset-lint-consistent": "^6.0.0",
"remark-preset-lint-recommended": "^7.0.0",
"stylelint": "^16.12.0",
"stylelint-config-standard": "^36.0.1",
"uikit": "3.21.16"
}
}