Skip to content

Commit

Permalink
feat: add ignore file and public folder (#18)
Browse files Browse the repository at this point in the history
* 添加 ignore 文件(#15)
* 添加 public 资源文件夹(#17
  • Loading branch information
QC-L authored Jun 4, 2020
1 parent 97674dd commit 7dfe7d9
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 2 deletions.
23 changes: 23 additions & 0 deletions temp/js/template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
2 changes: 1 addition & 1 deletion temp/js/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{#if one}}
"react-dom": "^16.12.0",
{{/if}}
"remax": "^2.0.7"
"remax": "^2.3.0"
},
"devDependencies": {
"cross-env": "^7.0.2"
Expand Down
Binary file added temp/js/template/public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions temp/ts/template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
2 changes: 1 addition & 1 deletion temp/ts/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{#if one}}
"react-dom": "^16.12.0",
{{/if}}
"remax": "^2.0.7"
"remax": "^2.3.0"
},
"devDependencies": {
"cross-env": "^7.0.2",
Expand Down
Binary file added temp/ts/template/public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7dfe7d9

Please sign in to comment.