rc-slider-captcha
Version:
React slider captcha component.
127 lines (126 loc) • 3.64 kB
JSON
{
"name": "rc-slider-captcha",
"version": "1.8.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.0.15",
"tslib": "^2.8.1"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@commitlint/cz-commitlint": "^19.8.1",
"@eslint/js": "^9.32.0",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@types/jest": "^30.0.0",
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"antd": "^5.26.6",
"autoprefixer": "^10.4.21",
"babel-jest": "^30.0.5",
"commitizen": "^4.3.1",
"create-puzzle": "^3.0.3",
"doly-icons": "^1.8.0",
"dumi": "^2.4.21",
"eslint": "^9.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"husky": "^9.1.7",
"jest": "^30.0.5",
"jest-environment-jsdom": "^30.0.5",
"less": "^4.4.0",
"lint-staged": "^15.5.2",
"postcss": "^8.5.6",
"postcss-css-variables": "^0.19.0",
"prettier": "^3.6.2",
"prettier-plugin-two-style-order": "^1.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^4.46.1",
"rollup-plugin-postcss": "^4.0.2",
"stylelint": "^16.22.0",
"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.4",
"typescript": "^5.8.3",
"typescript-eslint": "^8.38.0",
"ut2": "^1.20.1"
},
"peerDependencies": {
"react": ">=16.9.0"
},
"browserslist": {
"development": [
"last 1 version"
],
"production": [
"last 1 version",
"> 1%",
"ie 11"
]
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}