-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
executable file
·60 lines (60 loc) · 1.58 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
{
"name": "@artsy/detect-responsive-traits",
"version": "0.0.4",
"description": "Get responsive size traits from a user agent",
"main": "build/index.js",
"author": "Art.sy Inc <it@artsymail.com>",
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@artsy/auto-config": "0.1.0",
"@types/jest": "^23.3.2",
"@types/node": "^10.12.9",
"danger": "^6.1.4",
"husky": "^1.0.0",
"jest": "^23.6.0",
"lint-staged": "^8.0.5",
"prettier": "^1.14.3",
"ts-jest": "^23.10.1",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.0.3"
},
"scripts": {
"type-check": "tsc --noEmit",
"build": "tsc",
"lint": "tslint 'src/**/*.{ts,tsx}'",
"test": "jest",
"prepack": "yarn build",
"filter-data:not-android": "ts-node scripts/filter-data-set.ts data/not-windows-macos-x11-or-android.json",
"filter-data:not-ios": "ts-node scripts/filter-data-set.ts data/not-windows-macos-x11-or-ios.json",
"filter-data": "yarn filter-data:not-android && yarn filter-data:not-ios"
},
"repository": "https://github.com/artsy/detect-responsive-traits.git",
"jest": {
"preset": "ts-jest"
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"proseWrap": "always"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn build"
}
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"yarn prettier --write",
"git add"
]
}
}