UNPKG

rc-slider-captcha

Version:
128 lines (127 loc) 3.75 kB
{ "name": "rc-slider-captcha", "version": "1.7.2", "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 --ext .js,.jsx,.ts,.tsx src", "lint-fix:js": "npm run lint:js -- --fix", "lint:style": "stylelint src/**/*.less", "lint-fix:style": "npm run lint:stylelint -- --fix", "prettier": "prettier --write \"**/*.{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.0.15", "tslib": "^2.8.1" }, "devDependencies": { "@babel/core": "~7.22.20", "@babel/preset-env": "~7.22.20", "@babel/preset-react": "~7.22.15", "@babel/preset-typescript": "~7.22.15", "@commitlint/cli": "^19.6.0", "@commitlint/config-conventional": "^19.6.0", "@commitlint/cz-commitlint": "^19.5.0", "@rollup/plugin-commonjs": "^25.0.8", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-typescript": "^11.1.6", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^14.3.1", "@types/jest": "^29.5.14", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "antd": "^5.22.2", "autoprefixer": "^10.4.20", "babel-jest": "^29.7.0", "commitizen": "^4.3.1", "create-puzzle": "^3.0.2", "doly-icons": "^1.5.5", "dumi": "^2.0.0", "eslint": "^8.57.1", "eslint-plugin-react": "^7.37.2", "eslint-plugin-react-hooks": "^4.6.2", "husky": "^9.1.7", "inquirer": "^9.3.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "less": "^4.2.1", "lint-staged": "^15.2.10", "postcss": "^8.4.49", "postcss-css-variables": "^0.19.0", "prettier": "^3.4.0", "prettier-plugin-two-style-order": "^1.0.1", "react": "^18.3.1", "react-dom": "^18.3.1", "rollup": "^4.27.4", "rollup-plugin-postcss": "^4.0.2", "stylelint": "^14.16.1", "stylelint-config-css-modules": "~4.2.0", "stylelint-config-prettier": "^9.0.5", "stylelint-config-rational-order": "^0.1.2", "stylelint-config-standard": "^28.0.0", "stylelint-declaration-block-no-ignored-properties": "^2.8.0", "stylelint-no-unsupported-browser-features": "^5.0.4", "typescript": "^5.7.2", "ut2": "^1.14.0" }, "peerDependencies": { "react": ">=16.9.0" }, "browserslist": { "development": [ "last 1 version" ], "production": [ "last 1 version", "> 1%", "ie 11" ] }, "publishConfig": { "registry": "https://registry.npmjs.org/" } }