-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.75 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": "react-use-caret-position",
"version": "1.1.0",
"description": "A React hook to keep track of the caret position in an input",
"author": "Melanie Seltzer <melanie.seltzer1@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/melanieseltzer/react-use-caret-position#readme",
"keywords": [
"react",
"hooks",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/melanieseltzer/react-use-caret-position.git"
},
"source": "src/index.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"default": "./dist/index.modern.js"
},
"./package.json": "./package.json"
},
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
"unpkg": "dist/index.umd.js",
"files": [
"dist"
],
"lint-staged": {
"*.{js,cjs,ts,tsx,mdx}": [
"prettier --write",
"eslint --fix --max-warnings 0"
]
},
"scripts": {
"build": "rimraf dist && microbundle --tsconfig tsconfig.build.json",
"dev": "microbundle watch --tsconfig tsconfig.build.json",
"test": "jest",
"test:watch": "jest --watchAll",
"lint": "eslint --ext .js,.cjs,.ts,.tsx,.mdx .",
"lint:fix": "yarn lint --fix",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"format": "yarn format:fix && yarn lint:fix",
"prepare": "husky install",
"typecheck": "tsc --noEmit",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"changeset": "changeset",
"release": "yarn build && changeset publish"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.0",
"@mels/eslint-config-base": "^1.0.1",
"@mels/eslint-config-jest": "^1.0.0",
"@mels/eslint-config-prettier": "^1.0.0",
"@mels/eslint-config-react": "^1.0.0",
"@mels/eslint-config-typescript": "^1.0.1",
"@mels/prettier-config": "^1.0.0",
"@storybook/addon-docs": "7.0.0-alpha.34",
"@storybook/react": "7.0.0-alpha.34",
"@storybook/react-vite": "^7.0.0-alpha.34",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.1.1",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"eslint": "^8.24.0",
"eslint-plugin-mdx": "^2.0.5",
"husky": "^8.0.0",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"lint-staged": "^13.0.3",
"microbundle": "^0.15.1",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"storybook": "7.0.0-alpha.34",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
}
}