mirror of
https://github.com/shabegom/buttons.git
synced 2026-07-22 05:30:25 +00:00
Allow control of button size with the addition of width and height tags. Allow alignment with an align tag. Use left, right, center to control the horizontal alignment and top, bottom, middle vertical alignment. These can be written in either order (ie. 'align top left' is equivalent to 'align left top'). Vertical alignment can only be used when a height is defined.
36 lines
1.1 KiB
JSON
36 lines
1.1 KiB
JSON
{
|
|
"name": "buttons",
|
|
"version": "0.0.1",
|
|
"description": "Buttons for Obsidian",
|
|
"author": "shabegom",
|
|
"main": "main.js",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"lint": "eslint . --ext .ts",
|
|
"dev": "node esbuild.config.mjs",
|
|
"build:nolint": "node esbuild.config.mjs production",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"test": "jest",
|
|
"test:watch": "yarn test -- --watch"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "7.13.10",
|
|
"@codemirror/language": "^6.2.1",
|
|
"@codemirror/state": "^6.1.1",
|
|
"@codemirror/view": "^6.2.0",
|
|
"@popperjs/core": "^2.9.2",
|
|
"math-expression-evaluator": "^1.3.7",
|
|
"tslib": "2.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/math-expression-evaluator": "^1.2.0",
|
|
"@types/node": "14.14.34",
|
|
"@typescript-eslint/eslint-plugin": "4.17.0",
|
|
"@typescript-eslint/parser": "4.17.0",
|
|
"builtin-modules": "^3.2.0",
|
|
"esbuild": "^0.13.12",
|
|
"eslint": "7.22.0",
|
|
"obsidian": "https://github.com/obsidianmd/obsidian-api/tarball/master",
|
|
"typescript": "4.5.5"
|
|
}
|
|
}
|