forked from zdong1995/Calmato
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.72 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
43
44
45
46
47
48
49
50
51
{
"name": "calmato-src",
"version": "1.0.0",
"description": "calmato theme source file",
"private": true,
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"babel-preset-minify": "^0.5.1",
"babelify": "^10.0.0",
"browserify": "^16.5.0",
"core-js": "^3.6.4",
"husky": "^4.2.3",
"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/zdong1995/calmato"
},
"keywords": [
"hugo",
"theme"
],
"author": "zdong1995",
"license": "MIT",
"bugs": {
"url": "https://github.com/zdong1995/calmato/issues"
},
"homepage": "https://github.com/zdong1995/calmato#readme"
}