UNPKG

@chargebee/atomicpricing

Version:

JS wrapper for your Atomic Pricing hosted page

129 lines (128 loc) 4.01 kB
{ "name": "@chargebee/atomicpricing", "version": "0.10.3", "description": "JS wrapper for your Atomic Pricing hosted page", "author": "Jose Tom <jose@chargebee.com> (https://github.com/cb-jose)", "bugs": { "url": "https://github.com/chargebee/cb-pricify-js/issues" }, "homepage": "https://atomicpricing.com", "scripts": { "dev": "vite --port 8763", "build": "tsc && vite build", "preview": "vite preview", "release": "npx release-it", "lint": "eslint src", "lint:fix": "eslint src --fix && npm run format", "lint:strict": "eslint --max-warnings=0 src", "typecheck": "tsc --noEmit --incremental false", "format": "prettier -w .", "format:check": "prettier -c .", "cypress:run": "cypress run", "cypress:open": "cypress open", "install:react": "cd ./examples/react && npm i", "install:angular": "cd ./examples/angular && npm i", "install:vue": "cd ./examples/vue && npm i", "install:svelte": "cd ./examples/svelte && npm i", "install:nextjs": "cd ./examples/nextjs && npm i", "run:react": "cd ./examples/react && npm run start", "run:angular": "cd ./examples/angular && npm run start", "run:vue": "cd ./examples/vue && npm run start", "run:svelte": "cd ./examples/svelte && npm run start", "run:nextjs": "cd ./examples/nextjs && npm run start", "test": "jest && run-s test:*", "test:react": "echo 'Running react tests' && npm run install:react && run-p --race run:react cypress:run", "test:angular": "echo 'Running angular tests' && npm run install:angular && run-p --race run:angular cypress:run", "test:vue": "echo 'Running vue tests' && npm run install:vue && run-p --race run:vue cypress:run", "test:svelte": "echo 'Running svelte tests' && npm run install:svelte && run-p --race run:svelte cypress:run", "test:nextjs": "echo 'Running nextjs tests' && npm run install:nextjs && run-p --race run:nextjs cypress:run", "prepare": "husky install" }, "keywords": [ "atomicpricing", "pricify", "pricing", "chargebee" ], "lint-staged": { "src/**/*.{js,jsx,ts,tsx}": [ "eslint", "prettier -w" ], "src/**/*.{json,css,scss,md}": [ "prettier -w" ], "cypress/**/*.{js,jsx,ts,tsx}": [ "eslint", "prettier -w" ], "cypress/**/*.{json,css,scss,md}": [ "prettier -w" ] }, "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@cypress/code-coverage": "^3.14.4", "@release-it/conventional-changelog": "^7.0.1", "@testing-library/jest-dom": "^6.6.3", "@types/jest": "^29.5.5", "@typescript-eslint/eslint-plugin": "^6.8.0", "cypress": "^13.2.0", "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-plugin-unused-imports": "^3.0.0", "husky": "^9.1.7", "jest": "^29.0.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.0", "npm-run-all": "^4.1.5", "prettier": "^3.0.3", "release-it": "^16.1.5", "ts-jest": "^29.0.0", "typescript": "^4.9.3", "vite": "^4.1.0", "vite-plugin-dts": "^2.0.2", "vite-plugin-eslint": "^1.8.1" }, "dependencies": { "@sentry/browser": "^9.30.0" }, "files": [ "dist", "package.json" ], "main": "./dist/pricify.js", "module": "./dist/index.js", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/pricify.js" } }, "typings": "./dist/index.d.ts", "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "github": { "release": true }, "npm": { "publish": true }, "hooks": { "after:bump": "npm run build" }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "conventionalcommits" }, "infile": "CHANGELOG.md" } } } }