mirror of
https://github.com/jacobtread/obsidian-timekeep.git
synced 2026-07-22 10:10:27 +00:00
Properly handle unmount for react component using mutation observer Use React.createElement to remove .tsx requirement in main.ts
39 lines
No EOL
1.2 KiB
JSON
39 lines
No EOL
1.2 KiB
JSON
{
|
|
"name": "obsidian-timekeep",
|
|
"version": "1.0.2",
|
|
"description": "Obsidian plugin for time tracking",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "obsidian-plugin dev --esbuild-config=esbuild.config.js --vault-path=test-vault --with-stylesheet src/styles.css src/main.ts",
|
|
"build": "obsidian-plugin build --esbuild-config=esbuild.config.js --with-stylesheet src/styles.css src/main.ts",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json",
|
|
"lint": "eslint src",
|
|
"format": "prettier -w src"
|
|
},
|
|
"keywords": [],
|
|
"author": "Jacobtread",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.6",
|
|
"@types/react": "^18.2.66",
|
|
"@types/react-dom": "^18.2.22",
|
|
"@typescript-eslint/eslint-plugin": "5.29.0",
|
|
"@typescript-eslint/parser": "5.29.0",
|
|
"builtin-modules": "3.3.0",
|
|
"esbuild": "^0.20.2",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"obsidian": "latest",
|
|
"obsidian-plugin-cli": "^0.9.0",
|
|
"prettier": "^3.2.5",
|
|
"tslib": "2.4.0",
|
|
"typescript": "4.7.4"
|
|
},
|
|
"dependencies": {
|
|
"@react-pdf/renderer": "^3.4.0",
|
|
"lucide-react": "^0.358.0",
|
|
"react": "^18.2.0",
|
|
"react-datetime-picker": "^5.6.0",
|
|
"react-dom": "^18.2.0",
|
|
"zod": "^3.22.4"
|
|
}
|
|
} |