UNPKG

@snowplow/snowtype

Version:

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

78 lines (77 loc) 2.27 kB
{ "name": "@snowplow/snowtype", "version": "0.17.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": "^8.2.0", "@snowplow/snowtype-core": "^0.17.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.11.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/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.19.30", "@types/semver": "7.5.8", "cli-testing-library": "2.0.2", "esbuild": "0.27.2", "jest": "29.7.0", "rimraf": "5.0.5", "ts-jest": "29.1.1", "ts-morph": "24.0.0", "ts-node": "10.9.2", "typescript": "5.2.2" }, "scripts": { "snowtype": "ts-node src/index.ts", "debug": "node --inspect-brk -r ts-node/register src/index.ts", "build:types": "ts-node-transpile-only ./scripts/extract-snowtype-types.ts && eslint types.d.ts", "build:production": "npm run fix-version && npm run build:types && rimraf ./dist && esbuild --bundle --packages=external --platform=node --target=es2022 --outdir=dist --minify src/index.ts", "build": "npm run fix-version && npm run build:types && tsc", "fix-version": "node ./scripts/version.js", "lint:fix": "eslint src --fix", "lint": "eslint src", "test": "jest --testPathIgnorePatterns e2e/", "test:e2e": "npm run build:production && jest e2e/" }, "engines": { "node": ">=24.15.0" }, "keywords": [ "snowplow", "analytics" ], "bin": { "snowtype": "bin/bin" }, "publishConfig": { "access": "public" } }