forked from juliencrn/usehooks-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.33 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
{
"name": "usehooks-ts",
"private": true,
"description": "React hook library, ready to use, written in Typescript.",
"author": "Julien CARON <[email protected]>",
"homepage": "https://usehooks-ts.com",
"keywords": [
"gatsby",
"typescript",
"react",
"npm",
"lerna",
"hooks",
"react-hooks"
],
"license": "MIT",
"workspaces": [
"./site",
"./lib"
],
"scripts": {
"clean": "lerna run clean && lerna clean -y",
"bootstrap": "npm ci && lerna exec npm ci && npm run copy:hooks && npm run build:lib",
"types-check": "lerna run types-check",
"lint": "npm-run-all --continue-on-error -p lint:*",
"lint:code": "eslint '**/*.{js,jsx,ts,tsx}'",
"lint:other": "prettier --check \"**/*.{json,md,mdx,css,scss,yaml,yml}\"",
"format": "run-p format:*",
"format:code": "npm run lint:code -- --fix",
"format:other": "npm run lint:other -- --write",
"pretest": "npm run types-check && npm run format",
"test": "jest",
"test:ssr": "jest --config ./jest.config.node.ts",
"test:watch": "npm run test -- --watch --silent",
"test:coverage": "ts-node ./scripts/coverage.ts",
"prebuilt": "npm run format && npm run copy:hooks",
"build": "lerna run build --stream",
"build:site": "lerna run --scope site build",
"build:lib": "lerna run --scope usehooks-ts build && npm run copy:hooks",
"predeploy": "npm run build",
"deploy": "netlify deploy --dir=site/public --prod",
"dev:site": "npm run build:lib && cd site && npm run start",
"dev:lib": "npm run test:watch",
"serve:site": "cd site && npm run serve",
"publish": "npm run build:lib && npm run test && lerna publish --no-git-reset",
"update:readme": "ts-node ./scripts/updateReadme.ts",
"copy:hooks": "rimraf -rf ./site/generated && ts-node ./scripts/copyHooks.ts",
"plop": "plop && npm run update:readme && npm run format",
"prepare": "husky install"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*": "prettier --ignore-unknown --write"
},
"devDependencies": {
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/glob": "^7.1.4",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.17",
"@types/react": "^17.0.38",
"@types/react-dom": ">=16.9.0",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"all-contributors-cli": "^6.20.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^7.0.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^26.1.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-tree-shaking": "^1.10.0",
"husky": "^8.0.1",
"jest": "^27.5.1",
"jest-preset-gatsby": "^1.0.134",
"jsdom": "^19.0.0",
"lerna": "^4.0.0",
"lint-staged": "^12.3.3",
"npm-run-all": "^4.1.5",
"plop": "^3.0.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"ts-node": "^10.2.1",
"typescript": "^4.5.5",
"usehooks-ts": "file:lib"
},
"repository": {
"type": "git",
"url": "https://github.com/juliencrn/usehooks-ts"
},
"bugs": {
"url": "https://github.com/juliencrn/usehooks-ts/issues"
}
}