Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "hooks-date", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"packageManager": "pnpm@6.32.3", | ||
@@ -40,14 +40,2 @@ "description": "", | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "rimraf dist && unbuild", | ||
"dev": "unbuild --stub", | ||
"docs": "vitepress dev src --open", | ||
"lint": "eslint src", | ||
"fix": "eslint src --fix", | ||
"prepublishOnly": "nr build", | ||
"release": "bumpp --commit --push --tag && pnpm publish", | ||
"start": "esno src/index.ts", | ||
"test": "vitest", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
@@ -60,2 +48,3 @@ "vue": "^3.2.33" | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/lodash": "^4.14.182", | ||
"@types/node": "^17.0.23", | ||
@@ -72,2 +61,3 @@ "@vue/test-utils": "^2.0.0-rc.18", | ||
"jsdom": "^19.0.0", | ||
"lodash": "^4.17.21", | ||
"pkgroll": "^1.0.4", | ||
@@ -85,3 +75,15 @@ "pnpm": "^6.32.6", | ||
"vitest": "^0.9.3" | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && unbuild", | ||
"dev": "unbuild --stub", | ||
"docs": "vitepress dev src --open", | ||
"lint": "eslint src", | ||
"fix": "eslint src --fix", | ||
"release": "bumpp --commit --push --tag && pnpm publish", | ||
"start": "esno src/index.ts", | ||
"test": "vitest", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"readme": "# hooks-date\n\n[![NPM version](https://img.shields.io/npm/v/hooks-date?color=a1b858&label=)](https://www.npmjs.com/package/hooks-date)\n\n## 📦 Install\n```\nnpm i hooks-date\n```\n## CDN\n```html\n<script src=\"https://unpkg.com/hooks-date\"></script>\n```\n## 🦄 Usage\n\n```ts\nimport { useDate } from 'hooks-date'\nconst date = useDate(new Date())\n```\n\n## 🌸 Inspirations\n\n- [vueuse](https://github.com/vueuse/vueuse)\n- [dayjs](https://github.com/iamkun/dayjs)\n\n## Template License\n\n[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)\n" | ||
} |
@@ -5,4 +5,24 @@ # hooks-date | ||
## 📦 Install | ||
``` | ||
npm i hooks-date | ||
``` | ||
## CDN | ||
```html | ||
<script src="https://unpkg.com/hooks-date"></script> | ||
``` | ||
## 🦄 Usage | ||
```ts | ||
import { useDate } from 'hooks-date' | ||
const date = useDate(new Date()) | ||
``` | ||
## 🌸 Inspirations | ||
- [vueuse](https://github.com/vueuse/vueuse) | ||
- [dayjs](https://github.com/iamkun/dayjs) | ||
## Template License | ||
[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10929
28
28