-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 1.5 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
{
"name": "backlog",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"run": "yarn build && node lib/index.js",
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf lib",
"test": "jest",
"eslint": "eslint src/**/*.ts",
"eslint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write 'src/**/*.{ts,json}'",
"lint": "npm run eslint && npm run format",
"lint:fix": "npm run eslint:fix && npm run format",
"preversion": "npm run clean && npm run build && npm test",
"postversion": "git push origin --tags",
"prepublishOnly": "npm run clean && npm run build && npm test",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.9.1",
"@types/node-fetch": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.0",
"jest": "^27.1.1",
"lint-staged": "^11.1.2",
"prettier": "^2.4.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,json}": [
"npx eslint . --fix",
"npx prettier --write ."
]
},
"dependencies": {
"axios": "^0.21.4",
"node-fetch": "2"
}
}