-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 loc) · 2.88 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "obsidian-update-time",
"description": "Obsidian plugin that updates front matter to include creation and last update times",
"version": "1.0.13",
"license": "MIT",
"author": {
"name": "Sébastien Dubois",
"email": "sebastien@developassion.be",
"url": "https://github.com/dsebastien/obsidian-update-time"
},
"scripts": {
"format": "nx format --all",
"format:all": "npm run format",
"lint": "nx lint plugin",
"build": "npm run build:dev",
"prepare:dist_folder": "npm run tsc && npx rimraf ./dist/apps/plugin && npx mkdirp ./dist/apps/plugin",
"prebuild:dev": "npm run prepare:dist_folder",
"build:dev": "nx build plugin && npm run copy:assets && npm run update:local_plugin",
"update:local_plugin": "npx mkdirp ${OBSIDIAN_VAULT_LOCATION}/.obsidian/plugins/obsidian-update-time && cp -r ./dist/apps/plugin/* ${OBSIDIAN_VAULT_LOCATION}/.obsidian/plugins/obsidian-update-time/ && touch ${OBSIDIAN_VAULT_LOCATION}/.obsidian/plugins/obsidian-update-time/.hotreload",
"prebuild:prod": "npm run prepare:dist_folder",
"build:prod": "nx build plugin --prod && zip -r ./dist/apps/plugin/obsidian-update-time.zip ./dist/apps/plugin/",
"postbuild:prod": "npm run version && npm run copy:assets",
"prepare": "npx husky install",
"copy:assets": "cp -r ./apps/plugin/src/assets/* ./dist/apps/plugin/ && cp ./manifest.json ./dist/apps/plugin/ && cp ./versions.json ./dist/apps/plugin/",
"test": "nx affected:test --all --parallel --maxParallel 10",
"test:watch": "npm run test -- --watch",
"tsc": "tsc --noEmit --project ./apps/plugin/tsconfig.app.json",
"tsc:watch": "npm run tsc -- --watch",
"tscw": "npm run tsc:watch",
"update": "nx migrate latest",
"migrate": "npx nx migrate --run-migrations",
"version": "node ./version-bump.mjs && npm run format && git add manifest.json versions.json",
"watch": "nx watch --projects=plugin -- npm run build:dev"
},
"private": true,
"devDependencies": {
"@nx/esbuild": "18.3.3",
"@nx/eslint": "18.3.3",
"@nx/eslint-plugin": "18.3.3",
"@nx/jest": "18.3.3",
"@nx/js": "18.3.3",
"@nx/node": "18.3.3",
"@nx/workspace": "18.3.3",
"@swc-node/register": "~1.8.0",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@types/jest": "^29.4.0",
"@types/node": "~18.16.9",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"esbuild": "^0.19.2",
"eslint": "~8.57.0",
"eslint-config-prettier": "^9.0.0",
"husky": "9.0.11",
"jest": "^29.4.1",
"jest-environment-node": "^29.4.1",
"lint-staged": "13.1.4",
"nx": "18.3.3",
"prettier": "^2.6.2",
"ts-jest": "^29.1.2",
"ts-node": "10.9.1",
"typescript": "~5.4.5"
},
"dependencies": {
"@popperjs/core": "2.11.8",
"date-fns": "3.6.0",
"immer": "10.0.4",
"obsidian": "1.5.7-1",
"tslib": "2.4.0"
}
}