UNPKG

prices-as-code

Version:

Prices as Code (PaC) - Define your product pricing schemas with type-safe definitions

74 lines (73 loc) 2.59 kB
{ "name": "prices-as-code", "version": "3.6.0", "description": "Prices as Code (PaC) - Define your product pricing schemas with type-safe definitions", "main": "lib/index.js", "types": "lib/index.d.ts", "type": "module", "bin": { "prices-as-code": "lib/cli.js" }, "scripts": { "build": "tsc", "prepublishOnly": "npm run build", "test": "NODE_OPTIONS=--experimental-vm-modules jest", "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch", "test:coverage": "NODE_OPTIONS=--experimental-vm-modules jest --coverage", "test:unit": "NODE_OPTIONS=--experimental-vm-modules jest src/__tests__/enhanced/", "test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=integration", "test:e2e": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=e2e", "test:enhanced": "NODE_OPTIONS=--experimental-vm-modules jest src/__tests__/enhanced/", "test:integration:stripe": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=integration/stripe", "test:all": "NODE_OPTIONS=--experimental-vm-modules jest", "test:report": "node scripts/generate-test-report.js", "test:report:unit": "node scripts/generate-test-report.js --unit", "test:report:integration": "node scripts/generate-test-report.js --integration", "test:report:e2e": "node scripts/generate-test-report.js --e2e", "test:report:all": "node scripts/generate-test-report.js --all", "lint": "eslint --ext .ts ./src", "lint:fix": "eslint --ext .ts ./src --fix", "typecheck": "tsc --noEmit" }, "keywords": [ "prices", "products", "stripe", "paddle", "chargebee", "infrastructure-as-code", "pac", "prices-as-code" ], "author": "Nate Ross <nate@n8rs.dev> (https://nateross.dev)", "license": "MIT", "homepage": "https://wickdninja.github.io/prices-as-code/", "repository": { "type": "git", "url": "git+https://github.com/wickdninja/prices-as-code.git" }, "bugs": { "url": "https://github.com/wickdninja/prices-as-code/issues" }, "dependencies": { "dotenv": "^16.3.1", "esbuild": "^0.25.1", "js-yaml": "^4.1.0", "stripe": "^14.12.0", "zod": "^3.22.4" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/js-yaml": "^4.0.9", "@types/node": "^20.11.0", "@typescript-eslint/eslint-plugin": "^6.19.0", "@typescript-eslint/parser": "^6.19.0", "eslint": "^8.56.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "typescript": "^5.3.3" }, "engines": { "node": ">=16" } }