-
-
Notifications
You must be signed in to change notification settings - Fork 292
/
package.json
92 lines (92 loc) · 2.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "mind-elixir",
"version": "4.3.1",
"type": "module",
"description": "Mind elixir is a free open source mind map core.",
"keywords": [
"mind-elixir",
"mindmap",
"dom",
"visualization"
],
"scripts": {
"prepare": "husky install",
"lint": "eslint --cache --max-warnings 0 \"src/**/*.{js,json,ts}\" --fix",
"dev": "vite",
"build": "node build.js && tsc",
"tsc": "tsc",
"preview": "vite preview",
"test": "playwright test",
"test:ui": "playwright test --ui",
"doc": "api-extractor run --local --verbose",
"doc:md": "api-documenter markdown --input-folder ./api --output-folder ./md",
"beta": "npm run build && npm publish --tag beta"
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/MindElixir.js",
"require": "./dist/MindElixir.js"
},
"./lite": {
"import": "./dist/MindElixirLite.iife.js"
},
"./example": {
"types": "./dist/types/exampleData/1.d.ts",
"import": "./dist/example.js",
"require": "./dist/example.js"
},
"./readme.md": "./readme.md",
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"example": [
"./dist/types/exampleData/1.d.ts"
]
}
},
"main": "dist/MindElixir.js",
"types": "dist/types/index.d.ts",
"lint-staged": {
"src/**/*.{ts,js}": [
"eslint --cache --fix"
],
"src/**/*.{json,less}": [
"prettier --write"
]
},
"files": [
"package.json",
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/ssshooter/mind-elixir-core"
},
"homepage": "https://mind-elixir.com/",
"author": "ssshooter",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@microsoft/api-documenter": "^7.25.21",
"@microsoft/api-extractor": "^7.47.11",
"@playwright/test": "^1.44.1",
"@rollup/plugin-strip": "^3.0.4",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@viselect/vanilla": "^3.5.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"less": "^4.2.0",
"lint-staged": "^13.3.0",
"prettier": "2.8.4",
"typescript": "^5.4.5",
"vite": "^4.5.3",
"vite-plugin-css-injected-by-js": "^3.5.1"
}
}