UNPKG

react-styled-toggle

Version:
94 lines (93 loc) 2.59 kB
{ "name": "react-styled-toggle", "version": "1.1.0", "description": "Customizable toggle button", "main": "lib/index.js", "files": [ "lib" ], "watch": { "build": "{src,test}/*.js" }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix" ] }, "scripts": { "watch": "npm-watch", "typecheck": "tsc", "clean": "if [ -d ./lib ]; then rm -r ./lib; fi;mkdir ./lib;", "build-js": "tsc", "build": "npm run clean; npm run build-js", "lint": "eslint 'src/**/*.{js,ts,tsx}'", "test": "jest", "coverage": "jest --coverage", "prepare": "npm run build", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "author": "Guillaume Morin", "license": "ISC", "devDependencies": { "@babel/cli": "^7.22.10", "@babel/core": "^7.22.10", "@babel/preset-env": "^7.22.10", "@babel/preset-react": "^7.22.5", "@babel/preset-typescript": "^7.22.5", "@storybook/addon-essentials": "^7.2.1", "@storybook/addon-interactions": "^7.2.1", "@storybook/addon-links": "^7.2.1", "@storybook/addon-onboarding": "^1.0.8", "@storybook/blocks": "^7.2.1", "@storybook/react": "^7.2.1", "@storybook/react-webpack5": "^7.2.1", "@storybook/testing-library": "^0.2.0", "@types/react": "^18.2.19", "@types/styled-components": "^5.1.26", "@typescript-eslint/eslint-plugin": "^6.3.0", "@typescript-eslint/parser": "^6.3.0", "babel-eslint": "^10.0.3", "babel-jest": "^29.6.2", "babel-loader": "^9.1.3", "babel-runtime": "^6.26.0", "eslint": "^8.46.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.33.1", "eslint-plugin-storybook": "^0.6.13", "jest": "^29.6.2", "npm-watch": "^0.11.0", "prettier": "^3.0.1", "pretty-quick": "^3.1.3", "react-test-renderer": "^18.2.0", "regenerator-runtime": "^0.14.0", "storybook": "^7.2.1", "typescript": "^5.1.6" }, "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", "styled-components": "^6.0.7" }, "repository": { "type": "git", "url": "git+https://github.com/guillaumemorin/react-styled-toggle.git" }, "bugs": { "url": "https://github.com/guillaumemorin/react-styled-toggle/issues" }, "homepage": "https://github.com/guillaumemorin/react-styled-toggle#readme", "keywords": [ "react", "toggle", "button", "typescript", "styled-components" ], "eslintConfig": { "extends": [ "plugin:storybook/recommended" ] } }