forked from xcatliu/typescript-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.71 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
{
"name": "typescript-tutorial",
"version": "0.1.0",
"description": "从 JavaScript 程序员的角度总结思考,循序渐进的理解 TypeScript",
"main": "README.md",
"scripts": {
"start": "deno run --unstable --allow-read --allow-write --allow-net --allow-run ../pagic/mod.ts build --serve --watch",
"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 -- . \":!:*.epub\")'",
"eclint:fix": "bash -c 'eclint fix $(git ls-files -- . \":!:*.epub\")'",
"prettier": "prettier -l \"./**/*\"",
"prettier:fix": "prettier --write -l \"./**/*\"",
"lint-md": "lint-md .",
"lint-md:fix": "lint-md --fix .",
"eslint": "eslint --ext .ts examples",
"eslint:fix": "eslint --ext .ts --fix examples"
},
"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": "^4.8.1",
"@typescript-eslint/parser": "^4.8.1",
"eclint": "^2.8.1",
"eslint": "^7.14.0",
"eslint-config-alloy": "^3.8.2",
"eslint-plugin-react": "^7.21.5",
"husky": "^4.3.0",
"lint-md-cli": "^0.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.0",
"typescript": "^4.1.2"
}
}