forked from tekacs/tana-import-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.03 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
{
"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": {
"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:logseq": "yarn build && node --experimental-modules --es-module-specifier-resolution=node dist/runner.js logseq",
"test": "jest"
},
"devDependencies": {
"@babel/preset-env": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@jest/globals": "^28.1.2",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "^8.21.0",
"jest": "^28.1.2",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
"dependencies": {
"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)"
]
}
}