mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-21 19:42:52 +00:00
Add package.json for Netlify
This commit is contained in:
parent
84e3340ca0
commit
2dd728c9fd
8 changed files with 1536 additions and 12534 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
exampleSite/public
|
||||
node_modules
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
|||
{"Target":"css/main.css","MediaType":"text/css","Data":{}}
|
4
exampleSite/resources/_gen/assets/sass/sass/style.sass_b1195a7e151e6f4379f823b1b2b4f87a.content
generated
Normal file
4
exampleSite/resources/_gen/assets/sass/sass/style.sass_b1195a7e151e6f4379f823b1b2b4f87a.content
generated
Normal file
File diff suppressed because one or more lines are too long
1
exampleSite/resources/_gen/assets/sass/sass/style.sass_b1195a7e151e6f4379f823b1b2b4f87a.json
generated
Normal file
1
exampleSite/resources/_gen/assets/sass/sass/style.sass_b1195a7e151e6f4379f823b1b2b4f87a.json
generated
Normal file
|
@ -0,0 +1 @@
|
|||
{"Target":"css/main.min.98adf0836c888f19dd74251f73e47777cc164d8ad2e574f3cf3ed083d4395e91.css","MediaType":"text/css","Data":{"Integrity":"sha256-mK3wg2yIjxnddCUfc+R3d8wWTYrS5XTzzz7Qg9Q5XpE="}}
|
|
@ -13,7 +13,9 @@
|
|||
publish = "exampleSite/docs/"
|
||||
|
||||
# Default build command.
|
||||
command = "hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/"
|
||||
command = "npm run build"
|
||||
|
||||
[build.environment]
|
||||
HUGO_VERSION = "0.86.0"
|
||||
NODE_VERSION = "16.9.1"
|
||||
NPM_VERSION = "8.3.0"
|
||||
|
|
1519
package-lock.json
generated
Normal file
1519
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
8
package.json
Normal file
8
package.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"scripts": {
|
||||
"build": "npm install -g postcss postcss-cli autoprefixer && cd exampleSite && hugo --gc --minify -t ../.. -d ../docs -v -b https://hugo-introduction.netlify.app/"
|
||||
},
|
||||
"dependencies": {
|
||||
"postcss-cli": "^9.1.0"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue