-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
/
package.json
56 lines (56 loc) · 1.94 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
{
"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",
"build": "deno run --unstable --allow-read --allow-write --allow-net --allow-run ../pagic/mod.ts build",
"test": "npm run lint",
"pandoc": "pandoc -o TypeScript\\ 入门教程.epub --resource-path assets pandoc-metadata.txt $(cat pandoc-list.txt)",
"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": "^5.59.9",
"@typescript-eslint/parser": "^5.59.9",
"eclint": "^2.8.1",
"eslint": "^8.42.0",
"eslint-config-alloy": "^5.0.0",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"lint-md-cli": "^0.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"typescript": "^5.1.3"
}
}