@alifd/field
Version:
Fields can be used to manage data when it comes to form data manipulation and validation. After being associated with a component, the form data can be automatically written back, read, and verified.
135 lines (134 loc) • 3.71 kB
JSON
{
"name": "@alifd/field",
"version": "2.0.4",
"description": "Fields can be used to manage data when it comes to form data manipulation and validation. After being associated with a component, the form data can be automatically written back, read, and verified.",
"files": [
"demo/",
"es/",
"lib/",
"build/"
],
"main": "lib/index.js",
"module": "es/index.js",
"stylePath": "style.js",
"scripts": {
"start": "build-scripts dev",
"build": "npm run build:demo && npm run build:es && npm run build:lib",
"build:demo": "build-scripts build",
"build:es": "rm -rf es && tsc -p ./tsconfig.build.json --outDir es --module esnext",
"build:lib": "rm -rf lib && tsc -p ./tsconfig.build.json --outDir lib --module commonjs",
"prepublishOnly": "npm run build",
"test": "cypress run --component -b chrome",
"test:head": "cypress open --component -b chrome",
"precommit": "lint-staged"
},
"lint-staged": {
"@(src|test)/**/*.@(ts|tsx)": [
"eslint"
],
"**/*.@(js|ts|tsx|json)": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"license": "MIT",
"keywords": [
"react",
"component"
],
"dependencies": {
"@alifd/validate": "^2.0.2",
"tslib": "^2.6.2"
},
"devDependencies": {
"@alib/build-scripts": "^0.1.3",
"@alifd/eslint-config-next": "^2.0.0",
"@alifd/next": "^1.15.12",
"@commitlint/cli": "^8.1.0",
"@types/chai": "^4.3.11",
"@types/react": "^16.14.56",
"@types/react-dom": "^16.9.24",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitejs/plugin-react": "^4.2.1",
"build-plugin-component": "^1.0.0",
"build-plugin-fusion": "^0.1.0",
"build-plugin-moment-locales": "^0.1.0",
"chai": "^4.4.1",
"cypress": "^13.6.4",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"es6-promise-polyfill": "^1.2.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-react": "^7.14.2",
"eslint-plugin-tsdoc": "^0.2.17",
"husky": "^3.0.0",
"lint-staged": "^9.2.0",
"mocha": "^6.1.4",
"moment": "^2.24.0",
"prettier": "^3.2.4",
"prop-types": "^15.8.1",
"react": "^16.3.0",
"react-dom": "^16.8.6",
"react-redux": "^7.1.0",
"redux": "^4.0.4",
"semantic-release": "^17.2.3",
"sinon": "^16.1.3",
"typescript": "^4.9.5",
"vite": "^4.5.2"
},
"componentConfig": {
"name": "field",
"title": "Field",
"categories": [
"表单"
]
},
"homepage": "https://unpkg.com/@alifd/field@2.0.4/build/index.html",
"bugs": "https://github.com/alibaba-fusion/field/issues",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba-fusion/field.git"
},
"release": {
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{
"type": "typescript",
"release": "patch"
},
{
"type": "revert",
"release": "patch"
}
],
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES"
]
}
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
}
}