-
Notifications
You must be signed in to change notification settings - Fork 174
/
package.json
171 lines (171 loc) · 4.75 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "informed",
"version": "4.60.5",
"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": "[email protected]",
"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",
"@babel/traverse": "^7.23.2",
"@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-markdown": "^9.0.0",
"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.5.2",
"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"
},
"optionalDependencies": {
"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/"
}
}