mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-16 09:23:01 -06:00
Remove gulp and update packages
This commit is contained in:
parent
0466fdb2df
commit
c1320ac047
3 changed files with 1365 additions and 10436 deletions
16
gulpfile.js
16
gulpfile.js
|
|
@ -1,16 +0,0 @@
|
|||
const path = require('path');
|
||||
const { task, src, dest } = require('gulp');
|
||||
|
||||
task('build:icons', copyIcons);
|
||||
|
||||
function copyIcons() {
|
||||
const nodeSource = path.resolve('nodes', '**', '*.{png,svg}');
|
||||
const nodeDestination = path.resolve('dist', 'nodes');
|
||||
|
||||
src(nodeSource).pipe(dest(nodeDestination));
|
||||
|
||||
const credSource = path.resolve('credentials', '**', '*.{png,svg}');
|
||||
const credDestination = path.resolve('dist', 'credentials');
|
||||
|
||||
return src(credSource).pipe(dest(credDestination));
|
||||
}
|
||||
11766
package-lock.json
generated
11766
package-lock.json
generated
File diff suppressed because it is too large
Load diff
19
package.json
19
package.json
|
|
@ -17,7 +17,9 @@
|
|||
},
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "tsc && gulp build:icons",
|
||||
"build": "npm run clean && tsc && npm run build:images",
|
||||
"clean": "rimraf dist/",
|
||||
"build:images": "copyfiles nodes/**/*.svg nodes/**/*.png dist/",
|
||||
"dev": "tsc --watch",
|
||||
"format": "prettier nodes credentials --write",
|
||||
"lint": "eslint nodes credentials package.json",
|
||||
|
|
@ -39,14 +41,15 @@
|
|||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/express": "^4.17.17",
|
||||
"@types/request-promise-native": "~1.0.15",
|
||||
"@typescript-eslint/parser": "~5.45",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.11.0",
|
||||
"gulp": "^4.0.2",
|
||||
"n8n-core": "*",
|
||||
"@typescript-eslint/parser": "~6.3.0",
|
||||
"copyfiles": "^2.4.1",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.16.0",
|
||||
"n8n-core": "^1.2.0",
|
||||
"n8n-workflow": "*",
|
||||
"prettier": "^2.7.1",
|
||||
"typescript": "~4.8.4"
|
||||
"prettier": "^3.0.1",
|
||||
"rimraf": "^5.0.1",
|
||||
"typescript": "~5.1.6"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue