mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-16 01:22:02 +02:00
Add FAB-support
This commit is contained in:
parent
4d8052e399
commit
fb00463fb8
4 changed files with 2412 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
||||||
node_modules/
|
node_modules/
|
||||||
.cache/
|
.cache/
|
||||||
public
|
public
|
||||||
|
|
||||||
|
/.fab
|
||||||
|
/fab.zip
|
||||||
|
|
30
fab.config.json5
Normal file
30
fab.config.json5
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
// For more information, see https://fab.dev/kb/configuration
|
||||||
|
{
|
||||||
|
plugins: {
|
||||||
|
'@fab/input-static': {
|
||||||
|
dir: 'public'
|
||||||
|
},
|
||||||
|
'@fab/plugin-render-html': {
|
||||||
|
fallback: false
|
||||||
|
},
|
||||||
|
'@fab/plugin-rewire-assets': {}
|
||||||
|
// This section defines your build & runtime toolchains. See https://fab.dev/kb/plugins
|
||||||
|
},
|
||||||
|
settings: {
|
||||||
|
// This section defines the variables that are injected, depending on environment.
|
||||||
|
// See https://fab.dev/kb/settings for more info.
|
||||||
|
production: {
|
||||||
|
// This environment is special. These variables get compiled into the FAB itself,
|
||||||
|
// allowing for many production-specific optimisations. See https://fab.dev/kb/production
|
||||||
|
// Example setting:
|
||||||
|
// API_URL: 'https://api.example.com/graphql'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
deploy: {
|
||||||
|
// For manual (command-line) deploys, add configuration here.
|
||||||
|
// • See https://fab.dev/guides/deploying for more info.
|
||||||
|
// However, we recommend automatic deploys (triggered by git push)
|
||||||
|
// using a service such as Linc (https://linc.sh)
|
||||||
|
// • See https://fab.dev/kb/automatic-deploys for setup instructions.
|
||||||
|
}
|
||||||
|
}
|
2371
package-lock.json
generated
2371
package-lock.json
generated
File diff suppressed because it is too large
Load diff
11
package.json
11
package.json
|
@ -11,6 +11,9 @@
|
||||||
"develop": "gatsby develop",
|
"develop": "gatsby develop",
|
||||||
"start": "gatsby develop",
|
"start": "gatsby develop",
|
||||||
"build": "gatsby build",
|
"build": "gatsby build",
|
||||||
|
"build:fab": "npm run build && npm run fab:build",
|
||||||
|
"fab:build": "fab build",
|
||||||
|
"fab:serve": "fab serve fab.zip",
|
||||||
"serve": "gatsby serve",
|
"serve": "gatsby serve",
|
||||||
"clean": "gatsby clean"
|
"clean": "gatsby clean"
|
||||||
},
|
},
|
||||||
|
@ -37,5 +40,13 @@
|
||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
"react-helmet": "^6.1.0",
|
"react-helmet": "^6.1.0",
|
||||||
"react-i18next": "^11.8.4"
|
"react-i18next": "^11.8.4"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@fab/actions": "^1.0.0-rc.8.p1",
|
||||||
|
"@fab/cli": "^1.0.0-rc.8",
|
||||||
|
"@fab/input-static": "^1.0.0-rc.8",
|
||||||
|
"@fab/plugin-render-html": "^1.0.0-rc.8",
|
||||||
|
"@fab/plugin-rewire-assets": "^1.0.0-rc.8",
|
||||||
|
"@fab/server": "^1.0.0-rc.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue