better build pipeline
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc --build && copyfiles -u 2 './src/nodes/**/*.{png,svg,html}' ./dist/nodes/"
|
||||
"build": "tsc --build && copyfiles -u 2 './src/nodes/**/*.{png,svg}' ./dist/nodes/ && node build/build.js"
|
||||
},
|
||||
"files": [
|
||||
"dist/**/*"
|
||||
@@ -24,6 +24,7 @@
|
||||
"devDependencies": {
|
||||
"@types/node": "^14.14.41",
|
||||
"@types/node-red": "^1.1.1",
|
||||
"copyfiles": "^2.4.1"
|
||||
"copyfiles": "^2.4.1",
|
||||
"mustache": "^4.2.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user