diff --git a/package-lock.json b/package-lock.json index c5b0df04..58d3d171 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,10 +74,7 @@ "version": "7.14.9", "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz", "integrity": "sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } + "dev": true }, "node_modules/@babel/highlight": { "version": "7.14.5", @@ -88,9 +85,6 @@ "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" } }, "node_modules/@babel/highlight/node_modules/ansi-styles": { @@ -742,7 +736,7 @@ "color-convert": "^2.0.1" }, "engines": { - "node": ">=8" + "node": ">=4" }, "funding": { "url": "https://github.com/chalk/ansi-styles?sponsor=1" @@ -866,7 +860,7 @@ "supports-color": "^7.1.0" }, "engines": { - "node": ">=10" + "node": ">=4" }, "funding": { "url": "https://github.com/chalk/chalk?sponsor=1" @@ -927,9 +921,6 @@ "dev": true, "dependencies": { "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" } }, "node_modules/color-name": { @@ -962,7 +953,7 @@ "integrity": "sha512-mf45ldcuHSYShkplHHGKWb4TrmwQadxOn7v4WuhDJy0ZVoY5JFajaRDKD0PNe5qXzBX0rhovjTnP6Kz9LETcuA==", "dev": true, "engines": { - "node": ">= 12" + "node": ">= 10" } }, "node_modules/commondir": { @@ -1184,7 +1175,7 @@ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, "engines": { - "node": ">=10" + "node": ">=0.8.0" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -1302,7 +1293,7 @@ "eslint-visitor-keys": "^2.0.0" }, "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + "node": ">=6" }, "funding": { "url": "https://github.com/sponsors/mysticatea" @@ -1821,7 +1812,7 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "engines": { - "node": ">=8" + "node": ">=4" } }, "node_modules/https-proxy-agent": { @@ -3006,9 +2997,6 @@ }, "bin": { "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" } }, "node_modules/semver-compare": { @@ -3106,7 +3094,7 @@ "is-fullwidth-code-point": "^3.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" } }, "node_modules/source-map": { @@ -3238,7 +3226,7 @@ "has-flag": "^4.0.0" }, "engines": { - "node": ">=8" + "node": ">=4" } }, "node_modules/table": { diff --git a/package.json b/package.json index 69866c7f..2ee101ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@severlessworkflow/sdk-typescript", - "version": "3.0.0", + "version": "3.0.1", "schemaVersion": "0.8", "description": "Typescript SDK for Serverless Workflow Specification", "main": "umd/index.umd.min.js", @@ -25,7 +25,7 @@ "pretest": "npx rimraf out-tsc", "test": "npx tsc --project ./tests/tsconfig.json && npx jasmine --config=./tests/support/jasmine.json", "prebuild": "npx rimraf dist", - "build": "npx rollup -c rollup.config.ts", + "build": "npx rollup -c rollup.config.ts && npx shx mv ./dist/src/lib ./dist/lib && npx rimraf ./dist/src", "postbuild": "npx shx cp ./package.json ./README.md ./LICENSE ./dist/", "verify-publish-directory": "node -e 'if (!process.cwd().endsWith(\"dist\")) { console.error(\"Packaging/Publishing should be done from ./dist/\"); process.exitCode = 1; } process.exit();'", "prepack": "npm run verify-publish-directory",