Add build script and readme

This commit is contained in:
Hamcha 2020-06-16 18:03:14 +02:00
父節點 ba12ef2d12
當前提交 b5db3d3328
簽署人: hamcha
GPG Key ID: 41467804B19A3315
共有 3 個文件被更改,包括 13 次插入2 次删除

3
.gitignore vendored
查看文件

@ -1,3 +1,4 @@
node_modules
dist
.cache
.cache
yarn-error.log

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",
"license": "MIT",
"scripts": {
"dev": "parcel index.html"
"dev": "parcel index.html",
"build": "parcel build index.html"
},
"devDependencies": {
"parcel-bundler": "^1.12.4",