-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
executable file
·70 lines (70 loc) · 1.88 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
{
"name": "browser-session-tabs",
"version": "3.0.0",
"description": "A light-weight library for tracking multiple browser tabs in a web session.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "eslint && npm run lint:format",
"lint:format": "prettier --check \"src/**/*.{ts,js}\"",
"lint:format:fix": "prettier --write \"src/**/*.{ts,js}\"",
"test": "jest --config jestconfig.json --coverage=true --collectCoverageFrom=src/**/*.{ts,js}",
"test:ci": "npm run test -- --ci",
"test:watch": "jest --config jestconfig.json --watch",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pureartisan/browser-session-tabs.git"
},
"keywords": [
"Browser Tab",
"Sessions",
"Tracking",
"Analytics"
],
"author": "Prageeth Silva <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/pureartisan/browser-session-tabs/issues"
},
"homepage": "https://github.com/pureartisan/browser-session-tabs#readme",
"files": [
"lib/**/*"
],
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/js-cookie": "^3.0.2",
"@types/uuid": "^8.0.0",
"eslint": "^8.20.0",
"husky": "^4.2.5",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-junit": "^14.0.0",
"lint-staged": "^10.2.10",
"prettier": "2.7",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4"
},
"dependencies": {
"js-cookie": "^3.0.1"
},
"husky": {
"hooks": {
"pre-commit": "tsc && lint-staged"
}
},
"jest-junit": {
"outputDirectory": "./reports/"
},
"lint-staged": {
"**/*.+(js|jsx|ts|tsx|md)": [
"prettier --write",
"git add"
]
}
}