-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
119 lines (119 loc) · 3.45 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
{
"name": "@dhis2/multi-calendar-dates",
"version": "2.0.0",
"license": "BSD-3-Clause",
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "react-scripts start",
"build:types": "tsc --emitDeclarationOnly --outDir ./build/types",
"build:package": "d2-app-scripts build",
"build": "yarn build:package && yarn build:types",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "yarn d2-style check \"src/**\"",
"lint:staged": "yarn lint --staged",
"format": "yarn d2-style apply",
"format:staged": "yarn format --staged",
"cucumber": "NODE_OPTIONS=\"--loader ts-node/esm --no-warnings --experimental-specifier-resolution=node\" cucumber-js --require-module ts-node/register --require **/features/**/*.ts --tags=\"not @skip\""
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"files": [
"/build/**"
],
"main": "./build/cjs/index.js",
"module": "./build/es/index.js",
"types": "./build/types/index.d.ts",
"exports": {
"import": "./build/es/index.js",
"require": "./build/cjs/index.js"
},
"jest": {
"transformIgnorePatterns": [
"/!node_modules\\/@js-temporal/"
],
"collectCoverageFrom": [
"**/*.{js,jsx,ts,tsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/*.ts",
"!<rootDir>/coverage/**/*.*"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"dependencies": {
"@dhis2/d2-i18n": "^1.1.3",
"@js-temporal/polyfill": "0.4.3",
"classnames": "^2.3.2"
},
"peerDependencies": {
"react": "^16.8",
"react-dom": "^16.8"
},
"devDependencies": {
"@cucumber/cucumber": "^8.9.0",
"@dhis2/cli-app-scripts": "^10.2.0",
"@dhis2/cli-style": "^10.4.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.11.65",
"@types/react": "^16.8",
"@types/react-dom": "^16.8",
"@types/testing-library__react": "^10.2.0",
"@types/testing-library__react-hooks": "^4.0.0",
"jest-cucumber": "^3.0.1",
"react": "^16.14",
"react-dom": "^16.14",
"react-scripts": "5.0.1",
"ts-node": "^10.9.1",
"typescript": "4.4"
},
"release": {
"branches": [
{
"name": "main"
},
{
"name": "next",
"channel": "next"
},
{
"name": "beta",
"channel": "beta",
"prerelease": true
},
{
"name": "alpha",
"channel": "alpha",
"prerelease": true
}
]
}
}