Add build script and readme
This commit is contained in:
parent
ba12ef2d12
commit
b5db3d3328
3 changed files with 13 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
dist
|
dist
|
||||||
.cache
|
.cache
|
||||||
|
yarn-error.log
|
9
README.md
Normal file
9
README.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# /tg/ handbook
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
`yarn build`
|
||||||
|
|
||||||
|
## Development
|
||||||
|
|
||||||
|
`yarn && yarn dev`
|
|
@ -4,7 +4,8 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel index.html"
|
"dev": "parcel index.html",
|
||||||
|
"build": "parcel build index.html"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"parcel-bundler": "^1.12.4",
|
"parcel-bundler": "^1.12.4",
|
||||||
|
|
Reference in a new issue