-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
84 lines (84 loc) · 2.29 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
{
"name": "@techbana/device-type-capture",
"version": "2.0.0",
"description": "This package helps identify and capture the device type (High/Medium/Low end based on connection quality, cpu, ram, saveData mode etc.) to give an option to use it for A/B test on client side, feature enable/disable etc.",
"main": "./lib/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc",
"build:esm": "tsc --module esnext --outDir lib/esm",
"prepare": "npm run build",
"test": "jest",
"packpackage": "cd lib && npm pack",
"semantic-release": "semantic-release",
"commit": "git-cz",
"pre-commit": "lint-staged",
"pre-push": "npm run test",
"lint": "eslint --ext .ts,.tsx .",
"lint:fix": "eslint --ext .ts,.tsx . --fix"
},
"repository": {
"type": "git",
"url": "https://github.com/manishekhawat/device-type-capture.git"
},
"keywords": [
"device",
"type",
"tier",
"capture",
"connection",
"network",
"browser",
"clientinfo"
],
"author": "@manishekhawat",
"license": "MIT",
"bugs": {
"url": "https://github.com/manishekhawat/device-type-capture/issues"
},
"homepage": "https://github.com/manishekhawat/device-type-capture#readme",
"devDependencies": {
"@jest/globals": "^29.5.0",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.39.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.2",
"prettier": "2.8.8",
"semantic-release": "^21.0.2",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branches": [
"master"
]
},
"publishConfig": {
"access": "public"
},
"files": [
"lib/**/*"
],
"lint-staged": {
"**/*.{ts,tsx}": [
"eslint --ext .ts,.tsx . --fix",
"prettier --write --ignore-unknown",
"git add ."
]
}
}