Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

scripts for cleaning and moving files #3

Closed
sriramrudraraju opened this issue Sep 30, 2019 · 3 comments
Closed

scripts for cleaning and moving files #3

sriramrudraraju opened this issue Sep 30, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@sriramrudraraju
Copy link
Owner

sriramrudraraju commented Sep 30, 2019

 "build": "yarn run clean && tsc",
 "postbuild": "ef-tspm && yarn run copy-files",
 "clean": "rimraf lib/",
 "prepare": "yarn run build",
 "copy-files": "copyfiles -u 1 src/**/*.js dist"

more info

@sriramrudraraju sriramrudraraju added the enhancement New feature or request label Sep 30, 2019
@sriramrudraraju
Copy link
Owner Author

merged webpack support to move and clean. issue #4

@FredericLatour
Copy link

FredericLatour commented Oct 3, 2019

@sriramrudraraju Does this run under linux or Mac?

From my tests, this should work:
"copy-files": "copyfiles -u 1 \"src/**/*.js\" dist"

@sriramrudraraju
Copy link
Owner Author

I havent tested that.. I saw those scripts on few open source projects. but I decided i implement that feature using webpack, so that i dont need to worry about OS dependency

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants