graycoreio/daffodil

View on GitHub
tools/builders/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@daffodil/builders",
  "version": "0.0.1",
  "description": "Custom Angular builders for Daffodil projects.",
  "builders": "builders.json",
  "scripts": {
    "build:copy-schema": "shx cp src/generate-fragment-types/schema.json ../../dist/builders/generate-fragment-types/schema.json",
    "build:copy-builders": "shx cp builders.json ../../dist/builders/builders.json",
    "build:copy-package": "shx cp package.json ../../dist/builders/package.json",
    "build:copy-static": "npm run build:copy-schema && npm run build:copy-builders && npm run build:copy-package",
    "build": "tsc && npm run build:copy-static",
    "postbuild": "shx mkdir -p ../../node_modules/@daffodil/builders && shx cp -r ../../dist/builders/* ../../node_modules/@daffodil/builders"
  },
  "main": "./index.js"
}