fix: copy stubs step

This commit is contained in:
Igor Randjelovic
2021-04-01 17:55:21 +02:00
parent fb2c291063
commit 7edb1e90b0

View File

@ -13,7 +13,8 @@
"scripts": { "scripts": {
"build": "tsc --project tsconfig.build.json", "build": "tsc --project tsconfig.build.json",
"test": "jest", "test": "jest",
"prepack": "npm test && npm run build && cp -R src/stubs dist/stubs && chmod +x dist/bin/index.js" "copy-stubs": "mkdirp dist/stubs && cp -R src/stubs/* dist/stubs",
"prepack": "npm test && npm run build && npm run copy-stubs && chmod +x dist/bin/index.js"
}, },
"dependencies": { "dependencies": {
"@babel/core": "7.13.14", "@babel/core": "7.13.14",