1 | {
|
2 | "name": "mind-elixir",
|
3 | "version": "3.0.4",
|
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 | "./lite": {
|
29 | "import": "./dist/MindElixirLite.iife.js"
|
30 | },
|
31 | "./example": {
|
32 | "types": "./dist/types/exampleData/1.d.ts",
|
33 | "import": "./dist/example.js",
|
34 | "require": "./dist/example.js"
|
35 | },
|
36 | "./readme.md": "./readme.md",
|
37 | "./package.json": "./package.json"
|
38 | },
|
39 | "typesVersions": {
|
40 | "*": {
|
41 | "example": [
|
42 | "./dist/types/exampleData/1.d.ts"
|
43 | ]
|
44 | }
|
45 | },
|
46 | "main": "dist/MindElixir.js",
|
47 | "types": "dist/types/index.d.ts",
|
48 | "lint-staged": {
|
49 | "src/**/*.{ts,js}": [
|
50 | "eslint --cache --fix"
|
51 | ],
|
52 | "src/**/*.{json,less}": [
|
53 | "prettier --write"
|
54 | ]
|
55 | },
|
56 | "files": [
|
57 | "package.json",
|
58 | "dist"
|
59 | ],
|
60 | "repository": {
|
61 | "type": "git",
|
62 | "url": "https://github.com/ssshooter/mind-elixir-core"
|
63 | },
|
64 | "homepage": "https://mind-elixir.com/",
|
65 | "author": "ssshooter",
|
66 | "license": "MIT",
|
67 | "devDependencies": {
|
68 | "@commitlint/cli": "^17.6.7",
|
69 | "@commitlint/config-conventional": "^17.6.7",
|
70 | "@microsoft/api-extractor": "^7.36.4",
|
71 | "@typescript-eslint/eslint-plugin": "^5.62.0",
|
72 | "@typescript-eslint/parser": "^5.62.0",
|
73 | "eslint": "^8.46.0",
|
74 | "eslint-config-prettier": "^8.10.0",
|
75 | "eslint-plugin-prettier": "^4.2.1",
|
76 | "husky": "^8.0.3",
|
77 | "less": "^4.1.3",
|
78 | "less-loader": "^10.2.0",
|
79 | "lint-staged": "^13.2.3",
|
80 | "prettier": "2.8.4",
|
81 | "typescript": "^5.1.6",
|
82 | "vite": "^4.4.8",
|
83 | "vite-plugin-css-injected-by-js": "^3.2.1"
|
84 | }
|
85 | } |
\ | No newline at end of file |