forked from hugo-fixit/FixIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.46 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": "fixit-src",
"version": "0.2.17-RC",
"description": "FixIt theme source files",
"private": true,
"devDependencies": {
"@babel/cli": "^7.18.10",
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.18.10",
"atomic-algolia": "^0.3.19",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"core-js": "^3.25.2",
"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: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",
"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'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hugo-fixit/FixIt.git"
},
"keywords": [
"hugo",
"theme",
"fixit"
],
"author": "Lruihao (https://lruihao.cn)",
"license": "MIT",
"bugs": {
"url": "https://github.com/hugo-fixit/FixIt/issues"
},
"homepage": "https://github.com/hugo-fixit/FixIt#readme"
}