Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
onhate committed Mar 1, 2024
1 parent a3e8bf6 commit 36c52bd
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,6 @@ dist
.yarn/install-state.gz
.pnp.*

.idea
.idea
*.d.ts
*.d.ts.map
22 changes: 19 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 15 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
{
"name": "datelative",
"version": "0.0.2",
"version": "0.0.3",
"description": "A library that converts relative string text to JavaScript dates",
"main": "index.js",
"types": "index.d.ts",
"type": "module",
"scripts": {
"test": "node --test",
"test:watch": "node --test --watch"
"test:watch": "node --test --watch",
"prepublishOnly": "npx tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/onhate/datelative.git"
},
"files": [
"index.js",
"index.d.ts",
"index.d.ts.map",
"README.md",
"package.json"
],
"keywords": [
"date",
"relative",
Expand All @@ -23,5 +32,7 @@
"url": "https://github.com/onhate/datelative/issues"
},
"homepage": "https://github.com/onhate/datelative#readme",
"dependencies": {}
}
"devDependencies": {
"typescript": "^5.3.3"
}
}
11 changes: 11 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"include": [
"index.js"
],
"compilerOptions": {
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true
}
}

0 comments on commit 36c52bd

Please sign in to comment.