UNPKG

2.2 kBJSONView Raw
1{
2 "name": "mind-elixir",
3 "version": "3.0.0",
4 "type": "module",
5 "description": "Mind elixir is a free open source mind map core.",
6 "keywords": [
7 "mind-elixir",
8 "mindmap",
9 "dom",
10 "visualization"
11 ],
12 "scripts": {
13 "prepare": "husky install",
14 "lint": "eslint --cache --max-warnings 0 \"src/**/*.{js,json,ts}\" --fix",
15 "dev": "vite",
16 "build": "node build.js && tsc",
17 "preview": "vite preview",
18 "test": "jest --runInBand",
19 "doc": "tsc && api-extractor run --local --verbose",
20 "beta": "npm run build && npm publish --tag beta"
21 },
22 "exports": {
23 ".": {
24 "types": "./dist/types/index.d.ts",
25 "import": "./dist/MindElixir.js",
26 "require": "./dist/MindElixir.js"
27 },
28 "./example": {
29 "types": "./dist/types/exampleData/1.d.ts",
30 "import": "./dist/example.js",
31 "require": "./dist/example.js"
32 },
33 "./readme.md": "./readme.md",
34 "./package.json": "./package.json"
35 },
36 "typesVersions": {
37 "*": {
38 "example": [
39 "./dist/types/exampleData/1.d.ts"
40 ]
41 }
42 },
43 "main": "dist/MindElixir.js",
44 "types": "dist/types/index.d.ts",
45 "lint-staged": {
46 "src/**/*.{ts,js}": [
47 "eslint --cache --fix"
48 ],
49 "src/**/*.{json,less}": [
50 "prettier --write"
51 ]
52 },
53 "files": [
54 "package.json",
55 "dist"
56 ],
57 "repository": {
58 "type": "git",
59 "url": "https://github.com/ssshooter/mind-elixir-core"
60 },
61 "homepage": "https://mind-elixir.com/",
62 "author": "ssshooter",
63 "license": "MIT",
64 "devDependencies": {
65 "@commitlint/cli": "^17.6.7",
66 "@commitlint/config-conventional": "^17.6.7",
67 "@microsoft/api-extractor": "^7.36.4",
68 "@typescript-eslint/eslint-plugin": "^5.62.0",
69 "@typescript-eslint/parser": "^5.62.0",
70 "eslint": "^8.46.0",
71 "eslint-config-prettier": "^8.10.0",
72 "eslint-plugin-prettier": "^4.2.1",
73 "husky": "^8.0.3",
74 "less": "^4.1.3",
75 "less-loader": "^10.2.0",
76 "lint-staged": "^13.2.3",
77 "prettier": "2.8.4",
78 "typescript": "^5.1.6",
79 "vite": "^4.4.8",
80 "vite-plugin-css-injected-by-js": "^3.2.1"
81 }
82}
\No newline at end of file