jqtree 1.8.1 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/package.json +20 -19
- package/src/dragAndDropHandler/generateHitAreas.ts +56 -41
- package/src/nodeElement/ghostDropHint.ts +3 -37
- package/src/nodeElement/index.ts +1 -1
- package/src/saveStateHandler.ts +43 -59
- package/src/version.ts +1 -1
- package/tree.jquery.debug.js +77 -104
- package/tree.jquery.debug.js.map +1 -1
- package/tree.jquery.js +2 -2
- package/tree.jquery.js.map +1 -1
- package/.editorconfig +0 -12
- package/.eslintrc +0 -48
- package/.github/workflows/ci.yml +0 -68
- package/.github/workflows/codeql-analysis.yml +0 -32
- package/.github/workflows/size.yml +0 -24
- package/.github/workflows/static.yml +0 -57
- package/.prettier +0 -3
- package/config/.postcssrc +0 -6
- package/config/babel.config.json +0 -11
- package/config/babel.coverage.config.json +0 -4
- package/config/jest.config.js +0 -24
- package/config/jest.polyfills.js +0 -14
- package/config/playwright.config.js +0 -18
- package/config/production +0 -6
- package/config/rollup.config.mjs +0 -71
- package/css/jqtree.postcss +0 -193
- package/devserver/devserver.js +0 -7
- package/devserver/devserver_scroll.js +0 -8
- package/devserver/index.html +0 -22
- package/devserver/test_index.html +0 -22
- package/devserver/test_scroll.html +0 -28
- package/devserver/test_scroll_container.html +0 -39
- package/docs/.ruby-version +0 -1
- package/docs/Gemfile +0 -5
- package/docs/Gemfile.lock +0 -82
- package/docs/_config.yml +0 -126
- package/docs/_entries/events/index.md +0 -6
- package/docs/_entries/events/tree-click.md +0 -37
- package/docs/_entries/events/tree-close.md +0 -15
- package/docs/_entries/events/tree-contextmenu.md +0 -21
- package/docs/_entries/events/tree-dblclick.md +0 -19
- package/docs/_entries/events/tree-init.md +0 -15
- package/docs/_entries/events/tree-load-data.md +0 -15
- package/docs/_entries/events/tree-loading-data.md +0 -27
- package/docs/_entries/events/tree-move.md +0 -73
- package/docs/_entries/events/tree-open.md +0 -15
- package/docs/_entries/events/tree-refresh.md +0 -12
- package/docs/_entries/events/tree-select.md +0 -28
- package/docs/_entries/functions/addnodeafter.md +0 -20
- package/docs/_entries/functions/addnodebefore.md +0 -8
- package/docs/_entries/functions/addparentnode.md +0 -20
- package/docs/_entries/functions/appendnode.md +0 -50
- package/docs/_entries/functions/closenode.md +0 -23
- package/docs/_entries/functions/destroy.md +0 -12
- package/docs/_entries/functions/getnodebycallback.md +0 -24
- package/docs/_entries/functions/getnodebyhtmlelement.md +0 -29
- package/docs/_entries/functions/getnodebyid.md +0 -21
- package/docs/_entries/functions/getselectednode.md +0 -10
- package/docs/_entries/functions/getstate.md +0 -19
- package/docs/_entries/functions/gettree.md +0 -12
- package/docs/_entries/functions/index.md +0 -6
- package/docs/_entries/functions/is-node-selected.md +0 -11
- package/docs/_entries/functions/isdragging.md +0 -12
- package/docs/_entries/functions/loaddata.md +0 -46
- package/docs/_entries/functions/loaddatafromurl.md +0 -55
- package/docs/_entries/functions/movedown.md +0 -8
- package/docs/_entries/functions/movenode.md +0 -15
- package/docs/_entries/functions/moveup.md +0 -8
- package/docs/_entries/functions/opennode.md +0 -44
- package/docs/_entries/functions/prependnode.md +0 -21
- package/docs/_entries/functions/refresh.md +0 -12
- package/docs/_entries/functions/reload.md +0 -22
- package/docs/_entries/functions/removenode.md +0 -12
- package/docs/_entries/functions/scrolltonode.md +0 -13
- package/docs/_entries/functions/selectnode.md +0 -45
- package/docs/_entries/functions/setoption.md +0 -12
- package/docs/_entries/functions/setstate.md +0 -8
- package/docs/_entries/functions/toggle.md +0 -25
- package/docs/_entries/functions/tojson.md +0 -13
- package/docs/_entries/functions/updatenode.md +0 -50
- package/docs/_entries/general/changelog.md +0 -430
- package/docs/_entries/general/demo.html +0 -28
- package/docs/_entries/general/downloads.md +0 -9
- package/docs/_entries/general/examples.md +0 -8
- package/docs/_entries/general/features.md +0 -15
- package/docs/_entries/general/index.md +0 -7
- package/docs/_entries/general/introduction.md +0 -9
- package/docs/_entries/general/requirements.md +0 -6
- package/docs/_entries/general/tutorial.md +0 -71
- package/docs/_entries/general/usecases.md +0 -15
- package/docs/_entries/multiple_selection/add-to-selection.md +0 -21
- package/docs/_entries/multiple_selection/get-selected-nodes.md +0 -10
- package/docs/_entries/multiple_selection/index.md +0 -9
- package/docs/_entries/multiple_selection/remove-from-selection.md +0 -11
- package/docs/_entries/node/children.md +0 -12
- package/docs/_entries/node/getdata.md +0 -17
- package/docs/_entries/node/getlevel.md +0 -13
- package/docs/_entries/node/getnextnode.md +0 -12
- package/docs/_entries/node/getnextsibling.md +0 -10
- package/docs/_entries/node/getnextvisiblenode.md +0 -15
- package/docs/_entries/node/getpreviousnode.md +0 -12
- package/docs/_entries/node/getprevioussibling.md +0 -10
- package/docs/_entries/node/getpreviousvisiblenode.md +0 -15
- package/docs/_entries/node/index.md +0 -13
- package/docs/_entries/node/parent.md +0 -10
- package/docs/_entries/options/animationspeed.md +0 -7
- package/docs/_entries/options/autoescape.md +0 -6
- package/docs/_entries/options/autoopen.md +0 -28
- package/docs/_entries/options/buttonleft.md +0 -12
- package/docs/_entries/options/closedicon.md +0 -26
- package/docs/_entries/options/data-url.md +0 -45
- package/docs/_entries/options/data.md +0 -46
- package/docs/_entries/options/datafilter.md +0 -17
- package/docs/_entries/options/draganddrop.md +0 -18
- package/docs/_entries/options/index.md +0 -6
- package/docs/_entries/options/keyboardsupport.md +0 -14
- package/docs/_entries/options/oncanmove.md +0 -22
- package/docs/_entries/options/oncanmoveto.md +0 -22
- package/docs/_entries/options/oncanselectnode.md +0 -26
- package/docs/_entries/options/oncreateli.md +0 -22
- package/docs/_entries/options/ondragmove.md +0 -20
- package/docs/_entries/options/ondragstop.md +0 -20
- package/docs/_entries/options/onismovehandle.md +0 -17
- package/docs/_entries/options/onloadfailed.md +0 -15
- package/docs/_entries/options/onloading.md +0 -22
- package/docs/_entries/options/openedicon.md +0 -26
- package/docs/_entries/options/openfolderdelay.md +0 -15
- package/docs/_entries/options/rtl.md +0 -18
- package/docs/_entries/options/savestate.md +0 -39
- package/docs/_entries/options/selectable.md +0 -18
- package/docs/_entries/options/showemptyfolder.md +0 -26
- package/docs/_entries/options/slide.md +0 -12
- package/docs/_entries/options/start_dnd_delay.md +0 -13
- package/docs/_entries/options/tabindex.md +0 -14
- package/docs/_entries/options/usecontextmenu.md +0 -14
- package/docs/_examples/01_load_json_data.html +0 -45
- package/docs/_examples/02_load_json_data_from_server.html +0 -29
- package/docs/_examples/03_drag_and_drop.html +0 -42
- package/docs/_examples/04_save_state.html +0 -46
- package/docs/_examples/05_load_on_demand.html +0 -68
- package/docs/_examples/06_autoescape.html +0 -45
- package/docs/_examples/07_autoscroll.html +0 -42
- package/docs/_examples/08_multiple_select.html +0 -60
- package/docs/_examples/09_custom_html.html +0 -61
- package/docs/_examples/10_icon_buttons.html +0 -26
- package/docs/_examples/11_right-to-left.html +0 -25
- package/docs/_examples/12_button_on_right.html +0 -26
- package/docs/_examples/13_drag_outside.html +0 -48
- package/docs/_examples/14_filter.html +0 -111
- package/docs/_layouts/example.html +0 -7
- package/docs/_layouts/page.html +0 -26
- package/docs/documentation.css +0 -3
- package/docs/index.html +0 -65
- package/docs/package.json +0 -22
- package/docs/pnpm-lock.yaml +0 -892
- package/docs/postcss.config.js +0 -7
- package/docs/static/bower.json +0 -8
- package/docs/static/bower_components/fontawesome/css/all.min.css +0 -9
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
- package/docs/static/bower_components/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
- package/docs/static/bower_components/jquery/dist/jquery.js +0 -10704
- package/docs/static/bower_components/jquery/dist/jquery.min.js +0 -2
- package/docs/static/bower_components/jquery-mockjax/dist/jquery.mockjax.js +0 -1061
- package/docs/static/documentation.js +0 -26
- package/docs/static/example.postcss +0 -68
- package/docs/static/example_data.js +0 -122
- package/docs/static/examples/autoescape.js +0 -17
- package/docs/static/examples/autoscroll.js +0 -6
- package/docs/static/examples/button-on-right.js +0 -13
- package/docs/static/examples/custom_html.js +0 -27
- package/docs/static/examples/drag-outside.js +0 -37
- package/docs/static/examples/drag_and_drop.js +0 -13
- package/docs/static/examples/filter.js +0 -63
- package/docs/static/examples/icon_buttons.js +0 -12
- package/docs/static/examples/load_json_data.js +0 -16
- package/docs/static/examples/load_json_data_from_server.js +0 -9
- package/docs/static/examples/load_on_demand.js +0 -19
- package/docs/static/examples/multiple_select.js +0 -23
- package/docs/static/examples/right-to-left.js +0 -11
- package/docs/static/examples/save_state.js +0 -11
- package/docs/static/monokai.css +0 -70
- package/docs/static/spinner.gif +0 -0
- package/docs/tailwind.config.js +0 -16
- package/sitemap.txt +0 -14
- package/src/playwright/.eslintrc +0 -5
- package/src/playwright/coverage.ts +0 -38
- package/src/playwright/playwright.test.ts +0 -401
- package/src/playwright/playwright.test.ts-snapshots/with-dragAndDrop-moves-a-node-1-Chromium-darwin.png +0 -0
- package/src/playwright/playwright.test.ts-snapshots/with-dragAndDrop-moves-a-node-1-Chromium-linux.png +0 -0
- package/src/playwright/playwright.test.ts-snapshots/without-dragAndDrop-displays-a-tree-1-Chromium-darwin.png +0 -0
- package/src/playwright/playwright.test.ts-snapshots/without-dragAndDrop-displays-a-tree-1-Chromium-linux.png +0 -0
- package/src/playwright/playwright.test.ts-snapshots/without-dragAndDrop-selects-a-node-1-Chromium-darwin.png +0 -0
- package/src/playwright/playwright.test.ts-snapshots/without-dragAndDrop-selects-a-node-1-Chromium-linux.png +0 -0
- package/src/playwright/testUtils.ts +0 -153
- package/src/test/.eslintrc +0 -17
- package/src/test/global.d.ts +0 -1
- package/src/test/jqTree/accessibility.test.ts +0 -25
- package/src/test/jqTree/create.test.ts +0 -54
- package/src/test/jqTree/events.test.ts +0 -290
- package/src/test/jqTree/keyboard.test.ts +0 -247
- package/src/test/jqTree/loadOnDemand.test.ts +0 -198
- package/src/test/jqTree/methods.test.ts +0 -1491
- package/src/test/jqTree/mouse.test.ts +0 -82
- package/src/test/jqTree/options.test.ts +0 -595
- package/src/test/node.test.ts +0 -1396
- package/src/test/nodeUtils.test.ts +0 -21
- package/src/test/position.test.ts +0 -30
- package/src/test/support/exampleData.ts +0 -23
- package/src/test/support/jqTreeMatchers.ts +0 -68
- package/src/test/support/matchers.d.ts +0 -31
- package/src/test/support/setupTests.ts +0 -5
- package/src/test/support/testUtil.ts +0 -30
- package/src/test/support/treeStructure.ts +0 -39
- package/src/test/util.test.ts +0 -27
- package/tsconfig.json +0 -24
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Filter
|
|
3
|
-
js: examples/filter.js
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<p class="flex justify-between">
|
|
7
|
-
<a href="../13_drag_outside/">« Example 13</a>
|
|
8
|
-
</p>
|
|
9
|
-
|
|
10
|
-
<h1>Example 14 - filter</h1>
|
|
11
|
-
|
|
12
|
-
<div class="pb-6">
|
|
13
|
-
<input id="search-term" class="shadow-sm border px-4 py-1 focus:ring-indigo-500 focus:border-indigo-500 border-gray-300 rounded-md mr-4" autofocus></input>
|
|
14
|
-
<button id="search" class="bg-white py-2 px-4 border border-gray-300 rounded-md shadow-sm text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">Search</button>
|
|
15
|
-
</div>
|
|
16
|
-
<div id="tree1" class="not-prose"></div>
|
|
17
|
-
|
|
18
|
-
<h3>javascript</h3>
|
|
19
|
-
|
|
20
|
-
{% highlight js %}
|
|
21
|
-
const $tree = $("#tree1");
|
|
22
|
-
|
|
23
|
-
let foundMatch = false;
|
|
24
|
-
|
|
25
|
-
$tree.tree({
|
|
26
|
-
autoOpen: false,
|
|
27
|
-
data: ExampleData.exampleData,
|
|
28
|
-
useContextMenu: false,
|
|
29
|
-
onCreateLi: (node, $el) => {
|
|
30
|
-
if (foundMatch && !node.openForMatch && !node.parent.matches) {
|
|
31
|
-
$el.addClass("hidden-node");
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
if (node.matches) {
|
|
35
|
-
$el.addClass("highlight-node");
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
$("#search").on("click", () => {
|
|
41
|
-
const searchTerm = $("#search-term").val().toLowerCase();
|
|
42
|
-
const tree = $tree.tree("getTree");
|
|
43
|
-
|
|
44
|
-
if (!searchTerm) {
|
|
45
|
-
foundMatch = false;
|
|
46
|
-
|
|
47
|
-
tree.iterate((node) => {
|
|
48
|
-
node['openForMatch'] = false;
|
|
49
|
-
node["matches"] = false;
|
|
50
|
-
return true;
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
$tree.tree("refresh");
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
foundMatch = false;
|
|
58
|
-
|
|
59
|
-
tree.iterate((node) => {
|
|
60
|
-
const matches = node.name.toLowerCase().includes(searchTerm);
|
|
61
|
-
node["openForMatch"] = matches;
|
|
62
|
-
node["matches"] = matches;
|
|
63
|
-
|
|
64
|
-
if (matches) {
|
|
65
|
-
foundMatch = true;
|
|
66
|
-
|
|
67
|
-
if (node.isFolder()) {
|
|
68
|
-
node.is_open = true;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
let parent = node.parent;
|
|
72
|
-
while (parent) {
|
|
73
|
-
parent["openForMatch"] = true;
|
|
74
|
-
parent.is_open = true;
|
|
75
|
-
parent = parent.parent;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
return true;
|
|
80
|
-
});
|
|
81
|
-
|
|
82
|
-
$tree.tree("refresh");
|
|
83
|
-
});
|
|
84
|
-
{% endhighlight %}
|
|
85
|
-
|
|
86
|
-
<h3>html</h3>
|
|
87
|
-
|
|
88
|
-
{% highlight html %}
|
|
89
|
-
<div">
|
|
90
|
-
<input id="search-term" autofocus></input>
|
|
91
|
-
<button id="search">Search</button>
|
|
92
|
-
</div>
|
|
93
|
-
<div id="tree1"></div>
|
|
94
|
-
{% endhighlight %}
|
|
95
|
-
|
|
96
|
-
<h3>css</h3>
|
|
97
|
-
|
|
98
|
-
{% highlight css %}
|
|
99
|
-
.hidden-node {
|
|
100
|
-
display: none;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.highlight-node > .jqtree-element > .jqtree-title {
|
|
104
|
-
font-weight: bold;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
#search-term {
|
|
108
|
-
margin-bottom: 16px;
|
|
109
|
-
margin-right: 8px;
|
|
110
|
-
}
|
|
111
|
-
{% endhighlight %}
|
package/docs/_layouts/page.html
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
-
<meta name="description" content="JqTree is a jQuery widget for displaying a tree structure in html" />
|
|
8
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/static/monokai.css" />
|
|
9
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/static/bower_components/fontawesome/css/all.min.css" />
|
|
10
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/static/documentation.css" />
|
|
11
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/jqtree.css" />
|
|
12
|
-
<link rel="stylesheet" href="{{ site.baseurl }}/static/example.css" />
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
{{ content }}
|
|
16
|
-
</body>
|
|
17
|
-
|
|
18
|
-
<script src="{{ site.baseurl }}/static/bower_components/jquery/dist/jquery.min.js"></script>
|
|
19
|
-
<script src="{{ site.baseurl }}/tree.jquery.js"></script>
|
|
20
|
-
<script src="{{ site.baseurl }}/static/bower_components/jquery-mockjax/dist/jquery.mockjax.js"></script>
|
|
21
|
-
<script src="{{ site.baseurl }}/static/example_data.js"></script>
|
|
22
|
-
|
|
23
|
-
{% if page.js %}
|
|
24
|
-
<script src="{{ site.baseurl }}/static/{{ page.js }}"></script>
|
|
25
|
-
{% endif %}
|
|
26
|
-
</html>
|
package/docs/documentation.css
DELETED
package/docs/index.html
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: page
|
|
3
|
-
js: documentation.js
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
<div class="mx-auto max-w-8xl">
|
|
7
|
-
<div class="hidden lg:block fixed inset-0 px-8 left-[max(0px,calc(50%-45rem))] right-auto w-[19.5rem] overflow-y-auto">
|
|
8
|
-
<nav>
|
|
9
|
-
<ul>
|
|
10
|
-
{% assign level = 0 %}
|
|
11
|
-
|
|
12
|
-
{% for entry in site.entries %}
|
|
13
|
-
{% if entry.section %}
|
|
14
|
-
{% if level == 1 %}
|
|
15
|
-
</ul>
|
|
16
|
-
</li>
|
|
17
|
-
{% endif %}
|
|
18
|
-
<li class="mt-8">
|
|
19
|
-
<a class="mb-3 block font-semibold text-slate-700 hover:text-slate-900" href="#{{ entry.name }}">{{ entry.title }}</a>
|
|
20
|
-
<ul class="space-y-2 border-l border-slate-100">
|
|
21
|
-
{% assign level = 1 %}
|
|
22
|
-
{% else %}
|
|
23
|
-
<li>
|
|
24
|
-
<a class="block border-l pl-4 border-transparent hover:border-slate-400 text-slate-700 hover:text-slate-900" href="#{{ entry.name }}">{{ entry.title }}</a>
|
|
25
|
-
</li>
|
|
26
|
-
{% endif %}
|
|
27
|
-
{% endfor %}
|
|
28
|
-
|
|
29
|
-
{% if level == 1 %}
|
|
30
|
-
</ul>
|
|
31
|
-
</li>
|
|
32
|
-
{% endif %}
|
|
33
|
-
</ul>
|
|
34
|
-
</nav>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="lg:pl-[19.5rem]">
|
|
37
|
-
<div class="bg-gray-50 text-center pt-16 pb-24 px-8">
|
|
38
|
-
<h1 class="text-gray-900 tracking-tight font-extrabold text-6xl">
|
|
39
|
-
<span class="text-indigo-600">jqTree</span> is a jQuery widget for displaying a tree
|
|
40
|
-
</h1>
|
|
41
|
-
<p class="mt-5 text-xl text-gray-500">
|
|
42
|
-
It supports json data, loading via ajax and drag-and-drop.
|
|
43
|
-
</p>
|
|
44
|
-
<div class="mt-8">
|
|
45
|
-
<a class="rounded-md shadow text-lg text-white px-10 py-4 bg-indigo-600 hover:bg-indigo-700" href="https://github.com/mbraak/jqTree/tarball/master">Download jqTree</a>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="px-8 py-8">
|
|
49
|
-
{% for entry in site.entries %}
|
|
50
|
-
{% if entry.hide_title %}
|
|
51
|
-
<div id="{{ entry.name }}"></div>
|
|
52
|
-
{% elsif entry.section %}
|
|
53
|
-
<h3 class="text-4xl mb-8 font-extrabold text-slate-900 tracking-tight" id="{{ entry.name }}">{{ entry.title }}</h3>
|
|
54
|
-
{% else %}
|
|
55
|
-
<h4 class="text-xl mb-4 font-bold text-slate-900 tracking-tight" id="{{ entry.name }}">{{ entry.title }}</h4>
|
|
56
|
-
{% endif %}
|
|
57
|
-
{% if entry.output.size > 1 %}
|
|
58
|
-
<div class="mb-16 text-slate-700 doc-entry prose">
|
|
59
|
-
{{ entry.output }}
|
|
60
|
-
</div>
|
|
61
|
-
{% endif %}
|
|
62
|
-
{% endfor %}
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
package/docs/package.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "jqtree_documentation",
|
|
3
|
-
"private": true,
|
|
4
|
-
"scripts": {
|
|
5
|
-
"jekyll-build": "bundle exec jekyll build",
|
|
6
|
-
"jekyll-serve": "bundle exec jekyll serve",
|
|
7
|
-
"build_docs_css": "pnpm tailwind && pnpm build_example_css && pnpm copy_static",
|
|
8
|
-
"tailwind": "tailwindcss -i documentation.css -o static/documentation.css",
|
|
9
|
-
"build_example_css": "postcss -o static/example.css static/example.postcss",
|
|
10
|
-
"copy_static": "cp ../tree.jquery.js . && cp ../jqtree.css ."
|
|
11
|
-
},
|
|
12
|
-
"devDependencies": {
|
|
13
|
-
"@tailwindcss/typography": "^0.5.9",
|
|
14
|
-
"autoprefixer": "^10.4.15",
|
|
15
|
-
"postcss": "^8.4.31",
|
|
16
|
-
"postcss-cli": "^10.1.0",
|
|
17
|
-
"postcss-import": "^15.1.0",
|
|
18
|
-
"postcss-load-config": "^4.0.1",
|
|
19
|
-
"postcss-nested": "^6.0.1",
|
|
20
|
-
"tailwindcss": "^3.3.3"
|
|
21
|
-
}
|
|
22
|
-
}
|