-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
51 lines (51 loc) · 1.45 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
{
"name": "@safe-global/safe-gateway-typescript-sdk",
"version": "3.22.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"repository": "[email protected]:safe-global/safe-gateway-typescript-sdk.git",
"author": "katspaugh",
"license": "MIT",
"engines": {
"node": ">=16"
},
"devDependencies": {
"@types/jest": "^29.2.1",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"jest": "^29.2.2",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"scripts": {
"lint": "tsc && eslint \"./src/**/*\"",
"lint:fix": "yarn lint --fix",
"lint:report": "yarn lint --output-file eslint_report.json --format json",
"build": "rm -rf dist && tsc",
"prepublishOnly": "yarn lint && yarn test:check && yarn build",
"prettier": "prettier -w './**/*.ts'",
"test": "jest --watch --coverage .",
"test:check": "jest --testPathPattern=tests",
"test:ci": "jest --ci --coverage --json --watchAll=false --testLocationInResults --runInBand --testPathPattern=tests"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged --allow-empty"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --w ."
]
}
}