react-clock
Version:
An analog clock for your React app.
91 lines • 2.35 kB
JSON
{
"name": "react-clock",
"version": "6.0.0",
"description": "An analog clock for your React app.",
"type": "module",
"sideEffects": [
"*.css"
],
"main": "./dist/index.js",
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./*": "./*"
},
"scripts": {
"build": "yarn build-js && yarn copy-styles",
"build-js": "tsc --project tsconfig.build.json",
"clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true })\"",
"copy-styles": "cpy 'src/**/*.css' dist",
"format": "biome format",
"lint": "biome lint",
"prepack": "yarn clean && yarn build",
"test": "yarn lint && yarn tsc && yarn format && yarn unit",
"tsc": "tsc",
"unit": "vitest",
"watch": "yarn build-js --watch & node --eval \"fs.watch('src', () => child_process.exec('yarn copy-styles'))\""
},
"keywords": [
"clock",
"digital clock",
"analog clock",
"time",
"react"
],
"author": {
"name": "Wojciech Maj",
"email": "kontakt@wojtekmaj.pl"
},
"contributors": [
{
"name": "Yin Hengli",
"email": "yinhengliben@gmail.com"
}
],
"license": "MIT",
"dependencies": {
"@wojtekmaj/date-utils": "^2.0.2",
"clsx": "^2.0.0",
"get-user-locale": "^3.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.0",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/node": "*",
"@types/react": "*",
"@types/react-dom": "*",
"cpy-cli": "^5.0.0",
"happy-dom": "^15.10.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.5.2",
"vitest": "^3.0.5"
},
"peerDependencies": {
"@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wojtekmaj/react-clock.git",
"directory": "packages/react-clock"
},
"funding": "https://github.com/wojtekmaj/react-clock?sponsor=1"
}