forked from doka-guide/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.24 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
{
"private": true,
"author": "Doka.Team",
"license": "MIT + CC BY-NC-SA 4.0",
"engines": {
"node": ">=16",
"npm": ">=8"
},
"browserslist": [
"last 2 version",
"not dead",
"not ie <= 11"
],
"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\"",
"preview": "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 . [email protected]:$(echo $(grep 'SERVER_PATH' ../.env | cut -d '=' -f2))",
"editorconfig": "editorconfig-checker",
"stylelint": "stylelint 'src/styles/**/*.css'",
"eslint": "eslint '**/*.js'",
"lint-check": "npm run editorconfig && npm run stylelint && npm run eslint",
"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": "^2.0.1",
"@11ty/eleventy-fetch": "^4.0.0",
"@11ty/eleventy-img": "^3.1.8",
"@11ty/eleventy-plugin-rss": "^1.2.0",
"@babel/preset-env": "^7.23.6",
"@octokit/core": "^5.0.2",
"autoprefixer": "^10.4.16",
"cross-env": "^7.0.3",
"del": "^6.1.1",
"dotenv": "^16.3.1",
"editorconfig-checker": "^5.1.2",
"emoji-regex": "^10.3.0",
"esbuild": "^0.19.10",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"gray-matter": "^4.0.3",
"gulp": "^5.0.0",
"gulp-esbuild": "^0.12.0",
"gulp-git": "^2.4.2",
"gulp-postcss": "^9.0.1",
"gulp-rev": "^9.0.0",
"gulp-rev-rewrite": "^5.0.0",
"gulp-shell": "^0.6.3",
"htmlnano": "^2.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^23.0.1",
"linkedom": "^0.16.5",
"markdown-it": "^14.0.0",
"nano-staged": "^0.8.0",
"postcss": "^8.4.32",
"postcss-csso": "^6.0.1",
"postcss-import": "^15.1.0",
"postcss-media-minmax": "^5.0.0",
"prettier": "^3.1.1",
"prismjs": "^1.29.0",
"puppeteer": "^21.6.1",
"simple-git-hooks": "^2.9.0",
"stylelint": "^16.1.0",
"stylelint-config-standard": "^36.0.0",
"terser": "^5.26.0",
"transliteration": "^2.3.5",
"web-features": "^1.0.0"
},
"dependencies": {
"@11ty/eleventy-plugin-vite": "^4.0.0",
"@babel/core": "^7.23.6",
"babel-jest": "^29.7.0",
"eslint-plugin-jest": "^27.6.0",
"html-escaper": "^3.0.3"
}
}