-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
108 lines (108 loc) · 3.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "jest-environment-obsidian",
"version": "0.0.1",
"description": "A Jest environment to facilitate unit testing for Obsidian plugins.",
"scripts": {
"test": "node ./scripts/test.mjs",
"typecheck": "tsc -p . --noEmit",
"build": "ts-node-esm ./scripts/build.ts",
"format": "prettier -w -- \"src/**/*.{ts,tsx}\" \"validation/src/**/*.ts\" \".github/**/*.yml\"",
"commit": "cz"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"type": "commonjs",
"exports": {
".": {
"typescript": "./src/setup/jest-environment.ts",
"types": "./dist/jest-environment.d.ts",
"require": "./dist/jest-environment.js"
},
"./resolver": {
"typescript": "./src/setup/jest-resolver.ts",
"types": "./dist/jest-resolver.d.ts",
"require": "./dist/jest-resolver.js"
},
"./jest-preset": {
"typescript": "./src/setup/jest-preset.ts",
"types": "./dist/jest-preset.d.ts",
"require": "./dist/jest-preset.js"
},
"./test-runtime/setup": {
"typescript": "./src/runtime/setup.ts",
"require": "./dist/runtime/setup.js"
},
"./test-runtime/extensions": {
"typescript": "./src/runtime/extensions.ts",
"require": "./dist/runtime/extensions.js"
},
"./test-runtime/modules/obsidian": {
"typescript": "./src/runtime/obsidian/module.ts",
"require": "./dist/runtime/obsidian.js"
}
},
"imports": {
"#testutil/jsx/jsx-runtime": "./testutil/jsx-runtime.ts",
"#testutil/*": "./testutil/*",
"#meta-test/validation": "./src/setup/jest-environment.ts",
"#meta-test/internal": "./src/setup/jest-environment.ts",
"#runtime": {
"typescript": "./src/runtime/util.ts",
"require": "./dist/src/runtime/util.js"
},
"#util": {
"typescript": "./src/util.ts",
"require": "./dist/src/util.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/obsidian-community/jest-environment-obsidian.git"
},
"author": {
"email": "[email protected]",
"name": "eth-p",
"url": "https://eth-p.dev/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/obsidian-community/jest-environment-obsidian/issues"
},
"homepage": "https://github.com/obsidian-community/jest-environment-obsidian#readme",
"keywords": [
"obsidian",
"obsidian.md",
"jest-environment",
"jest"
],
"devDependencies": {
"@babel/plugin-transform-react-jsx": "^7.21.0",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@commitlint/cz-commitlint": "^17.5.0",
"@swc/core": "^1.3.44",
"@trivago/prettier-plugin-sort-imports": "^4.0.0",
"@types/jest": "^29.5.0",
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
"builtin-modules": "^3.3.0",
"esbuild": "^0.17.16",
"esbuild-plugin-dts-bundle-generator": "^1.0.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"obsidian": "obsidianmd/obsidian-api#master",
"prettier": "^2.8.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"peerDependencies": {
"jest": ">29.0.0"
},
"dependencies": {
"jest-environment-jsdom": "^29.5.0"
}
}