Skip to content

Commit

Permalink
feat: 🎸 add lib template
Browse files Browse the repository at this point in the history
  • Loading branch information
yakiisama committed Mar 19, 2023
1 parent ca14d88 commit 18c5712
Show file tree
Hide file tree
Showing 7 changed files with 590 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
a cli to initialize project

- [x] React-ts
- [ ] lib
- [x] lib
- [ ] Vue3

# Usage
Expand Down
2 changes: 2 additions & 0 deletions templates/lib/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
17 changes: 17 additions & 0 deletions templates/lib/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80,
"overrides": [
{
"files": ".prettierrc",
"options": { "parser": "json" }
},
{
"files": "document.ejs",
"options": {
"parser": "html"
}
}
]
}
18 changes: 18 additions & 0 deletions templates/lib/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"dependencies": {
"@types/node": "^18.7.18",
"typescript": "^4.8.3"
},
"devDependencies": {
"git-cz": "^4.9.0",
"rollup": "^2.79.0"
},
"scripts": {
"build": "rollup -c",
"prepublishOnly": "npm run build",
"commit": "git-cz",
"release:major": "standard-version --release-as major",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch"
}
}
Loading

0 comments on commit 18c5712

Please sign in to comment.