Skip to content

Commit 1a71da4

Browse files
authored
fix-build-structure (#150)
* fix-build-structure
1 parent e302901 commit 1a71da4

File tree

2 files changed

+11
-23
lines changed

2 files changed

+11
-23
lines changed

package-lock.json

+9-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@severlessworkflow/sdk-typescript",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"schemaVersion": "0.8",
55
"description": "Typescript SDK for Serverless Workflow Specification",
66
"main": "umd/index.umd.min.js",
@@ -25,7 +25,7 @@
2525
"pretest": "npx rimraf out-tsc",
2626
"test": "npx tsc --project ./tests/tsconfig.json && npx jasmine --config=./tests/support/jasmine.json",
2727
"prebuild": "npx rimraf dist",
28-
"build": "npx rollup -c rollup.config.ts",
28+
"build": "npx rollup -c rollup.config.ts && npx shx mv ./dist/src/lib ./dist/lib && npx rimraf ./dist/src",
2929
"postbuild": "npx shx cp ./package.json ./README.md ./LICENSE ./dist/",
3030
"verify-publish-directory": "node -e 'if (!process.cwd().endsWith(\"dist\")) { console.error(\"Packaging/Publishing should be done from ./dist/\"); process.exitCode = 1; } process.exit();'",
3131
"prepack": "npm run verify-publish-directory",

0 commit comments

Comments
 (0)