-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.12 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
{
"name": "react-typescript-package-template",
"version": "0.1.0",
"main": "dist/react-typescript-package-template.cjs.js",
"module": "dist/react-typescript-package-template.esm.js",
"author": "Philippe Aka <hello@philippeaka.com>",
"license": "MIT",
"description": "Add the description of your package",
"keywords": [
"react",
"typescript",
"keywords"
],
"homepage": "hhttps://github.com/philippeaka",
"repository": "https://github.com/philippeaka",
"scripts": {
"build": "preconstruct build",
"dev": "preconstruct dev",
"lint": "eslint ./src --ext .ts,.tsx",
"prepare": "husky install",
"release": "changeset publish",
"test": "jest",
"watch": "preconstruct watch"
},
"jest": {
"testEnvironment": "jest-environment-jsdom",
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.ts"
]
},
"peerDependencies": {
"react": "16.x || 17.x"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@preconstruct/cli": "^2.1.5",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.1.1",
"@types/jest": "^27.5.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"babel-jest": "^28.1.0",
"eslint": "^8.15.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^8.0.0",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"lint-staged": ">=10",
"prettier": "^2.6.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"typescript": "^4.6.4"
},
"dependencies": {
"@changesets/cli": "^2.22.0"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
}
}