@boomerang-io/utils
Version:
A library of reusable utilities and hooks for React webapps on the Boomerang platform.
95 lines (94 loc) • 2.35 kB
JSON
{
"name": "@boomerang-io/utils",
"version": "1.1.3",
"author": {
"name": "Tim Bula",
"email": "timrbula@gmail.com"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git@github.com:boomerang-io/webapp-packages",
"directory": "packages/utils"
},
"homepage": "https://github.com/boomerang-io/webapp-packages",
"bugs": {
"url": "https://github.com/boomerang-io/webapp-packages/issues"
},
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"es",
"lib"
],
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel ./src --out-dir ./lib --ignore ./**/*.test.js",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel ./src --out-dir ./es --ignore ./**/*.test.js",
"lint": "eslint src",
"precommit": "lint-staged",
"prebuild": "rimraf lib es",
"prepare": "npm run-script build",
"test": "jest --watch",
"test:ci": "jest --findRelatedTests"
},
"peerDependencies": {
"axios": "^1.13.5",
"lodash": "^4.17.23",
"query-string": "^6.14.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^5.3.0",
"yup": "^0.32.11"
},
"devDependencies": {
"axios": "^1.13.5",
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.10",
"@babel/eslint-parser": "7.16.5",
"@babel/preset-env": "^7.16.11",
"babel-jest": "^27.4.6",
"chalk": "^5.0.0",
"cross-env": "^7.0.3",
"fs-extra": "^10.0.0",
"jest": "^27.4.2",
"lodash": "^4.17.21",
"promise": "^8.1.0",
"query-string": "^7.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^5.3.4",
"rimraf": "^6.1.2",
"yup": "^0.32.11"
},
"keywords": [
"boomerang",
"react",
"utilities"
],
"lint-staged": {
"*.{js,jsx,json,scss,css,md}": [
"prettier --print-width 120 --write"
],
"src/**/*.{js,jsx}": [
"npm run-script lint",
"npm run-script test:ci"
],
"*": [
"git add"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"sideEffects": false
}