Skip to content

Commit

Permalink
feat: update template
Browse files Browse the repository at this point in the history
  • Loading branch information
yakiisama committed Mar 22, 2023
1 parent af34244 commit 286ad22
Show file tree
Hide file tree
Showing 5 changed files with 2,128 additions and 277 deletions.
4 changes: 3 additions & 1 deletion templates/lib/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
dist
dist
coverage
.DS_Store
62 changes: 53 additions & 9 deletions templates/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,62 @@
{
"dependencies": {
"@types/node": "^18.7.18",
"typescript": "^4.8.3"
"name": "lib",
"version": "0.0.0",
"description": "",
"main": "dist/index.js",
"type": "module",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"devDependencies": {
"git-cz": "^4.9.0",
"rollup": "^2.79.0"
"keywords": [],
"files": [
"dist"
],
"repository": {
"type": "",
"url": ""
},
"homepage": "",
"bugs": "",
"scripts": {
"build": "rollup -c",
"prepublish": "npm run test && npm run build",
"build": "tsc",
"test": "c8 ava",
"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"
}
}
},
"devDependencies": {
"@types/node": "^18.15.5",
"ava": "^5.2.0",
"c8": "^7.13.0",
"git-cz": "^4.9.0",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.2"
},
"c8": {
"reporter": [
"text",
"lcov"
]
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm",
"--experimental-specifier-resolution=node"
],
"files": [
"test/**/*.ts"
]
},
"author": "",
"license": "ISC"
}
Loading

0 comments on commit 286ad22

Please sign in to comment.