-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.56 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
{
"name": "@42.nl/react-flash-messages",
"version": "2.0.2",
"description": "Storing flash messages via a nice api for use with React.",
"files": [
"lib"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/42BV/flash-messages.git"
},
"keywords": [
"react",
"flash-messages"
],
"author": "Maarten Hus",
"license": "ISC",
"bugs": {
"url": "https://github.com/42BV/flash-messages/issues"
},
"homepage": "https://github.com/42BV/flash-messages#readme",
"devDependencies": {
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@types/jest": "29.4.0",
"@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-react-app": "7.0.1",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"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",
"prepare": "husky install"
},
"jest": {
"preset": "ts-jest",
"roots": [
"src",
"tests"
],
"collectCoverageFrom": [
"./src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"restoreMocks": true,
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"testEnvironment": "jsdom"
},
"lint-staged": {
"{src,test}/**/*.{js,jsx,json,scss,tsx,ts}": [
"prettier --single-quote --trailing-comma none --write"
]
}
}