Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.43 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 3.43 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
{
"private": true,
"author": "Doka.Team",
"license": "MIT + CC BY-NC-SA 4.0",
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.16.0",
"onFail": "warn"
},
"packageManager": {
"name": "npm",
"version": ">=11.13.0",
"onFail": "warn"
}
},
"browserslist": [
"defaults",
"safari >= 16.4",
"ios_saf >= 16.4"
],
"nodeW3Cvalidator": {
"suppressErrors": [
"Attribute “media” not allowed on element “meta” at this point."
]
},
"repository": {
"type": "git",
"url": "https://github.com/doka-guide/platform"
},
"scripts": {
"debug": "cross-env-shell NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 \"npm run make-links && node --inspect-brk node_modules/@11ty/eleventy/cmd.js --serve --quiet\"",
"start": "cross-env-shell NODE_ENV=development NODE_OPTIONS=--max-old-space-size=8192 \"npm run make-links && eleventy --incremental --serve --quiet\"",
"build": "cross-env-shell NODE_ENV=production \"npm run make-links && eleventy --quiet && npx gulp\"",
"deploy": "cd dist && rsync -e 'ssh -i $HOME/.ssh/doka_deploy -o StrictHostKeyChecking=no' --exclude 'api.json' --exclude 'mail' --archive --progress --compress --delete . deploy@dev.doka.guide:$(echo $(grep 'SERVER_PATH' ../.env | cut -d '=' -f2))",
"editorconfig": "cross-env EC_VERSION=v4.0.1 editorconfig-checker --format gcc",
"lint:css": "stylelint 'src/styles/**/*.css'",
"lint:js": "eslint '**/*.js'",
"lint:html": "node scripts/lint-html.js",
"lint-check": "npm run editorconfig && npm run lint:css && npm run lint:js && npm run lint:html",
"check": "node scripts/check.js",
"test": "jest",
"make-links": "node make-links.js"
},
"nano-staged": {
"*.js": "eslint --cache --fix",
"*.css": "stylelint --fix"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged",
"preserveUnused": true
},
"devDependencies": {
"@11ty/eleventy": "^3.1.6",
"@11ty/eleventy-fetch": "^5.1.3",
"@11ty/eleventy-img": "^7.0.0",
"@11ty/eleventy-plugin-rss": "^3.0.0",
"@11ty/eleventy-plugin-vite": "^8.0.0",
"@babel/core": "^7.29.7",
"@babel/preset-env": "^7.29.0",
"@eslint/js": "^10.0.1",
"babel-jest": "^30.4.1",
"browserslist": "^4.28.8",
"cross-env": "^10.1.0",
"dotenv": "^17.4.2",
"editorconfig-checker": "^7.0.0",
"emoji-regex": "^10.3.0",
"esbuild": "^0.28.2",
"eslint": "^10.9.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.16.5",
"eslint-plugin-prettier": "^5.5.6",
"globals": "^17.11.0",
"gray-matter": "^4.0.3",
"gulp": "^5.0.0",
"gulp-esbuild": "^0.15.0",
"gulp-git": "^2.4.2",
"gulp-rev": "^12.0.0",
"gulp-rev-rewrite": "^7.0.0",
"gulp-shell": "^0.8.0",
"html-escaper": "^3.0.3",
"htmlnano": "^3.4.0",
"jest": "^30.4.2",
"jest-environment-jsdom": "^30.4.1",
"lightningcss": "^1.33.0",
"linkedom": "^0.18.13",
"markdown-it": "^15.0.1",
"nano-staged": "^1.0.2",
"node-w3c-validator": "^3.0.0",
"prettier": "^3.1.1",
"prismjs": "^1.29.0",
"simple-git-hooks": "^2.9.0",
"stylelint": "^17.14.1",
"stylelint-config-standard": "^40.0.0",
"terser": "^5.26.0",
"transliteration": "^2.3.5",
"web-features": "^3.39.0"
},
"allowScripts": {
"esbuild": true,
"fsevents": true,
"simple-git-hooks": true,
"unrs-resolver": true,
"vnu-jar": true
}
}