-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
132 lines (132 loc) · 3.59 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
{
"name": "@knightburton/react-interval-calendar",
"version": "3.1.0",
"description": "Infinite scrolling based calendar for interval dates built with React.",
"author": {
"name": "Imre Kiss"
},
"contributors": [
{
"name": "Norbert Nemeth"
}
],
"homepage": "https://github.com/knightburton/react-interval-calendar#readme",
"license": "MIT",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/knightburton/react-interval-calendar.git"
},
"main": "dist/index.min.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"source": "src/index.js",
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"keywords": [
"calendar",
"date",
"dates",
"infinite-scroll",
"interval-calendar",
"interval-dates",
"react",
"react-hooks",
"scroll"
],
"scripts": {
"start": "rollup -c -w",
"build": "npm run clean:dist && npm run prepare:build",
"clean:dist": "rm -rf dist",
"prepare:build": "rollup -c",
"jest": "jest --coverage",
"jest:watch": "jest --watch --coverage",
"lint": "eslint --ext .jsx,.js,.tsx,.ts src/",
"test": "npm run lint && npm run jest",
"prettier:check": "prettier --check src/",
"prettier:write": "prettier --write src/"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.5",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-url": "^8.0.2",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"eslint": "^8.51.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"less": "^4.2.0",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.0.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"jest": {
"verbose": false,
"testEnvironment": "jsdom",
"coverageReporters": [
"text"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"setupFilesAfterEnv": [
"<rootDir>/__tests__/setupTests.ts"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/dist/",
"<rootDir>/__tests__/testUtils.ts",
"<rootDir>/__tests__/setupTests.ts"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/",
"<rootDir>/dist/",
"<rootDir>/__tests__/testUtils.ts",
"<rootDir>/__tests__/setupTests.ts"
]
}
}