-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.67 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
{
"name": "use-utm",
"version": "1.0.7",
"description": "Small library for getting/setting and removing UTM parameters from the URL",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/yetric/use-utm.git"
},
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"test": "jest",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests,example/src}/**/*.{js,ts,jsx,tsx}\"",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run prettier && npm run lint"
},
"keywords": [
"react",
"hook",
"utm"
],
"author": "Mattias Hising <[email protected]>",
"license": "MIT",
"prettier": "yetric-prettier-config",
"dependencies": {
"react": ">=16",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/react": "^18.2.45",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"yetric-prettier-config": "^1.0.1"
},
"peerDependencies": {
"react": ">=16"
},
"files": [
"dist",
"LICENSE",
"README.md"
]
}