-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
168 lines (168 loc) · 6.27 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
{
"name": "@codistica/react-forms",
"version": "1.0.0",
"license": "MIT",
"description": "Codistica React Forms.",
"keywords": [
"codistica, react, forms, library"
],
"author": {
"name": "Codistica",
"email": "[email protected]",
"url": "https://github.com/codistica"
},
"contributors": [
{
"name": "Ernesto Stifano",
"email": "[email protected]",
"url": "https://github.com/ernestostifano",
"gpg": true,
"gpgKeyID": "1EA8A4331C50202C"
}
],
"domains": [
"codistica.com"
],
"homepage": "https://www.codistica.com",
"repository": {
"type": "git",
"url": "https://github.com/codistica/codistica-react-forms.git"
},
"bugs": {
"url": "https://github.com/codistica/codistica-react-forms/issues"
},
"types": "./types/index.d.ts",
"module": "./esm/index.js",
"main": "./cjs/index.js",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./esm/index.js",
"require": "./cjs/index.js",
"default": "./esm/index.js"
}
},
"directories": {},
"files": [
"cjs",
"esm",
"types",
"!*.test.*",
"!**/jest.setup.*"
],
"packageManager": "[email protected]",
"engines": {
"node": ">=17.0.0"
},
"browserslist": {
"production": [
"last 3 years"
],
"development": [
"last 1 version"
]
},
"scripts": {
"build": "yarn run build:cjs && yarn run build:esm && yarn run build:types",
"build:cjs": "cross-env NODE_ENV=production cross-env NPM_CONFIG_ESM=false babel ./src --out-dir ./cjs --copy-files --no-copy-ignored --source-maps --extensions \".ts,.tsx,.js,.jsx\"",
"build:esm": "cross-env NODE_ENV=production cross-env NPM_CONFIG_ESM=true babel ./src --out-dir ./esm --copy-files --no-copy-ignored --source-maps --extensions \".ts,.tsx,.js,.jsx\"",
"build:types": "tsc --project ./tsconfig.json",
"build:storybook": "build-storybook",
"cleanup": "rimraf cjs esm types .test ./node_modules .eslintcache",
"format": "prettier --loglevel warn --write \"**/*.{ts,tsx,js,json,md,yml}\"",
"lint": "yarn run lint:code && yarn run lint:types",
"lint:code": "eslint \"**/*.{js,ts,tsx}\" --cache",
"lint:code-fix": "eslint \"**/*.{js,ts,tsx}\" --cache --fix",
"lint:commit": "node ./scripts/lint-commit.js",
"lint:commits": "node ./scripts/lint-commits.js",
"lint:no-diff": "node ./scripts/lint-no-diff.js",
"lint:format": "prettier --loglevel warn --check \"**/*.{ts,tsx,js,json,md,yml}\"",
"lint:types": "tsc --project ./tsconfig.lint.json",
"postinstall": "husky install",
"postpack": "pinst --enable",
"prepack": "yarn run cleanup && yarn run format && yarn run lint && yarn run build && yarn run test:ci && pinst --disable",
"start": "start-storybook -p 6006",
"test": "yarn run test:unit",
"test:ci": "yarn run test:unit-ci",
"test:unit": "jest",
"test:unit-ci": "jest --ci --bail --watchAll=false",
"uninstall": "yarn run cleanup && rimraf ./.pnp.loader.mjs ./.pnp.cjs ./.yarn/cache"
},
"dependencies": {
"@babel/runtime": "^7.20.13",
"core-js-pure": "^3.27.2"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/eslint-parser": "^7.19.1",
"@babel/eslint-plugin": "^7.19.1",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.20.5",
"@babel/plugin-syntax-jsx": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-docs": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
"@storybook/builder-webpack5": "^6.5.16",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^6.5.16",
"@storybook/testing-library": "^0.0.13",
"@testing-library/dom": "^8.20.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/babel__core": "^7",
"@types/babel__plugin-transform-runtime": "^7",
"@types/babel__preset-env": "^7",
"@types/eslint": "^8",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@types/prettier": "^2",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/testing-library__jest-dom": "^5",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"babel-jest": "^29.4.1",
"babel-loader": "^8.3.0",
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
"babel-plugin-polyfill-corejs3": "^0.6.0",
"confusing-browser-globals": "^1.0.11",
"cross-env": "^7.0.3",
"escape-string-regexp": "^4.0.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.32.1",
"eslint-plugin-react-hooks": "^4.6.0",
"espree": "^9.4.1",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jest-junit": "^15.0.0",
"lint-staged": "^13.1.1",
"pinst": "^3.0.0",
"prettier": "^2.8.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^4.1.2",
"typescript": "^4.9.4",
"webpack": "^5.75.0"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}