mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
886abd5c6e
Bumps [browserify](https://github.com/browserify/browserify) from 16.5.0 to 17.0.0. - [Release notes](https://github.com/browserify/browserify/releases) - [Changelog](https://github.com/browserify/browserify/blob/master/changelog.markdown) - [Commits](https://github.com/browserify/browserify/compare/v16.5.0...v17.0.0) --- updated-dependencies: - dependency-name: browserify dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"name": "fixit-src",
|
|
"version": "0.2.0",
|
|
"description": "FixIt theme source file",
|
|
"private": true,
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.4",
|
|
"@babel/core": "^7.16.5",
|
|
"@babel/preset-env": "^7.16.5",
|
|
"babel-preset-minify": "^0.5.1",
|
|
"babelify": "^10.0.0",
|
|
"browserify": "^17.0.0",
|
|
"core-js": "^3.20.1",
|
|
"husky": "^7.0.4",
|
|
"minimist": "^1.2.5",
|
|
"segmentit": "^2.0.3"
|
|
},
|
|
"scripts": {
|
|
"preinstall": "npx npm-force-resolutions",
|
|
"babel": "npx babel src/js --out-file assets/js/theme.min.js --source-maps",
|
|
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
|
|
"build-lunr-segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
|
|
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
|
|
"start-production": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
|
|
"check": "htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external",
|
|
"copy": "rm -rf resources && cp -rf exampleSite/resources resources"
|
|
},
|
|
"resolutions": {
|
|
"minimist": "^1.2.5"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run build && npm run copy && git add resources assets/js"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Lruihao/FixIt.git"
|
|
},
|
|
"keywords": [
|
|
"hugo",
|
|
"theme"
|
|
],
|
|
"author": "Lruihao",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Lruihao/FixIt/issues"
|
|
},
|
|
"homepage": "https://github.com/Lruihao/FixIt#readme"
|
|
}
|