UNPKG

@flatfile/plugin-autocast

Version:

A plugin for automatically casting values in Flatfile.

78 lines 2.16 kB
{ "name": "@flatfile/plugin-autocast", "version": "7.0.0", "url": "https://github.com/FlatFilers/flatfile-plugins/tree/main/plugins/autocast", "description": "A plugin for automatically casting values in Flatfile.", "registryMetadata": { "category": "transform" }, "type": "module", "engines": { "node": ">= 18" }, "exports": { ".": { "node": { "types": { "import": "./dist/index.d.ts", "require": "./dist/index.d.cts" }, "import": "./dist/index.js", "require": "./dist/index.cjs" }, "browser": { "types": { "import": "./dist/index.d.ts", "require": "./dist/index.d.cts" }, "import": "./dist/index.browser.js", "require": "./dist/index.browser.cjs" }, "default": "./dist/index.js" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ "dist/**" ], "scripts": { "build": "tsup", "build:watch": "tsup --watch", "build:prod": "NODE_ENV=production tsup", "checks": "tsc --noEmit && attw --pack . && publint .", "lint": "tsc --noEmit", "test": "vitest run src/*.spec.ts --passWithNoTests", "test:unit": "vitest run src/*.spec.ts --passWithNoTests --exclude src/*.e2e.spec.ts", "test:e2e": "vitest run src/*.e2e.spec.ts --passWithNoTests" }, "keywords": [ "flatfile-plugins", "category-transform", "featured" ], "author": "Alex Hollenbeck", "repository": { "type": "git", "url": "git+https://github.com/FlatFilers/flatfile-plugins.git", "directory": "plugins/autocast" }, "license": "ISC", "dependencies": { "@flatfile/hooks": "^1.6.0", "@flatfile/util-common": "^1.6.0" }, "peerDependencies": { "@flatfile/api": "^1.9.19", "@flatfile/listener": "^1.1.0", "@flatfile/plugin-record-hook": "^2.0.0" }, "devDependencies": { "@flatfile/plugin-record-hook": "^2.0.0", "@flatfile/bundler-config-tsup": "^0.2.0", "@flatfile/config-vitest": "^0.0.0" } }