2.0.0-0 • Published 2 years ago
@actjs.on/cop-fy v2.0.0-0
CopFy
Installing
$ npm i @actjs.on/cop-fy --save-dev
Usage
Create a file with name actjs.on-settings.json
in your project's root directory with the below settings:
{
"cop-fy": {
"rootPath": "dist/@scope/library-name",
"settings": [
{
"extensionPatterns": [
"ext", "*.ext"
],
"directoriesOfCopyFilesSettings": [
{
"copyPatterns": [
"src/lib/**",
"file-name.ext2"
],
"buildInPath": "lib"
}
]
}
]
}
}
Then in, package.json
file, in script
setting, do as below:
"scripts": {
"cop-fy:copy-files": "npm explore @actjs.on/cop-fy -- npm run copy-files",
"build": "tsc -b && npm run cop-fy:copy-files"
}
Settings
Name | Description |
---|---|
rootPath | Required.Type: string |
settings | Required.Type: object[] |
extensionPatterns | Required, but if you want to pass only files instead path patterns to copyPatterns , it’s optional.Type: string[] |
directoriesOfCopyFilesSettings | Required.Type: object[] |
copyPatterns | Required.Type: string[] |
buildInPath | Optional.Type: string.If it isn’t defined the files will be copied to informed path to rootPath , but the path defined in copyPatterns will be considered. |
1.0.0-19
2 years ago
2.0.0-0
2 years ago
1.0.0-17
2 years ago
1.0.0-18
2 years ago
1.0.0-rc.20
3 years ago
1.0.0-9
3 years ago
1.0.0-8
3 years ago
1.0.0-rc.23
3 years ago
1.0.0-rc.22
3 years ago
1.0.0-rc.21
3 years ago
1.0.0-5
3 years ago
1.0.0-4
3 years ago
1.0.0-7
3 years ago
1.0.0-6
3 years ago
1.0.0-1
3 years ago
1.0.0-0
3 years ago
1.0.0-3
3 years ago
1.0.0-2
3 years ago
1.0.0-10
3 years ago
1.0.0-11
3 years ago
1.0.0-12
3 years ago
1.0.0-13
2 years ago
1.0.0-14
2 years ago
1.0.0-15
2 years ago
1.0.0-16
2 years ago
1.0.0-rc.19
3 years ago
1.0.0-rc.9
3 years ago
1.0.0-rc.7
3 years ago
1.0.0-rc.8
3 years ago
1.0.0-rc.5
3 years ago
1.0.0-rc.6
3 years ago
1.0.0-rc.13
3 years ago
1.0.0-rc.12
3 years ago
1.0.0-rc.11
3 years ago
1.0.0-rc.10
3 years ago
1.0.0-rc.17
3 years ago
1.0.0-rc.16
3 years ago
1.0.0-rc.15
3 years ago
1.0.0-rc.14
3 years ago
1.0.0-rc.18
3 years ago
1.0.0-rc.4
3 years ago
1.0.0-rc.3
3 years ago
1.0.0-rc.2
3 years ago
1.0.0-rc.1
3 years ago