UNPKG

@snowplow/snowtype

Version:

A code generator CLI for faster and type-safe Snowplow tracking code

80 lines (79 loc) 2.27 kB
{ "name": "@snowplow/snowtype", "version": "0.12.3", "description": "A code generator CLI for faster and type-safe Snowplow tracking code", "author": "Peter Perlepes <peter@snowplowanalytics.com>", "homepage": "https://snowplow.io/", "license": "SEE LICENSE IN LICENSE", "main": "dist/index.js", "files": [ "dist", "bin", "types.d.ts" ], "dependencies": { "@commander-js/extra-typings": "^11.1.0", "@inquirer/prompts": "^3.3.0", "@snowplow/snowtype-core": "^0.12.3", "chalk": "^4.1.2", "cli-spinner": "^0.2.10", "dotenv": "^16.3.1", "fs-extra": "^11.2.0", "got": "^11", "joi": "^17.6.0", "js-sha256": "^0.10.1", "lodash": "^4.17.21", "mime-types": "^2.1.35", "mkdirp": "^3.0.1", "p-limit": "^3.1.0", "semver": "^7.6.3", "terser": "^5.38.1", "tsx": "^4.9.3", "yaml": "^2.6.0" }, "devDependencies": { "@types/cli-spinner": "^0.2.3", "@types/debug": "^4.1.7", "@types/fs-extra": "^11.0.4", "@types/got": "^9.6.12", "@types/jest": "^29.5.8", "@types/lodash": "^4.17.7", "@types/mime-types": "^2.1.4", "@types/node": "^20.9.0", "cli-testing-library": "^2.0.2", "esbuild": "^0.19.11", "jest": "^29.7.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.1", "ts-morph": "^24.0.0", "ts-node": "^10.9.2", "tslib": "^2.4", "typescript": "5.2.2" }, "scripts": { "snowtype": "ts-node src/index.ts", "build:types": "ts-node-transpile-only ./scripts/extract-snowtype-types.ts && eslint types.d.ts", "build:production": "esbuild --bundle --packages=external --platform=node --target=es2022 --outdir=dist --minify src/index.ts", "build": "tsc", "fix-version": "node ./scripts/version.js", "lint:fix": "eslint src --fix", "lint": "eslint src", "prebuild:production": "npm run fix-version && npm run build:types && rimraf ./dist", "prebuild": "npm run fix-version && npm run build:types", "test": "jest --testPathIgnorePatterns e2e/", "test:e2e": "npm run build:production && jest e2e/" }, "engines": { "node": ">=18" }, "keywords": [ "snowplow", "analytics" ], "bin": { "snowtype": "bin/bin" }, "publishConfig": { "access": "public" } }