mirror of
https://github.com/torproject/dev.git
synced 2024-11-26 19:00:24 +00:00
88c9a2748d
This reverts commit a786ed994072dc6727a4806a049d45216d7846a0.
72 lines
2.5 KiB
JSON
Executable File
72 lines
2.5 KiB
JSON
Executable File
{
|
|
"name": "@hyas/doks",
|
|
"description": "Tor Project Dev Docs",
|
|
"version": "0.1.0",
|
|
"engines": {
|
|
"node": ">=16.16.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
],
|
|
"repository": "https://gitlab.torproject.org/tpo/web/dev/",
|
|
"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": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender",
|
|
"prebuild": "npm run clean",
|
|
"build": "exec-bin node_modules/.bin/hugo/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.18",
|
|
"@babel/core": "^7.18",
|
|
"@babel/preset-env": "^7.18",
|
|
"@fullhuman/postcss-purgecss": "^4.1",
|
|
"@hyas/images": "^0.2.2",
|
|
"auto-changelog": "^2.4",
|
|
"autoprefixer": "^10.4",
|
|
"bootstrap": "^5.2.0-beta1",
|
|
"clipboard": "^2.0",
|
|
"eslint": "^8.19",
|
|
"exec-bin": "^1.0.0",
|
|
"flexsearch": "^0.7.21",
|
|
"highlight.js": "^11.5",
|
|
"hugo-installer": ">=4.0.1",
|
|
"instant.page": "^5.1",
|
|
"katex": "^0.16",
|
|
"lazysizes": "^5.3",
|
|
"markdownlint-cli2": "^0.4.0",
|
|
"netlify-plugin-submit-sitemap": "^0.4.0",
|
|
"node-fetch": "^3.2",
|
|
"postcss": "^8.4",
|
|
"postcss-cli": "^10.0",
|
|
"purgecss-whitelister": "^2.4",
|
|
"shx": "^0.3.4",
|
|
"stylelint": "^14.9",
|
|
"stylelint-config-standard-scss": "^4.0"
|
|
},
|
|
"otherDependencies": {
|
|
"hugo": "0.119.0"
|
|
}
|
|
}
|