Skip to content

Commit f02deb7

Browse files
first push
0 parents  commit f02deb7

9 files changed

+7543
-0
lines changed

Diff for: .editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = false
9+
insert_final_newline = false

Diff for: .gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto

Diff for: .gitignore

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
8+
# dependencies
9+
/node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# Parcel
21+
.cache/*
22+
/lib
23+
24+
# IDE - VSCode
25+
.vscode/*
26+
!.vscode/settings.json
27+
!.vscode/tasks.json
28+
!.vscode/launch.json
29+
!.vscode/extensions.json
30+
31+
# misc
32+
/.sass-cache
33+
/connect.lock
34+
/coverage
35+
/libpeerconnection.log
36+
npm-debug.log
37+
testem.log
38+
/typings
39+
40+
# e2e
41+
/e2e/*.js
42+
/e2e/*.map
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db

Diff for: README.md

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# parcel-typescript-threejs
2+
Example App using Three.js and Typescript bundled with parcel 🚀🔥.
3+
4+
### Highlights
5+
- ⚡️ Super fast start
6+
- 🔥 Hot module replacement.
7+
- 📝 Typescript.
8+
9+
### Quick start
10+
**Node version >= 8.0 (recommended 10.6.0) and NPM >= 5 (recommended 6.1.0)**
11+
12+
```bash
13+
# clone the repo.
14+
# --depth 1 removes all but one .git commit history (Optional).
15+
git clone --depth 1 https://github.com/adrianrey05/parcel-typescript-threejs.git
16+
17+
# go to the repo
18+
cd parcel-typescript-threejs
19+
20+
# install the dependencies via npm
21+
npm install
22+
23+
# start the server in dev mode with HMR
24+
npm run start
25+
```
26+
go to [http://localhost:1234](http://localhost:1234) in your browser. Done.
27+
28+
### npm scripts
29+
30+
* `npm run start` - runs the compiler and a server at the same time in dev mode with HMR (Hot Module Replacement) 🔥.
31+
* `npm run build` - runs the compiler once and generates a production build.

0 commit comments

Comments
 (0)