-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 1.79 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
{
"name": "@customerio/devices",
"version": "2.0.1",
"description": "Devices util methods to map device model to it's corresponding marketing name",
"author": "Customer.io",
"main": "dist/lib/es5/index.js",
"module": "dist/lib/es6/index.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/customerio/devices.git"
},
"license": "MIT",
"scripts": {
"build": "rm -rf dist && tsc && tsc --build tsconfig.es5.json",
"lint": "eslint . --ext .ts",
"prettier-format": "prettier --config .prettierrc 'src/**/*.ts' --write",
"test": "jest",
"size": "npm run build && size-limit",
"prepare": "husky install"
},
"size-limit": [
{
"limit": "3 s",
"path": "dist/lib/es5/index.js",
"import": "{ getMarketingName }"
}
],
"devDependencies": {
"@babel/core": "^7.19.1",
"@babel/preset-env": "^7.19.1",
"@babel/preset-typescript": "^7.18.6",
"@size-limit/preset-big-lib": "^8.1.0",
"@types/jest": "^29.0.3",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"babel-jest": "^29.0.3",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^29.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"size-limit": "^8.1.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.3"
},
"files": [
"dist/**/*",
"LICENSE",
"package.json",
"README.md"
],
"keywords": [
"devices",
"marketing-name",
"device-model",
"ios",
"android"
],
"bugs": {
"url": "https://github.com/customerio/devices/issues"
},
"homepage": "https://github.com/customerio/devices#readme",
"lint-staged": {
"*.ts": "eslint --cache --fix"
}
}