UNPKG

rc-slider-captcha

Version:
127 lines (126 loc) 3.63 kB
{ "name": "rc-slider-captcha", "version": "1.9.0", "description": "React slider captcha component.", "keywords": [ "react", "component", "slider-captcha" ], "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "types/index.d.ts", "files": [ "dist", "types" ], "scripts": { "test": "jest", "start": "dumi dev", "docs:build": "dumi build", "build": "rm -rf dist && rollup -c && npm run build:types", "build:types": "rm -rf types && tsc -p tsconfig.types.json", "lint": "npm run lint:js && npm run lint:style", "lint:js": "eslint .", "lint-fix:js": "npm run lint:js -- --fix", "lint:style": "stylelint src/**/*.less", "lint-fix:style": "npm run lint:stylelint -- --fix", "prettier": "prettier -w \"**/*.{js,jsx,tsx,ts,less,md,json}\"", "prepublishOnly": "npm run build && npm test", "commit": "cz", "tsc": "tsc --noEmit", "prepare": "husky && dumi setup" }, "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } }, "lint-staged": { "**/*.{css,less}": "stylelint --fix", "**/*.{js,jsx,ts,tsx}": "eslint", "*.{js,jsx,ts,tsx,less,md,json}": "prettier -w" }, "repository": { "type": "git", "url": "git+https://github.com/caijf/rc-slider-captcha.git" }, "author": "caijf", "license": "MIT", "bugs": { "url": "https://github.com/caijf/rc-slider-captcha/issues" }, "homepage": "https://github.com/caijf/rc-slider-captcha#readme", "dependencies": { "classnames": "^2.5.1", "rc-hooks": "^3.2.0", "tslib": "^2.8.1" }, "devDependencies": { "@babel/core": "^7.28.5", "@babel/preset-env": "^7.28.5", "@babel/preset-react": "^7.28.5", "@babel/preset-typescript": "^7.28.5", "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@commitlint/cz-commitlint": "^19.8.1", "@eslint/js": "^9.39.1", "@rollup/plugin-commonjs": "^28.0.9", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-typescript": "^12.3.0", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.0", "@types/jest": "^30.0.0", "@types/react": "^18.3.23", "@types/react-dom": "^18.3.7", "antd": "^5.29.1", "autoprefixer": "^10.4.22", "babel-jest": "^30.2.0", "commitizen": "^4.3.1", "create-puzzle": "^3.0.3", "doly-icons": "^1.8.0", "dumi": "^2.4.21", "eslint": "^9.39.1", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.24", "globals": "^16.5.0", "husky": "^9.1.7", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "less": "^4.4.2", "lint-staged": "^15.5.2", "postcss": "^8.5.6", "postcss-css-variables": "^0.19.0", "prettier": "^3.7.4", "prettier-plugin-two-style-order": "^1.0.1", "react": "^18.3.1", "react-dom": "^18.3.1", "rollup": "^4.53.3", "rollup-plugin-postcss": "^4.0.2", "stylelint": "^16.26.1", "stylelint-config-css-modules": "^4.5.1", "stylelint-config-standard": "^38.0.0", "stylelint-declaration-block-no-ignored-properties": "^2.8.0", "stylelint-no-unsupported-browser-features": "^8.0.5", "typescript": "^5.9.3", "typescript-eslint": "^8.48.1", "ut2": "^1.21.0" }, "peerDependencies": { "react": ">=16.9.0" }, "browserslist": { "development": [ "last 1 version" ], "production": [ "last 1 version", "> 1%", "ie 11" ] }, "publishConfig": { "registry": "https://registry.npmjs.org/" } }