@vlsergey/react-bootstrap-button-with-spinner
Version:
Wrapper around React Bootstrap Button component with spinner and auto-disabled functionality (to prevent doubleclick)
50 lines (49 loc) • 2.26 kB
JSON
{
"name": "@vlsergey/react-bootstrap-button-with-spinner",
"version": "2.0.0",
"browserslist": "defaults, not dead",
"description": "Wrapper around React Bootstrap Button component with spinner and auto-disabled functionality (to prevent doubleclick) ",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"scripts": {
"clean": "rimraf lib/",
"build": "cross-env NODE_ENV=production tsc -p ./src/tsconfig-cjs.json && cross-env NODE_ENV=production tsc -p ./src/tsconfig-esm.json",
"build:watch": "cross-env NODE_ENV=development tsc -w -p ./src",
"eslint:check": "eslint --ignore-pattern \"!.eslintrc.js\" .eslintrc.js karma.conf.js src/**/*.ts* test/**/*.js test/**/*.tsx",
"eslint:fix": "eslint --ignore-pattern \"!.eslintrc.js\" --fix .eslintrc.js karma.conf.js src/**/*.ts* test/**/*.js test/**/*.tsx",
"eslint:watch": "esw --color --watch --ext .js --ext .jsx --ext .ts --ext .tsx --ignore-pattern \"!.eslintrc.js\" --fix *.js src/**/*.ts* test/**/*.js *test/**/*.ts*",
"test": "cross-env NODE_ENV=development cross-env karma start karma.conf.js --single-run",
"test:watch": "cross-env NODE_ENV=development karma start karma.conf.js --no-single-run",
"test:watch:chrome": "cross-env NODE_ENV=development karma start karma.conf.js --no-single-run --browsers Chrome",
"preversion": "npm run eslint:fix && npm test && npm run clean && npm run build",
"version": "npm publish --access=public",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vlsergey/react-bootstrap-button-with-spinner.git"
},
"keywords": [
"react",
"button",
"bootstrap",
"spinner",
"autodisable",
"async",
"vlsergey"
],
"author": "Sergey Vladimirov <vlsergey@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/vlsergey/react-bootstrap-button-with-spinner/issues"
},
"homepage": "https://github.com/vlsergey/react-bootstrap-button-with-spinner#readme",
"devDependencies": {
"@vlsergey/js-config": "^8.1.0",
"react-bootstrap": "^1.0.0"
},
"peerDependencies": {
"react": ">=16.0",
"react-bootstrap": ">=1.0"
}
}