-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 2.08 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
{
"name": "@mainframework/api-reqpuest-provider-worker-hook",
"version": "2.2.8",
"description": "Package to handle api requests with a hook, provider and web worker",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/TerrySlack/mainframework-api-hook-provider-worker.git"
},
"bugs": {
"url": "https://github.com/TerrySlack/mainframework-api-hook-provider-worker/issues"
},
"homepage": "https://github.com/TerrySlack/mainframework-api-hook-provider-worker#readme",
"scripts": {
"husky": "husky",
"clean": "rimraf dist",
"lint": "eslint --ext 'ts,tsx' --max-warnings=0 --fix",
"lint-staged": "lint-staged",
"prebuild": "yarn husky && yarn clean",
"build": "yarn prebuild && yarn build:esm",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"test": "jest --config jestconfig.json"
},
"peerDependencies": {
"react": ">=17"
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"keywords": [
"react",
"typescript",
"awesome-project"
],
"author": "Terry Slack",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged && git add --all"
}
},
"lint-staged": {
"*.(ts|tsx)": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"husky": "^9.1.4",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.2.5",
"react": "^18.3.1",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.4",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
}
}