Skip to content

Commit

Permalink
basic site
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-yx committed Oct 5, 2019
1 parent 99a3427 commit b4e12ff
Show file tree
Hide file tree
Showing 22 changed files with 1,442 additions and 309 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
/node_modules
__sapper__
.ssg
.backup
.netlify
12 changes: 12 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# this file was scaffolded with `ssg eject`.
# Feel free to modify as you would Sapper boilerplate

[build]
command = "ssg export"
publish = "__sapper__/export"
# functions = "functions" # optional folder for Netlify functions

[dev] # https://github.com/netlify/netlify-dev-plugin#project-detection
command = "yarn ssg dev" # Command to start your dev server
port = 3000 # Port that the dev server will be listening on
publish = "static" # Folder with the static content for _redirect file
37 changes: 5 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,16 @@
{
"scripts": {
"start": "ssg dev --ext '.svexy .svelte'",
"build": "ssg export --build false"
},
"name": "community",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/sveltejs/community.git",
"author": "sw-yx <[email protected]>",
"license": "MIT",
"dependencies": {
"@polka/send": "^0.4.0",
"compression": "^1.7.4",
"highlight.js": "^9.15.10",
"marked": "^0.7.0",
"polka": "^0.5.2",
"prismjs": "^1.17.1",
"sirv": "^0.4.2"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/runtime": "^7.6.0",
"mdsvex": "^0.4.0",
"polka": "^0.5.2",
"rollup": "^1.23.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-svelte": "^5.1.0",
"rollup-plugin-terser": "^5.1.2",
"@sveltejs/site-kit": "^1.1.4",
"svelte": "^3.10.1",
"@ssgjs/sapper": "^0.27.9-fork.0",
"@ssgjs/source-remark": "^0.0.9",
"ssg": "^0.0.22"
"ssg": "^0.0.35"
},
"scripts": {
"start" : "ssg dev",
"build" : "ssg export"
}
}
134 changes: 0 additions & 134 deletions rollup.config.js

This file was deleted.

2 changes: 2 additions & 0 deletions src/client.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// this file was scaffolded with `ssg eject`.
// Feel free to modify as you would Sapper boilerplate
import * as sapper from '@sapper/app'
import '@sveltejs/site-kit/base.css'

Expand Down
110 changes: 110 additions & 0 deletions src/node_modules/components/Event.svelte

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b4e12ff

Please sign in to comment.