kmap-term-tree
Version:
Renders a tree from a mathematical term
98 lines (97 loc) • 2.58 kB
JSON
{
"name": "kmap-term-tree",
"version": "0.9.21",
"description": "Renders a tree from a mathematical term",
"license": "MIT",
"author": "Holger Engels",
"repository": {
"type": "git",
"url": "https://github.com/holgerengels/kmap-term-tree.git"
},
"homepage": "https://kmap.eu",
"keywords": [
"kmap",
"knowlede card",
"school",
"math",
"term",
"ast"
],
"type": "module",
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"exports": {
".": "./dist/src/index.js",
"./kmap-term-tree.js": "./dist/src/kmap-term-tree.js"
},
"scripts": {
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
"build": "tsc",
"prepublish": "tsc",
"lint": "eslint --ext .ts,.html . --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint --ext .ts,.html . --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"test": "tsc && wtr --coverage",
"test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
"storybook": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "tsc && build-storybook"
},
"dependencies": {
"lit": "^2.5.0"
},
"devDependencies": {
"@open-wc/eslint-config": "^4.3.0",
"@open-wc/testing": "next",
"@typescript-eslint/eslint-plugin": "^4.29.2",
"@typescript-eslint/parser": "^4.29.2",
"@web/dev-server": "^0.1.29",
"@web/dev-server-storybook": "next",
"@web/test-runner": "next",
"concurrently": "^5.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"prettier": "^2.3.2",
"tslib": "^2.4.1",
"typescript": "~4.9.4"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"@open-wc",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
],
"import/no-unresolved": "off",
"import/extensions": [
"error",
"always",
{
"ignorePackages": true
}
]
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}