-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·68 lines (68 loc) · 1.48 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
{
"name": "@peril/utils",
"version": "1.0.2",
"private": false,
"description": "",
"main": "build/index.js",
"author": "Orta Therox <[email protected]>",
"license": "MIT",
"dependencies": {
"@octokit/rest": "*",
"ajv": "^6.5.3",
"json5": "^2.0.1"
},
"devDependencies": {
"@types/jest": "^19.2.3",
"@types/node": "^10.7.1",
"danger": "^0.18.0",
"husky": "^0.13.3",
"jest": "^20.0.0",
"lint-staged": "^3.2.5",
"prettier": "^1.9.2",
"release-it": "^7.5.0",
"ts-jest": "^20.0.0",
"ts-node": "^3.0.0",
"tslint": "^5.2.0",
"typescript": "^2.3.2"
},
"scripts": {
"type-check": "tsc --noEmit",
"build": "tsc",
"lint": "tslint 'src/**/*.{ts,tsx}'",
"precommit": "lint-staged",
"prepush": "yarn build",
"release": "release-it",
"prepublishOnly": "yarn build"
},
"lint-staged": {
"*.@(ts|tsx)": [
"tslint --fix",
"yarn prettier --write",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(.test)\\.(ts|tsx)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/"
],
"cacheDirectory": ".jest/cache"
},
"prettier": {
"printWidth": 115,
"semi": false,
"singleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"proseWrap": "always"
}
}