80 lines
2.6 KiB
JSON
80 lines
2.6 KiB
JSON
|
{
|
||
|
"name": "codeit-src",
|
||
|
"description": "CodeIT theme source file",
|
||
|
"version": "0.1.0",
|
||
|
"homepage": "https://codeit.suntprogramator.dev/",
|
||
|
"author": "Victor Pogor",
|
||
|
"license": "MIT",
|
||
|
"private": true,
|
||
|
"devDependencies": {
|
||
|
"@babel/cli": "^7.12.16",
|
||
|
"@babel/core": "^7.12.16",
|
||
|
"@babel/preset-env": "^7.12.16",
|
||
|
"@commitlint/cli": "^11.0.0",
|
||
|
"@commitlint/config-conventional": "^11.0.0",
|
||
|
"all-contributors-cli": "^6.20.0",
|
||
|
"babel-preset-minify": "^0.5.1",
|
||
|
"babelify": "^10.0.0",
|
||
|
"browserify": "^17.0.0",
|
||
|
"commitizen": "^4.2.3",
|
||
|
"core-js": "^3.8.3",
|
||
|
"cz-conventional-changelog": "^3.3.0",
|
||
|
"eslint": "^7.20.0",
|
||
|
"eslint-config-prettier": "^7.2.0",
|
||
|
"husky": "^5.0.9",
|
||
|
"lint-staged": "^10.5.4",
|
||
|
"markdownlint": "^0.23.1",
|
||
|
"minimist": "^1.2.5",
|
||
|
"prettier": "2.2.1",
|
||
|
"segmentit": "^2.0.3",
|
||
|
"standard-version": "^9.1.0",
|
||
|
"stylelint": "^13.10.0",
|
||
|
"stylelint-config-prettier": "^8.0.2",
|
||
|
"stylelint-config-standard": "^20.0.0",
|
||
|
"stylelint-scss": "^3.19.0"
|
||
|
},
|
||
|
"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",
|
||
|
"cm": "cz",
|
||
|
"release": "standard-version -s",
|
||
|
"release:minor": "standard-version -s --release-as minor",
|
||
|
"release:patch": "standard-version -s --release-as patch",
|
||
|
"release:major": "standard-version -s --release-as major"
|
||
|
},
|
||
|
"resolutions": {
|
||
|
"minimist": "^1.2.5"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/sunt-programator/CodeIT.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"gohugo",
|
||
|
"hugo",
|
||
|
"theme"
|
||
|
],
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/sunt-programator/CodeIT/issues"
|
||
|
},
|
||
|
"config": {
|
||
|
"commitizen": {
|
||
|
"path": "./node_modules/cz-conventional-changelog"
|
||
|
}
|
||
|
},
|
||
|
"standard-version": {
|
||
|
"skip": {
|
||
|
"commit": false,
|
||
|
"tag": false,
|
||
|
"changelog": false,
|
||
|
"bump": false
|
||
|
}
|
||
|
}
|
||
|
}
|