forked from tanainc/tana-import-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
86 lines (86 loc) · 2.28 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "tana-import-tools",
"version": "1.0.0",
"main": "dist/index.js",
"type": "module",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"license": "MIT",
"scripts": {
"dev": "vite",
"ci": "yarn lint && yarn test",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint --ext .ts src/",
"prepare": "rm -rf dist/ && ./node_modules/.bin/tsc --project tsconfig.build.json",
"build": "yarn prepare",
"convert:roam": "yarn build && node --experimental-modules --es-module-specifier-resolution=node dist/runner.js roam",
"convert:workflowy": "yarn build && node --experimental-modules --es-module-specifier-resolution=node dist/runner.js workflowy",
"convert:obsidian": "yarn build && node --experimental-modules --es-module-specifier-resolution=node dist/runner.js obsidian",
"zip": "cd ./src/converters/obsidian/tests/fixtures/ && zip -r vault.zip vault && cd -",
"test": "vitest",
"deploy": "vite build && rm -rfv ./docs/* && mv ./dist/* ./docs/"
},
"devDependencies": {
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@types/node": "^18.8.3",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "^8.21.0",
"prettier": "^2.7.1",
"typescript": "^4.7.4",
"vite": "^3.1.8",
"vitest": "^0.24.3"
},
"dependencies": {
"@zip.js/zip.js": "^2.6.43",
"moment": "^2.29.4",
"opml": "^0.4.24"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [],
"rules": {
"curly": [
"error",
"all"
],
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"error"
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
]
},
"overrides": [
{
"files": [
"**/*.test.ts"
],
"rules": {
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/no-non-null-assertion": "off"
}
}
]
},
"jest": {
"testMatch": [
"**/?(*.)+(test).[t]s?(x)"
]
},
"engines": {
"node": ">=18.3.0"
}
}