-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
95 lines (95 loc) · 2.46 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
{
"name": "@seegno/react-forms",
"version": "0.15.0",
"description": "",
"keywords": [
"form",
"forms",
"react"
],
"repository": {
"type": "git",
"url": "https://github.com/seegno/react-forms.git"
},
"license": "MIT",
"author": {
"name": "Seegno",
"email": "[email protected]",
"url": "https://seegno.com"
},
"main": "dist/index.js",
"scripts": {
"bundle": "rm -rf dist && babel src --out-dir dist",
"changelog": "github_changelog_generator --no-issues --header-label='# Changelog' --future-release=v$npm_config_future_release && sed -i '' -e :a -e '$d;N;2,4ba' -e 'P;D' CHANGELOG.md",
"coverage": "jest --coverage",
"lint": "eslint .",
"lint-staged": "lint-staged",
"test": "jest",
"test-watch": "jest --watch --notify --onlyChanged",
"version": "NODE_ENV=production npm run bundle && npm run changelog --future-release=$npm_package_version && git add -A CHANGELOG.md dist"
},
"pre-commit": [
"lint-staged"
],
"lint-staged": {
"(src|test)/**/*.js": [
"jest --findRelatedTests"
],
"**/*.js": [
"eslint"
],
"package.json": [
"sort-package-json",
"git add"
],
"src/**/*.js": [
"flow focus-check --quiet"
]
},
"jest": {
"coverageDirectory": "coverage",
"coverageReporters": [
"html",
"lcov",
"text"
],
"modulePaths": [
"<rootDir>/src/"
],
"setupFilesAfterEnv": [
"./test/utils/setup.js"
],
"testRegex": "(test/.*\\.test.js)$"
},
"dependencies": {
"ajv": "^8.6.2",
"lodash": "^4.17.20"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.7.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/react-hooks": "^3.2.1",
"babel-plugin-module-resolver": "^3.2.0",
"eslint": "^5.16.0",
"eslint-config-seegno": "^15.0.0",
"flow-bin": "^0.112.0",
"flow-typed": "^2.6.2",
"jest": "^24.9.0",
"lint-staged": "^9.4.3",
"pre-commit": "^1.2.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^16.12.0",
"sort-package-json": "^1.23.1"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
}