react-three-state-checkbox
Version:
React component for checkbox that supports the indeterminate state conveniently. Edit
83 lines (82 loc) • 2.24 kB
JSON
{
"name": "react-three-state-checkbox",
"version": "3.0.0",
"description": "React component for checkbox that supports the indeterminate state conveniently. Edit",
"main": "lib/index.js",
"scripts": {
"build": "rm -rf ./lib && tsc",
"prepare": "is-ci || husky install && npm run test && npm run lint && npm run build",
"test": "jest --coverage",
"lint": "eslint ./src --ext .ts,.tsx"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jchiam/react-three-state-checkbox.git"
},
"keywords": [
"react",
"typescript",
"checkbox",
"indeterminate"
],
"author": "Jonathan Chiam",
"license": "MIT",
"bugs": {
"url": "https://github.com/jchiam/react-three-state-checkbox/issues"
},
"homepage": "https://github.com/jchiam/react-three-state-checkbox#readme",
"files": [
"lib",
"index.d.ts",
"LICENSE"
],
"jest": {
"testEnvironment": "jest-environment-jsdom",
"setupFilesAfterEnv": [
"<rootDir>/tests/utils/jestSetup.js"
],
"collectCoverage": true,
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"**/*spec.(ts|tsx)"
]
},
"devDependencies": {
"@jchiam/eslint-config": "^3.0.3",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.0.4",
"@types/jest": "^28.1.6",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"codecov": "^3.6.5",
"eslint": "^8.11.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jest": "^26.1.2",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.0.0",
"husky": "^8.0.0",
"is-ci": "^3.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"ts-jest": "^28.0.7",
"typescript": "^4.6.2"
},
"peerDependencies": {
"react": "16 || 17 || 18",
"react-dom": "16 || 17 || 18"
}
}