Skip to content

Commit

Permalink
chore: copy templates to build
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Mar 6, 2020
1 parent 806b717 commit 10de775
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
21 changes: 0 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of contents

- [Shield](#shield)
- [

Website

|

Guides

|

Contributing

](#website%0A----%0A------%0A----%0A------guides%0A----%0A------%0A----%0A------contributing)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

<div align="center">
<img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1558612869/adonis-readme_zscycu.jpg" width="600px">
</div>
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"clean": "del build",
"compile": "npm run lint && npm run clean && tsc",
"copy:files": "copyfiles \"templates/**/*.txt\" build",
"compile": "npm run lint && npm run clean && tsc && npm run copy:files",
"build": "npm run compile",
"commit": "git-cz"
},
Expand All @@ -45,9 +46,9 @@
"@types/csrf": "^1.3.2",
"@types/node": "^13.7.7",
"commitizen": "^4.0.3",
"copyfiles": "^2.2.0",
"cz-conventional-changelog": "^3.1.0",
"del-cli": "^3.0.0",
"doctoc": "^1.4.0",
"eslint": "^6.8.0",
"eslint-plugin-adonis": "^1.0.8",
"husky": "^4.2.3",
Expand Down Expand Up @@ -81,7 +82,6 @@
},
"husky": {
"hooks": {
"pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md",
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js"
}
},
Expand All @@ -100,5 +100,9 @@
"shield.txt"
]
}
},
"publishConfig": {
"tag": "alpha",
"access": "public"
}
}

0 comments on commit 10de775

Please sign in to comment.