@kisstar/rc-ui
Version:
UI component library built with React Hooks.
196 lines (195 loc) • 5.74 kB
JSON
{
"name": "@kisstar/rc-ui",
"version": "0.2.0",
"private": false,
"description": "UI component library built with React Hooks.",
"title": "RC UI",
"keywords": [
"frontend",
"kisstar",
"rc-ui",
"react",
"ui",
"component"
],
"homepage": "https://dongwanhong.gitee.io/rc-ui",
"repository": {
"type": "git",
"url": "https://github.com/kisstar/rc-ui.git"
},
"files": [
"dist"
],
"sideEffects": [
"dist/*",
"*.scss"
],
"main": "dist/index.js",
"module": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"start": "react-scripts start",
"start:doc": "start-storybook -p 6006 -s public",
"build": "rimraf ./dist && concurrently yarn:build:*",
"build:module": "tsc -p tsconfig.build.json",
"build:style": "node-sass ./src/styles/index.scss ./dist/index.css",
"build-page": "react-scripts build",
"build-docs": "rimraf ./tmp/docs && build-storybook -s public -o ./tmp/docs",
"test": "react-scripts test",
"test:cov": "rimraf ./coverage && yarn test --coverage --watchAll=false",
"test:ci": "cross-env CI=true react-scripts test",
"eject": "react-scripts eject",
"lint": "concurrently yarn:lint:*",
"lint:html": "htmlhint --config .htmlhintrc.json public/**/*.{htm,html}",
"lint:style": "stylelint \"src/**/*.{css,scss}\"",
"lint:es": "eslint \"src/**/*.{ts,tsx,js,jsx}\"",
"lint:md": "markdownlint **/*.md",
"lint:prettier": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"prettier": "prettier -c --write \"**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"commit": "git-cz",
"release": "standard-version",
"predeploy": "yarn run build-docs",
"deploy:gitee": "gh-pages -d tmp/docs -b master -r https://gitee.com/dongwanhong/rc-ui.git",
"deploy:github": "gh-pages -d tmp/docs -b gh-pages -r https://github.com/kisstar/rc-ui.git",
"deploy": "concurrently yarn:deploy:*",
"prepublishOnly": "yarn lint && yarn test:ci && yarn build"
},
"peerDependencies": {
"react": ">=16.13.1",
"react-dom": ">=16.13.1"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.30",
"@fortawesome/free-solid-svg-icons": "^5.14.0",
"@fortawesome/react-fontawesome": "^0.1.11",
"classnames": "^2.2.6",
"normalize.css": "^8.0.1",
"react-transition-group": "^4.4.1"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"eslintConfig": {
"extends": [
"react-app",
"airbnb-typescript",
"plugin:prettier/recommended"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"error"
],
"react/jsx-one-expression-per-line": "off",
"react/prop-types": "off",
"@typescript-eslint/indent": "off",
"react/jsx-props-no-spreading": "off",
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
]
}
},
"jest": {
"coveragePathIgnorePatterns": [
"/node_modules/",
"src/stories",
"src/pages",
"\\.demo\\.tsx",
"src/App.tsx",
"src/index.tsx"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"bugs": {
"url": "https://github.com/kisstar/rc-ui/issues"
},
"devDependencies": {
"@babel/core": "^7.11.1",
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^9.1.1",
"@storybook/addon-actions": "^6.0.10",
"@storybook/addon-essentials": "^6.0.10",
"@storybook/addon-links": "^6.0.10",
"@storybook/node-logger": "^6.0.10",
"@storybook/preset-create-react-app": "^3.1.4",
"@storybook/react": "^6.0.10",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/classnames": "^2.2.10",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-transition-group": "^4.4.0",
"@types/testing-library__dom": "6.14.0",
"@types/testing-library__react": "10.0.0",
"babel-loader": "^8.1.0",
"commitizen": "^4.1.2",
"concurrently": "^5.3.0",
"cross-env": "^7.0.2",
"cz-conventional-changelog": "^3.2.0",
"eslint-config-airbnb-typescript": "^8.0.2",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"gh-pages": "^3.1.0",
"htmlhint": "^0.14.1",
"husky": ">=4",
"lint-staged": ">=10",
"markdownlint": "^0.20.4",
"markdownlint-cli": "^0.23.2",
"node-sass": "^4.14.1",
"prettier": "2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-is": "^16.13.1",
"react-scripts": "3.4.1",
"rimraf": "^3.0.2",
"standard-version": "^8.0.2",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-sass-guidelines": "^7.0.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.1.2",
"typescript": "~3.7.2"
},
"author": "kisstar <dwh.chn@foxmail.com>",
"license": "MIT"
}