1 Star 0 Fork 1

fangminglee/Informed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.66 KB
一键复制 编辑 原始数据 按行查看 历史
joepuzzo 提交于 2023-09-16 19:29 . 4.51.3
{
"name": "informed",
"version": "4.51.3",
"description": "A lightweight framework and utility for building powerful forms in React applications",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "index.d.ts",
"files": [
"dist/",
"index.d.ts"
],
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": {
"start": "vite",
"build": "rm -rf dist && rollup --config && npm run fix:cjs",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ts": "npx tsd",
"preversion": "npm run test",
"version": "npm run build",
"postversion": "git push",
"postpublish": "git push --tags",
"start:storybook": "npm run storybook -s public",
"storybook": "start-storybook -p 9001 -c .storybook",
"storybook:docs": "build-storybook -c .storybook -s public -o docs",
"build:docs": "rm -r docs/ && npm run build:docs:vite && build-storybook -c .storybook -o docs/olddocs && cp vitedocs/404.html docs",
"prettier": "prettier --write 'src/**/*.{js,md}' 'tests/**/*.{js,md}' 'stories/**/*.{js,md}'",
"pretty-quick": "pretty-quick",
"lint:fix": "eslint src/** tests/** stories/** --fix",
"dev": "vite",
"build:docs:vite": "vite build",
"preview": "vite preview",
"fix:cjs": "cp ./cjs-package.json.txt ./dist/cjs/package.json"
},
"jest": {
"verbose": true,
"testRegex": "/__tests__/.*",
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"./jest.setup.js"
],
"collectCoverageFrom": [
"src/**/*.js"
]
},
"repository": {
"type": "git",
"url": "https://github.com/teslamotors/informed.git"
},
"author": {
"name": "Joseph Puzzo",
"email": "jgpuzzo2@gmail.com",
"url": "http://joepuzzo.github.io"
},
"keywords": [
"form",
"react-form",
"forms",
"informed",
"react",
"hooks",
"validation",
"reactjs",
"redux",
"react-redux",
"redux-form"
],
"license": "ISC",
"devDependencies": {
"@adobe/react-spectrum": "^3.24.1",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/preset-env": "^7.15.4",
"@babel/preset-react": "^7.0.0",
"@codesandbox/sandpack-react": "^2.6.1",
"@emotion/core": "^10.0.10",
"@emotion/styled": "^10.0.10",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "^13.0.4",
"@spectrum-css/page": "^5.0.15",
"@spectrum-css/sidenav": "^3.0.30",
"@spectrum-css/typography": "^4.0.25",
"@spectrum-css/vars": "^9.0.8",
"@spectrum-icons/workflow": "^4.1.0",
"@storybook/addon-options": "^5.3.21",
"@storybook/addons": "^6.5.12",
"@storybook/react": "^6.5.12",
"@storybook/theming": "^6.5.12",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@vitejs/plugin-react": "^3.1.0",
"ajv": "^6.12.6",
"ajv-errors": "^1.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-emotion": "^9.2.6",
"babel-plugin-macros": "^2.4.0",
"core-js": "^2.5.7",
"eslint": "^7.26.0",
"eslint-plugin-react": "^7.10.0",
"html-loader": "^0.5.5",
"husky": "^4.3.0",
"istanbul-instrumenter-loader": "^3.0.1",
"jest": "^27.1.0",
"jsdom": "^11.12.0",
"lint-staged": "^10.5.1",
"patch-package": "^5.1.1",
"prettier": "1.14.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-live": "^2.2.3",
"react-prism": "^4.3.2",
"react-router-dom": "^6.9.0",
"regenerator-runtime": "^0.13.9",
"rollup": "^2.56.3",
"storybook-dark-mode": "^1.1.2",
"storybook-readme": "^5.0.9",
"style-loader": "^0.22.1",
"tsd": "^0.18.0",
"universal-dotenv": "^1.8.3",
"vite": "^4.2.0",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^3.7.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^4.7.4",
"webpack-node-externals": "^1.7.2",
"yup": "^0.28.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"nyc": {
"instrument": false,
"sourceMap": false,
"include": [
"src/**/*.js"
],
"exclude": [
"config",
"tests",
"src/index.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"src/*.js": "eslint --cache --fix",
"src/*.{js,css,md}": "prettier --write"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/fangminglee/Informed.git
git@gitee.com:fangminglee/Informed.git
fangminglee
Informed
Informed
master

搜索帮助