UNPKG

final-form-calculate

Version:

Decorator for calculating field values based on other field values in 🏁 Final Form

106 lines (105 loc) 3.22 kB
{ "name": "final-form-calculate", "version": "2.0.0", "description": "Decorator for calculating field values based on other field values in 🏁 Final Form", "main": "dist/final-form-calculate.cjs.js", "jsnext:main": "dist/final-form-calculate.es.js", "module": "dist/final-form-calculate.es.js", "files": [ "dist" ], "typings": "dist/index.d.ts", "scripts": { "start": "nps", "test": "nps test", "precommit": "lint-staged && npm start validate" }, "author": "Erik Rasmussen <rasmussenerik@gmail.com> (http://github.com/erikras)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/final-form/final-form-calculate.git" }, "bugs": { "url": "https://github.com/final-form/final-form-calculate/issues" }, "homepage": "https://github.com/final-form/final-form-calculate#readme", "devDependencies": { "@babel/core": "^7.27.4", "@babel/plugin-external-helpers": "^7.27.1", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "^7.27.1", "@babel/plugin-proposal-export-namespace-from": "^7.18.9", "@babel/plugin-proposal-function-sent": "^7.27.1", "@babel/plugin-proposal-json-strings": "^7.18.6", "@babel/plugin-proposal-numeric-separator": "^7.18.6", "@babel/plugin-proposal-throw-expressions": "^7.27.1", "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-transform-runtime": "^7.27.4", "@babel/preset-env": "^7.27.2", "@babel/preset-typescript": "^7.27.1", "@eslint/js": "^9.28.0", "@types/jest": "^29.5.14", "@types/node": "^22.15.29", "@typescript-eslint/eslint-plugin": "^8.33.1", "@typescript-eslint/parser": "^8.33.1", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^30.0.0-beta.3", "bundlesize": "^0.18.2", "doctoc": "^2.2.1", "eslint": "^9.28.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.5", "final-form": "^5.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^16.1.0", "nps": "^5.10.0", "nps-utils": "^1.7.0", "prettier": "^3.5.3", "prettier-eslint-cli": "^8.0.1", "rollup": "^4.41.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-replace": "^2.2.0", "rollup-plugin-uglify": "^6.0.4", "typescript": "^5.8.3" }, "peerDependencies": { "final-form": ">=5.0.0" }, "lint-staged": { "*.{js,json,md,css}": [ "prettier --write", "git add" ] }, "jest": { "testEnvironment": "node", "testPathIgnorePatterns": [ ".*\\.d\\.test\\.ts" ], "coveragePathIgnorePatterns": [ "src/index.ts" ] }, "bundlesize": [ { "path": "dist/final-form-calculate.umd.min.js", "threshold": "800B" }, { "path": "dist/final-form-calculate.es.js", "threshold": "1.2kB" }, { "path": "dist/final-form-calculate.cjs.js", "threshold": "1.2kB" } ] }