-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.46 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@rennalabs/hooks",
"version": "1.4.0",
"description": "A library of useful hooks.",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"files": [
"cjs",
"esm",
"lib"
],
"scripts": {
"build:cjs": "tsc --outDir ./cjs --module commonjs --project tsconfig.build.json",
"build:esm": "tsc --outDir ./esm --module esnext --target esnext --project tsconfig.build.json",
"build:types": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly",
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn build:types",
"_release": "esno ./scripts/release.ts",
"release:patch": "yarn _release patch",
"release:minor": "yarn _release minor",
"release:major": "yarn _release major",
"clean": "rimraf lib esm cjs",
"format": "prettier --write \"src/*.{js,ts,tsx,json,md}\"",
"lint": "eslint \"src/**/*.{js,ts,tsx}\" --quiet",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*.{js,ts,tsx,json,md}": [
"prettier --write",
"git add ."
],
"*.{js,ts,tsx}": [
"eslint --fix",
"git add ."
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/Renna-Labs/hooks.git"
},
"keywords": [
"react",
"library",
"frontend",
"react-hooks",
"hooks",
"state"
],
"peerDependencies": {},
"author": {
"name": "Renna-Labs",
"email": "tech@rennalabs.xyz",
"twitter": "@rennalabs"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/Renna-Labs/hooks/issues"
},
"homepage": "https://github.com/Renna-Labs/hooks#readme",
"jest": {
"testEnvironment": "jest-environment-jsdom",
"setupFilesAfterEnv": [
"./tests/setupTests.ts"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?|ts)$",
"moduleDirectories": [
"./node_modules",
"./src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "@sucrase/jest-plugin"
}
},
"devDependencies": {
"@rennalabs/eslint-config": "^1.0.2",
"@rennalabs/prettier-config": "1.0.3",
"@rennalabs/tsconfig": "1.1.0",
"@sucrase/jest-plugin": "^3.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.4.0",
"@types/js-cookie": "^3.0.2",
"@types/react": "^18.0.27",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"chalk": "^5.2.0",
"eslint": "^8.18.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.x.x",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"esno": "^0.16.3",
"execa": "^6.1.0",
"fs-extra": "^11.1.0",
"husky": "^8.0.3",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"lint-staged": "^13.1.0",
"new-github-release-url": "^2.0.0",
"open": "^8.4.1",
"prettier": "^2.8.3",
"react-dom": "^18.2.0",
"rimraf": "^4.1.2",
"simple-git": "^3.16.0",
"sucrase": "^3.29.0",
"typescript": "^4.x.x"
},
"dependencies": {
"js-cookie": "^3.0.1",
"react": "^18.2.0"
}
}