mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
➖ Chore: remove @babel/* and core-js
This commit is contained in:
+1
-8
@@ -4,23 +4,16 @@
|
||||
"description": "FixIt theme source files",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.21.0",
|
||||
"@babel/core": "^7.21.4",
|
||||
"@babel/preset-env": "^7.21.4",
|
||||
"atomic-algolia": "^0.3.19",
|
||||
"babelify": "^10.0.0",
|
||||
"browserify": "^17.0.0",
|
||||
"core-js": "^3.29.1",
|
||||
"segmentit": "^2.0.3"
|
||||
},
|
||||
"scripts": {
|
||||
"babel": "npx babel src/js/theme.js -o assets/js/theme.min.js -s",
|
||||
"build": "npm run babel && hugo -v --source=docs --gc --minify",
|
||||
"build": "hugo -v --source=docs --gc --minify",
|
||||
"build:lunr.segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
|
||||
"server": "hugo server --source=docs -D --disableFastRender --navigateToChanged --ignoreCache --bind 0.0.0.0",
|
||||
"server:production": "npm run server -- -e production",
|
||||
"start": "npm run babel && npm run server",
|
||||
"start:production": "npm run babel && npm run server:production",
|
||||
"algolia": "atomic-algolia",
|
||||
"update:docs": "git submodule update --remote --merge && git add docs && git commit -m ':memo: Docs: update theme docs'",
|
||||
"version": "sed -i '' \"s/v$npm_package_version-RC/v$npm_package_version/g\" layouts/partials/init/index.html && git add .",
|
||||
|
||||
Reference in New Issue
Block a user