Edit scripts

This commit is contained in:
Valentina Lilova 2022-04-26 15:37:26 +03:00
commit cd8a740024

View file

@ -1,73 +1,73 @@
{ {
"name": "@digital-boss/n8n-nodes-starter", "name": "@digital-boss/n8n-nodes-starter",
"version": "0.1.1", "version": "0.1.1",
"description": "Example starter module for custom n8n nodes.", "description": "Example starter module for custom n8n nodes.",
"license": "SEE LICENSE IN LICENSE.md", "license": "SEE LICENSE IN LICENSE.md",
"homepage": "https://n8n.io", "homepage": "https://n8n.io",
"author": { "author": {
"name": "Jan Oberhauser", "name": "Jan Oberhauser",
"email": "jan@n8n.io" "email": "jan@n8n.io"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/n8n-io/n8n-nodes-starter.git" "url": "git+https://github.com/digital-boss/n8n-nodes-starter.git"
}, },
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"dev": "npm run watch", "dev": "npm run watch",
"build": "tsc && gulp && genversion -s -e nodes/version.ts && git add .", "build": "genversion -s -e nodes/version.ts && git add . && tsc && gulp",
"lint": "tslint -p tsconfig.json -c tslint.json", "lint": "tslint -p tsconfig.json -c tslint.json",
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json", "lintfix": "tslint --fix -p tsconfig.json -c tslint.json",
"nodelinter": "nodelinter", "nodelinter": "nodelinter",
"watch": "tsc --watch", "watch": "tsc --watch",
"test": "jest", "test": "jest",
"release": "npm run build && npm publish --access=public", "release": "npm run build && npm publish --access=public",
"version": "npm run build && genversion -s -e nodes/version.ts", "version": "npm run build",
"postversion": "git push" "postversion": "git push"
}, },
"files": [ "files": [
"dist" "dist"
],
"n8n": {
"credentials": [
"dist/credentials/FriendGridApi.credentials.js"
], ],
"n8n": { "nodes": [
"credentials": [ "dist/nodes/FriendGrid/FriendGrid.node.js"
"dist/credentials/FriendGridApi.credentials.js" ]
], },
"nodes": [ "devDependencies": {
"dist/nodes/FriendGrid/FriendGrid.node.js" "@types/express": "^4.17.6",
] "@types/jest": "^27.4.0",
"@types/node": "14.17.27",
"@types/request-promise-native": "~1.0.15",
"genversion": "^3.1.1",
"gulp": "^4.0.0",
"jest": "^27.4.7",
"n8n-workflow": "~0.93.0",
"nodelinter": "^0.1.9",
"ts-jest": "^27.1.3",
"tslint": "^6.1.2",
"typescript": "~4.3.5"
},
"dependencies": {
"n8n-core": "~0.111.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
}, },
"devDependencies": { "testURL": "http://localhost/",
"@types/express": "^4.17.6", "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"@types/jest": "^27.4.0", "testPathIgnorePatterns": [
"@types/node": "14.17.27", "/dist/",
"@types/request-promise-native": "~1.0.15", "/node_modules/"
"genversion": "^3.1.1", ],
"gulp": "^4.0.0", "moduleFileExtensions": [
"jest": "^27.4.7", "ts",
"n8n-workflow": "~0.93.0", "tsx",
"nodelinter": "^0.1.9", "js",
"ts-jest": "^27.1.3", "json"
"tslint": "^6.1.2", ]
"typescript": "~4.3.5" }
},
"dependencies": {
"n8n-core": "~0.111.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testURL": "http://localhost/",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
} }