-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
85 lines (85 loc) · 3.35 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
{
"name": "consumet",
"description": "The Official Consumet Website",
"version": "0.0.1",
"engines": {
"node": ">=16.10.0"
},
"browserslist": [
"defaults"
],
"repository": "https://github.com/consumet/website",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"scripts": {
"init": "shx rm -rf .git && git init -b main",
"create": "exec-bin node_modules/.bin/hugo/hugo new",
"prestart": "npm run clean",
"start": "hugo server --bind=0.0.0.0 --disableFastRender",
"prebuild": "npm run clean",
"runthis": "sass ./assets/scss/common/_variables.scss:./public/css/_variables.css ./assets/scss/common/_global.scss:./public/css/_global.css ./assets/scss/common/_fonts.scss:./public/css/_fonts.css ./assets/scss/common/_dark.scss:./public/css/_dark.css ./assets/scss/layouts/_footer.scss:./public/css/_footer.css ./assets/scss/layouts/_header.scss:./public/css/_header.css ./assets/scss/layouts/_pages.scss:./public/css/_pages.css ./assets/scss/layouts/_posts.scss:./public/css/_posts.css ./assets/scss/layouts/_sidebar.scss:./public/css/_sidebar.css ./assets/scss/app.scss:./public/css/app.css",
"runthistoo": "sass ./assets/scss:./css",
"build": "exec-bin hugo --gc --minify",
"build:preview": "npm run build -D -F",
"clean": "shx rm -rf public resources",
"clean:install": "shx rm -rf package-lock.json node_modules ",
"lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
"lint:scripts": "eslint assets/js config functions",
"lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
"lint:markdown-fix": "markdownlint-cli2-fix \"*.md\" \"content/**/*.md\"",
"server": "exec-bin node_modules/.bin/hugo/hugo server",
"test": "npm run -s lint",
"env": "env",
"precheck": "npm version",
"check": "exec-bin node_modules/.bin/hugo/hugo version",
"copy:katex-fonts": "shx cp ./node_modules/katex/dist/fonts/* ./static/fonts/",
"postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo",
"version": "auto-changelog -p && git add CHANGELOG.md"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.17",
"@fullhuman/postcss-purgecss": "^4.1",
"auto-changelog": "^2.4",
"autoprefixer": "^10.4",
"bootstrap": "^5.1",
"clipboard": "^2.0",
"create-react-app": "^5.0.1",
"eslint": "^8.15",
"exec-bin": "^1.0.0",
"flexsearch": "^0.7.21",
"highlight.js": "^11.5",
"hugo-installer": "^3.1",
"instant.page": "^5.1",
"katex": "^0.15",
"lazysizes": "^5.3",
"markdownlint-cli2": "^0.4.0",
"netlify-plugin-submit-sitemap": "^0.4.0",
"node-fetch": "^3.2",
"postcss": "^8.4",
"postcss-cli": "^9.1",
"purgecss-whitelister": "^2.4",
"sass-loader": "^13.0.1",
"shx": "^0.3.4",
"stylelint": "^14.9",
"stylelint-config-standard-scss": "^3.0",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2"
},
"otherDependencies": {
"hugo": "0.99.0"
},
"dependencies": {
"@babel/preset-react": "^7.17.12",
"css-loader": "^6.7.1",
"extract-text-webpack-plugin": "^3.0.2",
"mermaid": "^9.1.2",
"node-sass": "^7.0.1",
"sass": "^1.53.0",
"style-loader": "^3.3.1"
}
}