Initial commit

This commit is contained in:
Ian Hitchman
2022-04-13 12:51:46 +00:00
commit 142cfc116a
17 changed files with 11639 additions and 0 deletions

146
.gitignore vendored Normal file
View File

@@ -0,0 +1,146 @@
Skip to content
Search or jump to…
Pull requests
Issues
Marketplace
Explore
@ianhitchman
ianhitchman
/
boilerplate
Public
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Settings
boilerplate/.gitignore
@ianhitchman
ianhitchman Initial commit
Latest commit c14036b 3 minutes ago
History
1 contributor
104 lines (76 sloc) 1.57 KB
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# Next.js build output
.next
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
© 2022 GitHub, Inc.
Terms
Privacy
Security
Status
Docs
Contact GitHub
Pricing
API
Training
Blog
About
Loading complete

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

BIN
.parcel-cache/data.mdb Normal file

Binary file not shown.

Binary file not shown.

BIN
.parcel-cache/lock.mdb Normal file

Binary file not shown.

1808
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

22
package.json Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "boilerplate",
"description": "",
"source": "src/index.html",
"browserslist": "> 0.5%, last 2 versions, not dead",
"scripts": {
"dev": "parcel",
"build": "parcel build"
},
"author": "Ian Hitchman",
"license": "UNLICENSED",
"devDependencies": {
"@parcel/transformer-sass": "^2.4.1",
"parcel": "^2.4.1"
},
"dependencies": {
"@popperjs/core": "^2.11.5",
"bootstrap": "^5.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.02"
}
}

20
src/index.html Normal file
View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="scss/main.scss" />
<script type="module" src="js/index.js"></script>
</head>
<body class="p-5">
<h1>All done</h1>
<div id="root">
<div class="spinner-grow text-primary" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<button class="btn btn-primary">Clickety click</button>
</body>
</html>

10
src/js/index.js Normal file
View File

@@ -0,0 +1,10 @@
// Import all Bootstrap plugins, or select individually
import * as bootstrap from "bootstrap";
import ReactDOM from "react-dom";
const App = () => {
return <h2>Have a nice day!</h2>;
};
ReactDOM.render(<App />, document.getElementById("root"));

7
src/scss/main.scss Normal file
View File

@@ -0,0 +1,7 @@
@import "../../node_modules/bootstrap/scss/bootstrap";
body {
h1 {
color: $primary;
}
}