2022-11-16 14:10:09 +08:00
|
|
|
{
|
2023-06-15 10:37:46 +08:00
|
|
|
"name": "CheatSheets.zip",
|
2022-11-16 14:10:09 +08:00
|
|
|
"version": "1.0.0",
|
|
|
|
|
"private": true,
|
|
|
|
|
"scripts": {
|
|
|
|
|
"dev": "run-p dev:*",
|
|
|
|
|
"dev:hexo": "npx hexo clean && npx hexo server",
|
|
|
|
|
"dev:css": "npx postcss themes/coo/source/css/style.tailwindcss -o themes/coo/source/css/style.css --watch",
|
|
|
|
|
"build": "run-s build:*",
|
|
|
|
|
"build:clean": "npx hexo clean",
|
2022-11-22 12:04:29 +08:00
|
|
|
"build:rm-db.json": "rm db.json || exit 0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"build:css": "npx postcss themes/coo/source/css/style.tailwindcss -o themes/coo/source/css/style.css",
|
|
|
|
|
"build:generate": "npx hexo generate",
|
2024-05-16 01:16:41 -07:00
|
|
|
"build:gulp": "npx gulp --max-old-space-size=4096",
|
2025-06-18 14:06:41 +08:00
|
|
|
"format": "prettier --write .",
|
|
|
|
|
"format:check": "prettier --check .",
|
|
|
|
|
"lint": "eslint themes/coo/source/js/**/*.js --fix",
|
|
|
|
|
"lint:check": "eslint themes/coo/source/js/**/*.js",
|
|
|
|
|
"lint:css": "stylelint **/*.css --fix",
|
|
|
|
|
"test": "run-s lint:check format:check",
|
2025-06-18 16:36:29 +08:00
|
|
|
"audit": "pnpm audit --audit-level moderate",
|
|
|
|
|
"audit:fix": "pnpm audit --fix",
|
|
|
|
|
"security:check": "pnpm audit && pnpm outdated",
|
2025-06-18 16:16:56 +08:00
|
|
|
"deps:check": "npx npm-check-updates",
|
2025-06-18 16:36:29 +08:00
|
|
|
"deps:update": "npx npm-check-updates -u && pnpm install",
|
2025-06-18 14:06:41 +08:00
|
|
|
"prepare": "husky",
|
|
|
|
|
"commit": "cz"
|
2022-11-16 14:10:09 +08:00
|
|
|
},
|
|
|
|
|
"hexo": {
|
2025-06-18 22:47:16 +08:00
|
|
|
"version": "7.3.0"
|
2022-11-16 14:10:09 +08:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2025-06-18 22:47:16 +08:00
|
|
|
"gulp": "^5.0.1",
|
|
|
|
|
"gulp-cli": "^3.1.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"gulp-ext-replace": "^0.3.0",
|
|
|
|
|
"gulp-htmlclean": "^2.7.22",
|
|
|
|
|
"gulp-htmlmin": "^5.0.1",
|
|
|
|
|
"gulp-minify-css": "^1.2.4",
|
2025-06-18 14:06:41 +08:00
|
|
|
"gulp-postcss": "^10.0.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"gulp-uglify-es": "^3.0.0",
|
2025-04-25 08:50:22 +08:00
|
|
|
"gulp-version-number": "^0.2.4",
|
2025-06-18 22:47:16 +08:00
|
|
|
"hexo": "^7.3.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"hexo-browsersync": "^0.3.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"hexo-excerpt": "^1.3.1",
|
2022-11-16 14:10:09 +08:00
|
|
|
"hexo-filter-nofollow": "^2.0.2",
|
2025-06-20 20:42:34 +08:00
|
|
|
"hexo-fs": "^5.0.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"hexo-generator-index": "^4.0.0",
|
|
|
|
|
"hexo-generator-sitemap": "^3.0.1",
|
|
|
|
|
"hexo-log": "^4.1.0",
|
|
|
|
|
"hexo-pagination": "^4.0.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"hexo-related-popular-posts": "^5.0.1",
|
|
|
|
|
"hexo-renderer-ejs": "^2.0.0",
|
2025-04-25 08:50:22 +08:00
|
|
|
"hexo-renderer-markdown-it": "^5.0.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"hexo-renderer-stylus": "^3.0.1",
|
|
|
|
|
"hexo-server": "^3.0.0",
|
2025-06-20 20:42:34 +08:00
|
|
|
"hexo-util": "^3.3.0",
|
|
|
|
|
"highlight.js": "^11.11.1",
|
2025-06-18 22:47:16 +08:00
|
|
|
"markdown-it-abbr": "^2.0.0",
|
|
|
|
|
"markdown-it-anchor": "^9.2.0",
|
2024-12-23 19:24:24 +00:00
|
|
|
"markdown-it-attrs": "^4.3.1",
|
2022-11-16 14:10:09 +08:00
|
|
|
"markdown-it-checkbox": "^1.1.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"markdown-it-emoji": "^3.0.0",
|
|
|
|
|
"markdown-it-footnote": "^4.0.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"markdown-it-highlight-lines": "^1.0.2",
|
2025-06-18 20:27:24 +08:00
|
|
|
"markdown-it-highlightjs": "^4.2.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"markdown-it-ins": "^4.0.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"markdown-it-shortcode-tag": "^1.1.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"markdown-it-sub": "^2.0.0",
|
|
|
|
|
"markdown-it-sup": "^2.0.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"markdown-it-task-lists": "^2.1.1"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-06-18 22:47:16 +08:00
|
|
|
"@commitlint/cli": "^19.8.1",
|
|
|
|
|
"@commitlint/config-conventional": "^19.8.1",
|
|
|
|
|
"autoprefixer": "^10.4.21",
|
2025-06-18 14:06:41 +08:00
|
|
|
"commitizen": "^4.3.1",
|
|
|
|
|
"cssnano": "^7.0.7",
|
|
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"eslint": "^9.29.0",
|
2025-06-18 14:06:41 +08:00
|
|
|
"eslint-config-prettier": "^10.1.5",
|
2022-11-16 14:10:09 +08:00
|
|
|
"gulp-clean-css": "^4.3.0",
|
2025-04-25 08:50:22 +08:00
|
|
|
"gulp-filesize": "^0.0.6",
|
2022-11-16 14:10:09 +08:00
|
|
|
"gulp-javascript-obfuscator": "^1.1.6",
|
2025-06-18 14:06:41 +08:00
|
|
|
"gulp-replace": "^1.1.4",
|
2025-06-18 22:47:16 +08:00
|
|
|
"gulp-rev": "^11.0.0",
|
2022-11-16 14:10:09 +08:00
|
|
|
"gulp-terser": "^2.1.0",
|
2025-06-18 22:47:16 +08:00
|
|
|
"husky": "^9.1.7",
|
|
|
|
|
"lint-staged": "^16.1.2",
|
|
|
|
|
"npm-run-all2": "^8.0.4",
|
2025-06-18 14:06:41 +08:00
|
|
|
"postcss": "^8.5.6",
|
2025-06-18 22:47:16 +08:00
|
|
|
"postcss-cli": "^11.0.1",
|
|
|
|
|
"postcss-import": "^16.1.1",
|
|
|
|
|
"prettier": "^3.5.3",
|
|
|
|
|
"prettier-plugin-tailwindcss": "^0.6.12",
|
|
|
|
|
"stylelint": "^16.20.0",
|
|
|
|
|
"stylelint-config-standard": "^38.0.0",
|
2025-06-18 14:06:41 +08:00
|
|
|
"tailwindcss": "^3.4.14",
|
|
|
|
|
"tailwindcss-animate": "^1.0.7"
|
|
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"commitizen": {
|
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
|
}
|
2022-11-16 14:10:09 +08:00
|
|
|
}
|
2025-06-18 14:06:41 +08:00
|
|
|
}
|