Skip to content

Commit f3321f9

Browse files
martinjlowmuittorio
authored andcommitted
chore(build): Split dist packaging into its own script
This adds convenience in local development in other projects like so: ``` git clone https://github.com/Typescript-TDD/ts-auto-mock.git git checkout <custom-branch> npm ci npm run build npm run package ``` or through symlinks to a local copy (ts-auto-mock/dist) with custom changes.
1 parent 700dd68 commit f3321f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"test:features": "cross-env CACHE=true FEATURES=true karma start config/karma/karma.config.features.js",
2222
"test:playground": "karma start config/karma/karma.config.transformer.playground.js",
2323
"test:playground:build": "karma start config/karma/karma.config.transformer.playground.build.js",
24-
"release": "cp -r package.json package-lock.json README.md dist && semantic-release",
24+
"package": "cp -r package.json package-lock.json README.md dist",
25+
"release": "npm run package && semantic-release",
2526
"postversion": "cp -r package.json ../ && cp -r package-lock.json ../",
2627
"cz": "git-cz",
2728
"commit": "npm run cz"

0 commit comments

Comments
 (0)