forked from xcatliu/typescript-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.83 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
{
"name": "typescript-tutorial",
"version": "0.1.0",
"description": "从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript",
"main": "README.md",
"directories": {
"example": "examples"
},
"scripts": {
"test": "npm run lint",
"lint": "run-s eclint prettier lint-md eslint",
"lint:fix": "run-s eclint:fix prettier:fix lint-md:fix",
"eclint": "bash -c 'eclint check $(git ls-files)'",
"eclint:fix": "bash -c 'eclint fix $(git ls-files)'",
"prettier": "prettier -l \"./**/*\"",
"prettier:fix": "prettier --write -l \"./**/*\"",
"lint-md": "lint-md .",
"lint-md:fix": "lint-md --fix .",
"eslint": "eslint --ext .ts examples/eslint",
"eslint:fix": "eslint --ext .ts --fix examples/eslint"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/xcatliu/typescript-tutorial.git"
},
"keywords": [
"typescript",
"tutorial",
"javascript"
],
"author": "xcatliu <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/xcatliu/typescript-tutorial/issues"
},
"homepage": "https://github.com/xcatliu/typescript-tutorial#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^1.10.2",
"@typescript-eslint/parser": "^1.10.2",
"babel-eslint": "^10.0.1",
"eclint": "^2.8.1",
"eslint": "^5.16.0",
"eslint-config-alloy": "^2.0.4",
"eslint-config-prettier": "^5.0.0",
"husky": "^2.2.0",
"lint-md": "^0.1.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"typescript": "^3.5.1"
}
}