Introduction of npm toolchain including prettier, eslint and parcel.
Showing
- .eslintrc.json 14 additions, 0 deletions.eslintrc.json
- .prettierrc.json 3 additions, 0 deletions.prettierrc.json
- config.js 9 additions, 9 deletionsconfig.js
- display/graph.js 108 additions, 61 deletionsdisplay/graph.js
- display/helpers.js 6 additions, 6 deletionsdisplay/helpers.js
- display/infooverlay.js 62 additions, 60 deletionsdisplay/infooverlay.js
- display/linkoverlay.js 25 additions, 14 deletionsdisplay/linkoverlay.js
- index.js 3 additions, 0 deletionsindex.js
- kg-style.css 12 additions, 14 deletionskg-style.css
- knowledge-space.php 14 additions, 27 deletionsknowledge-space.php
- package.json 44 additions, 0 deletionspackage.json
.eslintrc.json
0 → 100644
.prettierrc.json
0 → 100644
index.js
0 → 100644
package.json
0 → 100644
{ | ||
"name": "knowledge-space", | ||
"version": "1.0.0", | ||
"description": "A Wordpress-Plugin to display knowledge in a graph-structured way.", | ||
"main": "index.js", | ||
"debug": "build/debug/graph.js", | ||
"release": "build/debug/graph.js", | ||
"targets": { | ||
"main": false, | ||
"debug": { | ||
"distDir": "build/debug/" | ||
}, | ||
"release": { | ||
"distDir": "build/release/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"watch": "parcel watch index.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://gitlab.ibr.cs.tu-bs.de/alg/knowledge-space-wp-plugin.git" | ||
}, | ||
"keywords": [ | ||
"Knowledge", | ||
"Graph", | ||
"Wordpress", | ||
"Plugin" | ||
], | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"@babel/core": "^7.14.8", | ||
"@babel/eslint-parser": "^7.14.9", | ||
"eslint": "^7.32.0", | ||
"parcel": "^2.0.0-rc.0", | ||
"prettier": "^2.3.2" | ||
}, | ||
"dependencies": { | ||
"3d-force-graph": "^1.70.5", | ||
"three": "^0.131.2" | ||
} | ||
} |
Please register or sign in to comment