UNPKG

@appello/common

Version:

Common package with many useful features for web and mobile development

111 lines (110 loc) 3.81 kB
{ "name": "@appello/common", "version": "3.4.4", "author": "Appello Software", "description": "Common package with many useful features for web and mobile development", "keywords": [ "appello", "common" ], "license": "ISC", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/index.d.ts", "scripts": { "clean": "rm -rf dist", "build": "npm run clean && npx rollup -c", "test": "jest --passWithNoTests", "test:watch": "jest --watch", "commit": "git add . && npx git-cz", "format:lint": "eslint --quiet 'src/**/*.{ts,tsx}'", "format:lint:fix": "eslint --fix 'src/**/*.{ts,tsx}'", "format:prettier": "prettier --check 'src/**/*.{ts,tsx,scss,json,css,js,graphql}'", "format:prettier:fix": "prettier --write 'src/**/*.{ts,tsx,scss,json,css,js,graphql}'", "check-types": "tsc -p tsconfig.json", "prepare-release": "npm run test && npx lint-staged && npm run build", "release:alpha": "npm run prepare-release && npm version prerelease --preid=alpha && npm publish --tag alpha && after-release", "release:patch": "npm run prepare-release && npm version patch && npm publish && npm run after-release", "release:minor": "npm run prepare-release && npm version minor && npm publish && npm run after-release", "release:major": "npm run prepare-release && npm version major && npm publish && npm run after-release", "after-release": "git push && git push --tags && rm -rf dist", "prepare": "husky" }, "dependencies": { "buffer": "^6.0.3", "date-fns": "3.6.0", "dot-path-value": "0.0.11" }, "peerDependencies": { "react": "17 || ^18", "react-hook-form": "^7.53.0" }, "devDependencies": { "@appello/commitlint-config": "^4.0.0", "@appello/eslint-config": "^5.0.0", "@appello/prettier-config": "^4.0.0", "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@commitlint/cz-commitlint": "^19.5.0", "@rollup/plugin-commonjs": "^26.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@testing-library/react": "^16.0.1", "@types/jest": "^29.5.13", "@types/react": "^18.3.11", "@typescript-eslint/eslint-plugin": "^7.13.0", "@typescript-eslint/parser": "^7.13.0", "commitizen": "^4.3.1", "eslint": "^8.57.1", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-typescript": "^3.6.3", "eslint-plugin-css-modules": "^2.12.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react": "^7.37.1", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-unused-imports": "^3.2.0", "husky": "^9.1.6", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", "react-hook-form": "^7.53.0", "rollup": "^4.24.0", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-peer-deps-external": "^2.2.4", "ts-jest": "^29.2.5", "typescript": "^5.4.5" }, "files": [ "dist" ], "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } }, "lint-staged": { "src/**/*.{ts,tsx}": [ "npm run format:lint" ], "src/**/*.{ts,tsx,scss,json,css,js,graphql}": [ "npm run format:prettier" ] }, "repository": { "type": "git", "url": "git+git@bitbucket.org:appello/frontend-common-kit.git" }, "publishConfig": { "access": "public" } }