mirror of
https://github.com/foambubble/foam.git
synced 2026-04-24 03:01:01 -04:00
* Added VS Code mock to turn e2e into unit/integration tests * Provide fallback to editor directory when creating new note with relative path * Added `clear` function to `FoamWorkspace` * Fixed tests for dated notes by providing configuration defaults * Using different workspace directory when resetting mock * tweaked test suite configuration to manage vscode mock * Tweaked test scripts to allow running specs in "unit" mode with mock vscode environment * Marked spec files that can be run in unit mode * Added testing documentation * removed --stream flag * updated @types/node to match engine's version * Fixing open-resource tests
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "foam",
|
|
"version": "0.2.0",
|
|
"description": "Foam",
|
|
"repository": "git@github.com:foambubble/foam.git",
|
|
"license": "MIT",
|
|
"private": "true",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"version-extension": "lerna version",
|
|
"package-extension": "yarn workspace foam-vscode package-extension",
|
|
"install-extension": "yarn workspace foam-vscode install-extension",
|
|
"publish-extension": "yarn workspace foam-vscode publish-extension",
|
|
"reset": "yarn && yarn clean && yarn build",
|
|
"clean": "lerna run clean",
|
|
"build": "lerna run build",
|
|
"test": "yarn workspace foam-vscode test",
|
|
"lint": "lerna run lint",
|
|
"watch": "lerna run watch --concurrency 20"
|
|
},
|
|
"devDependencies": {
|
|
"all-contributors-cli": "^6.16.1",
|
|
"lerna": "^6.4.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "yarn lint"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"arrowParens": "avoid",
|
|
"printWidth": 80,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"trailingComma": "es5"
|
|
},
|
|
"dependencies": {}
|
|
}
|