-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (112 loc) · 3.39 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
{
"name": "form5",
"version": "3.2.4",
"description": "A set of mostly unopinionated react components leveraging native APIs; supports controlled and uncontrolled state.",
"type": "module",
"files": [
"./lib/**/*"
],
"exports": {
"./composeData": {
"import": "./lib/composeData.js",
"types": "./lib/composeData.d.ts"
},
"./deepDiff": {
"import": "./lib/deepDiff.js",
"types": "./lib/deepDiff.d.ts"
},
"./package.json": {
"import": "./package.json",
"types": "./package.d.ts"
},
"./react": {
"import": "./lib/react/barrel.js",
"types": "./lib/react/barrel.d.ts"
},
"./react/Button": {
"import": "./lib/react/Button/Button.jsx",
"types": "./lib/react/Button/Button.d.ts"
},
"./react/Field": {
"import": "./lib/react/Field/Field.jsx",
"types": "./lib/react/Field/Field.d.ts"
},
"./react/FileInput": {
"import": "./lib/react/FileInput/FileInput.jsx",
"types": "./lib/react/FileInput/FileInput.d.ts"
},
"./react/Form": {
"import": "./lib/react/Form/Form.jsx",
"types": "./lib/react/Form/Form.d.ts"
}
},
"scripts": {
"build:demo": "rm -rf ./demo/build/* && node ./build.js",
"build:types": "find ./lib -name '*.d.ts' -delete && find ./lib -name '*.d.ts.map' -delete && tsc --project ./tsconfig.json",
"preversion": "npm run test:coverage",
"test": "c8 --check-coverage concurrently --kill-others-on-fail --prefix none npm:test:*",
"test:node": "NODE_ENV=test NODE_OPTIONS='--no-warnings --loader=nodejs-loaders/dev/tsx --loader=nodejs-loaders/testing/css-module --test-reporter=spec' node ./node.test.mjs",
"test:unit": "NODE_ENV=test NODE_OPTIONS='--no-warnings --loader=nodejs-loaders/dev/tsx --loader=nodejs-loaders/testing/css-module' mocha --extension '.spec.js' './lib'",
"test:ui": "NODE_ENV=test NODE_OPTIONS='--no-warnings --loader=nodejs-loaders/dev/tsx --loader=nodejs-loaders/testing/css-module' mocha --extension '.test.jsx' -require global-jsdom/register './lib'"
},
"repository": "github:JakobJingleheimer/react-form5",
"keywords": [
"a11y",
"constraints validation api",
"forms",
"jsx",
"react"
],
"author": "Jacob Smith",
"license": "ISC",
"bugs": {
"url": "https://github.com/JakobJingleheimer/react-form5/issues"
},
"homepage": "https://github.com/JakobJingleheimer/react-form5#readme",
"dependencies": {
"lodash-es": "^4.17.21"
},
"peerDependencies": {
"clsx": "*",
"react": "17 - 18",
"react-dom": "17 - 18"
},
"devDependencies": {
"@testing-library/react": "^14.0.0",
"c8": "^7.14.0",
"chai": "^4.3.7",
"clsx": "*",
"concurrently": "^8.1.0",
"css-parse": "^2.0.0",
"esbuild": "^0.19.5",
"esbuild-css-modules-plugin": "^2.7.1",
"global-jsdom": "^9.0.1",
"jsdom": "^22.1.0",
"mocha": "^10.2.0",
"nodejs-loaders": "github:JakobJingleheimer/nodejs-loaders",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"reset.css": "^2.0.2",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=18.6.0"
},
"c8": {
"branches": 95,
"exclude": [
"loaders/*",
"*.setup.*",
"**/*.fixture.js",
"**/*.spec.{js,cjs,mjs,ts,tsx,jsx}",
"**/*.test.{js,cjs,mjs,ts,tsx,jsx}"
]
},
"mocha": {
"file": [
"./mocha.setup.js"
],
"inline-diffs": false,
"recursive": true
}
}