Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
*/public/app.bundled.js
*/public/app.bundled.js*
node_modules
16 changes: 7 additions & 9 deletions bundling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"description": "An example how to use dmn-js with npm + webpack",
"main": "app/app.js",
"scripts": {
"all": "run-s bundle",
"bundle": "webpack",
"bundle:watch": "webpack -w",
"open": "open-cli ./public/index.html",
"start": "run-p 'bundle:watch' open"
"all": "run-s build",
"build": "webpack --mode production",
"dev": "webpack-dev-server --static=public --open",
"start": "run-s dev"
},
"repository": {
"type": "git",
Expand All @@ -29,11 +28,10 @@
],
"license": "MIT",
"devDependencies": {
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"raw-loader": "^4.0.0",
"npm-run-all2": "^8.0.4",
"webpack": "^5.93.0",
"webpack-cli": "^6.0.1"
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
},
"dependencies": {
"dmn-js": "^17.3.0"
Expand Down
6 changes: 3 additions & 3 deletions bundling/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
</style>

<!--
this is an example of how to use dmn-js in a standalone application built with
CommonJS modules + browserify
this is an example of how to use dmn-js in a standalone application
built Webpack.
-->

<title>npm/browserify example - dmn-js-examples</title>
<title>bundling example - dmn-js-examples</title>
</head>
<body>

Expand Down
4 changes: 1 addition & 3 deletions bundling/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ module.exports = {
rules: [
{
test: /\.dmn$/,
use: {
loader: 'raw-loader'
}
type: 'asset/source'
}
]
}
Expand Down
18 changes: 8 additions & 10 deletions dmn-compatibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,22 @@
"version": "0.0.0",
"description": "A DMN compatibility example",
"scripts": {
"all": "run-s bundle",
"bundle": "webpack",
"bundle:watch": "webpack -w",
"open": "open-cli ./public/index.html",
"start": "run-p 'bundle:watch' open"
"all": "run-s build",
"build": "webpack --mode production",
"dev": "webpack-dev-server --static=public --open",
"start": "run-s dev"
},
"author": "Philipp Fromme",
"license": "MIT",
"dependencies": {
"@bpmn-io/dmn-migrate": "^0.4.2",
"dmn-js": "^17.3.0",
"file-drops": "^0.4.0"
"file-drops": "^0.6.2"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"open-cli": "^8.0.0",
"raw-loader": "^4.0.0",
"npm-run-all2": "^8.0.4",
"webpack": "^5.102.1",
"webpack-cli": "^6.0.1"
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
}
}
4 changes: 1 addition & 3 deletions dmn-compatibility/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ module.exports = {
rules: [
{
test: /\.dmn$/,
use: {
loader: 'raw-loader'
}
type: 'asset/source'
}
]
}
Expand Down
Loading