forked from dillonzq/LoveIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "loveit-src",
"version": "0.2.0",
"description": "LoveIt theme source file",
"private": true,
"devDependencies": {
"@algolia/cli": "^4.0.8",
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"babelify": "^10.0.0",
"browserify": "^16.5.2",
"core-js": "^3.22.4",
"husky": "^7.0.0",
"segmentit": "^2.0.3"
},
"scripts": {
"preinstall": "npx npm-force-resolutions",
"babel": "npx babel src/js --out-file assets/js/theme.js",
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
"build-lunr-segmentit": "browserify src/lib/lunr/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env",
"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",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dillonzq/LoveIt.git"
},
"keywords": [
"hugo",
"theme"
],
"author": "Dillon",
"license": "MIT",
"bugs": {
"url": "https://github.com/dillonzq/LoveIt/issues"
},
"homepage": "https://github.com/dillonzq/LoveIt#readme"
}