mirror of
https://github.com/mryanb/obsidian-asana.git
synced 2026-07-22 05:38:24 +00:00
- Add Jest configuration and TypeScript support - Create tests for main plugin functionality (initialization, settings) - Add tests for Asana API integration (workspaces, projects, tasks) - Set up mock files for Obsidian API and test environment - Add test scripts to package.json This commit sets up a basic test infrastructure to ensure the plugin's core functionality works as expected and to catch potential regressions in future changes.
24 lines
667 B
JSON
24 lines
667 B
JSON
{
|
|
"name": "obsidian-asana",
|
|
"version": "0.1.8",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json",
|
|
"test": "jest --config jest.config.js",
|
|
"test:watch": "jest --watch --config jest.config.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "Ryan Bantz",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"builtin-modules": "^4.0.0",
|
|
"esbuild": "0.17.3",
|
|
"jest": "^29.7.0",
|
|
"obsidian": "^1.7.2",
|
|
"ts-jest": "^29.1.1",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^4.0.0"
|
|
}
|
|
}
|