generated from cuongndc9/ts-npm-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.42 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
{
"name": "xuka",
"version": "0.1.2",
"description": "A simple 👰🏻 HTTP client",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"repository": "https://github.com/103cuong/xuka",
"author": "Cuong Tran <103cuong@gmail.com>",
"keywords": [
"npm",
"typescript",
"template"
],
"files": [
"lib/**/*"
],
"scripts": {
"start": "node ./lib/index.js",
"start:dev": "nodemon --ignore lib/ --exec ts-node ./src/index.ts",
"test": "jest --config jestconfig.json",
"build": "rm -rf lib && tsc -p tsconfig.build.json",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint --fix src/**/*.ts",
"prepare": "yarn build",
"prepublishOnly": "yarn lint & yarn test"
},
"lint-staged": {
"*.ts": [
"yarn lint",
"yarn test"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^25.2.1",
"@types/node": "^13.11.1",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"eslint": "^6.8.0",
"husky": "^4.2.5",
"jest": "^25.3.0",
"lint-staged": "^10.1.3",
"nodemon": "^2.0.3",
"ts-jest": "^25.3.1",
"ts-node": "^8.4.1",
"typescript": "^3.8.3"
},
"dependencies": {
"axios": "^0.20.0"
}
}