* add npm dependencies used in this theme * implement helper to configure JS and ESBuild * migrate jquery popper.js bootstrap fontawesome to js bundle * refactor main.js into smaller pieces, and moved navbar.js to assets * remove list.js. It adjusts post card height to be the same, but is actually not needed. * refactored notes.js, search.js, single.js into application.js * move ityped to js asset, implement experiences horizontal vertical line in css * align recent post height via css * migrated home.js and refactored into various sections * migrated darkMode feature to js bundle * moved mermaid feature to js bundle * migrate syntax highlight to js bundle * migrate katex ( js portion ) to js bundle * migrate pdf-js to js bundle by delegating to cdn * set explicit comparisions for feature envvars so js can properly optimize * removed goat-counter * more fixes for broken achievements and small bugs * more bug fixes * allow configuration of hightlight.js, fix video-player shortcode * remove jquery all together * add null handling and fix merge conflicts Co-authored-by: Aaron Qian <aaron@yeet.io>
33 lines
994 B
JSON
33 lines
994 B
JSON
{
|
|
"name": "toha",
|
|
"version": "1.0.0",
|
|
"description": "A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist design and responsiveness.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix .",
|
|
"autoprefixer": "postcss static/css/*/*.css --use autoprefixer -r --no-map"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/hugo-toha/toha.git"
|
|
},
|
|
"author": "Emruz Hossain",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/hugo-toha/toha/issues"
|
|
},
|
|
"homepage": "https://github.com/hugo-toha/toha#readme",
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.13",
|
|
"eslint": "^8.31.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-config-standard": "^17.0.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-n": "^15.6.0",
|
|
"eslint-plugin-no-jquery": "^2.7.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"postcss": "^8.4.20",
|
|
"postcss-cli": "^8.3.1"
|
|
}
|
|
}
|