-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
106 lines (106 loc) · 2.8 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
{
"name": "@42.nl/react-url",
"version": "3.1.0",
"description": "This library makes it easy to define URL's and type them with flow.",
"files": [
"lib"
],
"private": false,
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/42BV/mad-react-url.git"
},
"keywords": [
"react",
"react-router",
"query params",
"url creation"
],
"author": "Maarten Hus",
"license": "ISC",
"bugs": {
"url": "https://github.com/42BV/mad-react-url/issues"
},
"homepage": "https://github.com/42BV/mad-react-url#readme",
"dependencies": {
"query-string": "7.1.3",
"react-display-name": "0.2.5"
},
"peerDependencies": {
"react": "^17.0.1||^18"
},
"devDependencies": {
"@testing-library/react": "14.0.0",
"@types/enzyme": "3.10.12",
"@types/jest": "29.4.0",
"@types/lodash.reduce": "4.6.7",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@typescript-eslint/eslint-plugin": "5.52.0",
"@typescript-eslint/parser": "5.52.0",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"husky": "8.0.3",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jest-watch-typeahead": "2.2.2",
"lint-staged": "13.1.2",
"np": "7.6.3",
"prettier": "2.8.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-jest": "29.0.5",
"typescript": "4.9.5"
},
"scripts": {
"start": "jest --watch --coverage",
"clean": "rm -rf lib",
"test": "npm run lint && npm run test:ts && npm run test:coverage",
"test:ts": "tsc --version && tsc --noEmit",
"test:coverage": "jest test --no-cache --coverage",
"docs": "jekyll serve --source docs",
"tsc": "npm run clean && tsc --version && tsc",
"lint": "npm run lint:test && npm run lint:src",
"lint:test": "eslint \"tests/**\" --max-warnings=0",
"lint:src": "eslint \"src/**\" --max-warnings=0",
"release": "npm run tsc && np",
"dev:publish": "./scripts/dev-publish.sh",
"version": "npm run tsc && jekyll build"
},
"jest": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"roots": [
"src",
"tests"
],
"collectCoverageFrom": [
"./src/**/*.{ts,tsx}"
],
"setupFilesAfterEnv": [
"./tests/setupTests.ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"restoreMocks": true,
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"lint-staged": {
"{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [
"prettier --single-quote --trailingComma none --write"
]
}
}