2.0.0-0 • Published 3 years ago

@actjs.on/cop-fy v2.0.0-0

Weekly downloads
-
License
MPL-2.0
Repository
gitlab
Last release
3 years ago

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

NameDescription
rootPathRequired.Type: string
settingsRequired.Type: object[]
extensionPatternsRequired, but if you want to pass only files instead path patterns to copyPatterns, it’s optional.Type: string[]
directoriesOfCopyFilesSettingsRequired.Type: object[]
copyPatternsRequired.Type: string[]
buildInPathOptional.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

4 years ago

2.0.0-0

3 years ago

1.0.0-17

4 years ago

1.0.0-18

4 years ago

1.0.0-rc.20

4 years ago

1.0.0-9

4 years ago

1.0.0-8

4 years ago

1.0.0-rc.23

4 years ago

1.0.0-rc.22

4 years ago

1.0.0-rc.21

4 years ago

1.0.0-5

4 years ago

1.0.0-4

4 years ago

1.0.0-7

4 years ago

1.0.0-6

4 years ago

1.0.0-1

4 years ago

1.0.0-0

4 years ago

1.0.0-3

4 years ago

1.0.0-2

4 years ago

1.0.0-10

4 years ago

1.0.0-11

4 years ago

1.0.0-12

4 years ago

1.0.0-13

4 years ago

1.0.0-14

4 years ago

1.0.0-15

4 years ago

1.0.0-16

4 years ago

1.0.0-rc.19

4 years ago

1.0.0-rc.9

4 years ago

1.0.0-rc.7

4 years ago

1.0.0-rc.8

4 years ago

1.0.0-rc.5

4 years ago

1.0.0-rc.6

4 years ago

1.0.0-rc.13

4 years ago

1.0.0-rc.12

4 years ago

1.0.0-rc.11

4 years ago

1.0.0-rc.10

4 years ago

1.0.0-rc.17

4 years ago

1.0.0-rc.16

4 years ago

1.0.0-rc.15

4 years ago

1.0.0-rc.14

4 years ago

1.0.0-rc.18

4 years ago

1.0.0-rc.4

4 years ago

1.0.0-rc.3

4 years ago

1.0.0-rc.2

4 years ago

1.0.0-rc.1

4 years ago