graycoreio/daffodil

View on GitHub
libs/docs-utils/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@daffodil/docs-utils",
  "nx": {
    "targets": {
      "build": {
        "outputs": [
          "{workspaceRoot}/dist/docs-utils"
        ]
      }
    }
  },
  "private": true,
  "version": "0.0.0-PLACEHOLDER",
  "main": "index.js",
  "scripts": {
    "build": "npm run clean && npm run build:bundle && npm run build:types && npm run build:copy-static",
    "build:types": "npx tsc --emitDeclarationOnly --declaration --project tsconfig.json",
    "build:bundle": "esbuild --outfile=../../dist/docs-utils/index.js --platform=node --bundle src/index.ts",
    "build:copy-static": "shx cp package.json README.md ../../dist/docs-utils && shx cp -R ../../dist/docs-utils/src/* ../../dist/docs-utils",
    "clean": "rimraf ../../dist/docs-utils",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "test": "ts-node -r tsconfig-paths/register ../../node_modules/jasmine/bin/jasmine.js --config=jasmine.json",
    "test:watch": "ts-node-dev --respawn --debounce 100 -r tsconfig-paths/register ../../node_modules/.bin/jasmine --config=jasmine.json"
  }
}