-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
125 lines (125 loc) · 3.29 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "reacto-form",
"version": "1.5.1",
"description": "A reference implementation of the Composable Form Specification for React (see https://composableforms.netlify.app)",
"author": "Long Shot Labs (https://www.longshotlabs.co/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/longshotlabs/reacto-form.git"
},
"bugs": {
"url": "https://github.com/longshotlabs/reacto-form/issues"
},
"homepage": "https://github.com/longshotlabs/reacto-form",
"files": [
"CHANGELOG.md",
"cjs",
"esm",
"LICENSE",
"README.md"
],
"browserslist": [
"last 2 version",
"> 1%",
"maintained node versions",
"not dead"
],
"eslintConfig": {
"extends": [
"airbnb-base",
"plugin:jsx-a11y/recommended",
"plugin:react/recommended",
"prettier"
],
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"jest": true
},
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"arrow-body-style": 0,
"consistent-return": 0,
"max-len": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"no-use-before-define": [
2,
"nofunc"
],
"no-unused-expressions": 0,
"no-console": 0,
"space-before-function-paren": 0,
"react/prefer-stateless-function": 0,
"react/destructuring-assignment": 0,
"react/no-multi-comp": 0,
"react/jsx-filename-extension": 0,
"jsx-a11y/href-no-hash": "off",
"jsx-a11y/anchor-is-valid": [
"warn",
{
"aspects": [
"invalidHref"
]
}
]
}
},
"jest": {
"setupFilesAfterEnv": [
"raf/polyfill",
"<rootDir>/jestSetup.js"
],
"testEnvironment": "jsdom"
},
"main": "./cjs/index.js",
"module": "./esm/index.js",
"scripts": {
"build": "npm run build:modules && npm run build:common",
"build:common": "rm -rf cjs/** && BABEL_ENV=production babel lib --out-dir cjs",
"build:modules": "rm -rf esm/** && BABEL_ENV=production BABEL_MODULES=1 babel lib --out-dir esm",
"lint": "BABEL_ENV=test eslint ./lib",
"prepublishOnly": "npm run lint && npm test && npm run build",
"test": "jest ./lib"
},
"peerDependencies": {
"react": ">=16.8 || >=17"
},
"dependencies": {
"@babel/runtime": "^7.16.3",
"clone": "^2.1.2",
"lodash": "^4.17.20",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-proposal-class-properties": "^7.16.0",
"@babel/plugin-transform-runtime": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.16.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.5",
"composable-form-tests": "^1.1.0",
"core-js": "^3.19.1",
"enzyme": "^3.11.0",
"eslint": "^8.2.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.0",
"jest": "^27.3.1",
"jsdom": "^18.1.0",
"raf": "^3.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"reacto-form-inputs": "^1.2.0"
}
}