forked from doka-guide/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 3.06 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
{
"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 \"npm run make-links && node --inspect-brk node_modules/@11ty/eleventy/cmd.js --serve --quiet\"",
"start": "cross-env-shell NODE_ENV=development \"npm run make-links && eleventy --serve --quiet\"",
"build": "cross-env-shell NODE_ENV=production \"npm run make-links && eleventy --quiet && npx gulp\"",
"preview": "cross-env-shell NODE_ENV=development \"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": "^1.0.0",
"@11ty/eleventy-cache-assets": "^2.3.0",
"@11ty/eleventy-img": "^2.0.0",
"@babel/preset-env": "^7.20.2",
"@octokit/core": "^3.5.1",
"autoprefixer": "^10.4.4",
"cross-env": "^7.0.3",
"del": "^6.0.0",
"dotenv": "^16.0.0",
"editorconfig-checker": "^4.0.2",
"emoji-regex": "^10.1.0",
"esbuild": "^0.14.31",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"gray-matter": "^4.0.3",
"gulp": "^4.0.2",
"gulp-esbuild": "^0.10.2",
"gulp-git": "^2.10.1",
"gulp-postcss": "^9.0.1",
"gulp-rev": "^9.0.0",
"gulp-rev-rewrite": "^5.0.0",
"gulp-shell": "^0.8.0",
"htmlnano": "^2.0.3",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.3.1",
"jsdom": "^20.0.3",
"linkedom": "^0.14.5",
"markdown-it": "^12.3.2",
"nano-staged": "^0.6.0",
"postcss": "^8.4.12",
"postcss-csso": "^6.0.0",
"postcss-import": "^14.1.0",
"prettier": "^2.6.2",
"prismjs": "^1.27.0",
"puppeteer": "^13.5.2",
"sharp": "^0.30.3",
"simple-git-hooks": "^2.7.0",
"stylelint": "^14.6.1",
"stylelint-config-standard": "^25.0.0",
"terser": "^5.15.1",
"transliteration": "^2.2.0",
"web-features": "^0.4.1"
},
"dependencies": {
"@babel/core": "^7.20.12",
"babel-jest": "^29.4.1",
"eslint-plugin-jest": "^27.1.3",
"html-escaper": "^3.0.3"
}
}