-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 960 Bytes
/
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
{
"name": "browser-logging-client",
"version": "0.0.2",
"description": "Send logs from browser to node server",
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "[email protected]:Countingup/browser-logging-client.git"
},
"scripts": {
"version": "npm run build",
"postversion": "git push",
"test": "echo No tests.",
"build": "tsc",
"fmt": "prettier --write \"./**/*.{md,js,ts,tsx,json}\"",
"fmt-check": "prettier --list-different \"./**/*.{md,js,ts,tsx,json}\""
},
"files": [
"src",
"dist"
],
"devDependencies": {
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"typescript": "^3.7.2"
},
"dependencies": {},
"lint-staged": {
"*.{md,js,ts,tsx,json}": [
"yarn run prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}