Removed test folder
This commit is contained in:
parent
053a20bd33
commit
bed9b1bb99
|
@ -1,75 +0,0 @@
|
||||||
{
|
|
||||||
"name": "@mermaid-js/mermaid-mindmap",
|
|
||||||
"version": "9.2.0-rc2",
|
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
|
||||||
"main": "dist/mermaid-mindmap.core.mjs",
|
|
||||||
"module": "dist/mermaid-mindmap.core.mjs",
|
|
||||||
"type": "module",
|
|
||||||
"exports": {
|
|
||||||
".": {
|
|
||||||
"require": "./dist/mermaid-mindmap.min.js",
|
|
||||||
"import": "./dist/mermaid-mindmap.core.mjs"
|
|
||||||
},
|
|
||||||
"./*": "./*"
|
|
||||||
},
|
|
||||||
"keywords": [
|
|
||||||
"diagram",
|
|
||||||
"markdown",
|
|
||||||
"mindmap",
|
|
||||||
"mermaid"
|
|
||||||
],
|
|
||||||
"scripts": {
|
|
||||||
"clean": "rimraf dist",
|
|
||||||
"build:types": "tsc -p ./tsconfig.json --emitDeclarationOnly",
|
|
||||||
"build:watch": "yarn build:code --watch",
|
|
||||||
"build:esbuild": "concurrently \"yarn build:code\" \"yarn build:types\"",
|
|
||||||
"build": "yarn clean; yarn build:esbuild",
|
|
||||||
"dev": "node .esbuild/serve.cjs",
|
|
||||||
"release": "yarn build",
|
|
||||||
"lint": "eslint --cache --ignore-path .gitignore . && yarn lint:jison && prettier --check .",
|
|
||||||
"lint:fix": "eslint --fix --ignore-path .gitignore . && prettier --write .",
|
|
||||||
"lint:jison": "ts-node-esm src/jison/lint.mts",
|
|
||||||
"ci": "vitest run",
|
|
||||||
"test": "yarn lint && vitest run",
|
|
||||||
"test:watch": "vitest --coverage --watch",
|
|
||||||
"todo-prepublishOnly": "yarn build && yarn test",
|
|
||||||
"todo-prepare": "concurrently \"husky install ../../.husky\" \"yarn build\"",
|
|
||||||
"todo-pre-commit": "lint-staged"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/mermaid-js/mermaid"
|
|
||||||
},
|
|
||||||
"author": "Knut Sveidqvist",
|
|
||||||
"license": "MIT",
|
|
||||||
"standard": {
|
|
||||||
"ignore": [
|
|
||||||
"**/parser/*.js",
|
|
||||||
"dist/**/*.js",
|
|
||||||
"cypress/**/*.js"
|
|
||||||
],
|
|
||||||
"globals": [
|
|
||||||
"page"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@braintree/sanitize-url": "^6.0.0",
|
|
||||||
"d3": "^7.0.0",
|
|
||||||
"mermaid": "workspace:*",
|
|
||||||
"non-layered-tidy-tree-layout": "^2.0.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"concurrently": "^7.4.0",
|
|
||||||
"rimraf": "^3.0.2"
|
|
||||||
},
|
|
||||||
"resolutions": {
|
|
||||||
"d3": "^7.0.0"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"dist"
|
|
||||||
],
|
|
||||||
"sideEffects": [
|
|
||||||
"**/*.css",
|
|
||||||
"**/*.scss"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
// import type { DiagramDetector } from '../../diagram-api/detectType';
|
|
||||||
|
|
||||||
// export const mindmapDetector: DiagramDetector = (txt) => {
|
|
||||||
// return txt.match(/^\s*mindmap/) !== null;
|
|
||||||
// };
|
|
||||||
export const mindmapDetector = (txt: string) => {
|
|
||||||
return txt.match(/^\s*mindmap/) !== null;
|
|
||||||
};
|
|
|
@ -1,9 +0,0 @@
|
||||||
{
|
|
||||||
"extends": "../../tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "./src",
|
|
||||||
"outDir": "./dist"
|
|
||||||
},
|
|
||||||
"include": ["./src/**/*.ts"],
|
|
||||||
"typeRoots": ["./src/types"]
|
|
||||||
}
|
|
Loading…
Reference in New Issue