Skip to content
Snippets Groups Projects
Commit b92c14a1 authored by Matthias Konitzny's avatar Matthias Konitzny :fire:
Browse files

Improved build configuration.

parent 8815251b
No related branches found
No related tags found
No related merge requests found
...@@ -4,19 +4,25 @@ ...@@ -4,19 +4,25 @@
"description": "A Wordpress-Plugin to display knowledge in a graph-structured way.", "description": "A Wordpress-Plugin to display knowledge in a graph-structured way.",
"main": "index.js", "main": "index.js",
"debug": "build/debug/graph.js", "debug": "build/debug/graph.js",
"release": "build/debug/graph.js", "release": "build/release/graph.js",
"targets": { "targets": {
"main": false, "main": false,
"debug": { "debug": {
"distDir": "build/debug/" "distDir": "build/debug/"
}, },
"release": { "release": {
"distDir": "build/release/" "distDir": "build/release/",
"sourceMap": false,
"optimize": true,
"includeNodeModules": ["three", "3d-force-graph"],
"isLibrary": true,
"context": "node"
} }
}, },
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"watch": "parcel watch index.js" "watch": "parcel watch index.js",
"build": "parcel build index.js --target release"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment