-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.61 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@ataola/coding-ts",
"version": "1.0.1",
"description": "a coding example reposity with typescript",
"main": "jest.config.js",
"directories": {
"test": "test"
},
"scripts": {
"build": "tsc",
"test": "jest",
"test:help": "jest --help",
"test:debug": "jest --debug",
"test:verbose": "jest --verbose",
"test:init": "jest --init",
"test:json": "jest --json",
"test:exportJson": "jest --json --outputFile=./export/reporter.json",
"test:coverage": "jest --coverage",
"test:watchAll": "jest --watchAll",
"pretty:code": "prettier --config .prettierrc \"code/**/*.ts\" --write",
"pretty:test": "prettier --config .prettierrc \"test/**/*.ts\" --write",
"pretty-watch": "onchange \"code/**/*.ts\" -- prettier --write {{changed}}",
"eslint:code:fix": "eslint \"code/**/*.ts\" --fix",
"eslint:test:fix": "eslint \"test/**/*.ts\" --fix",
"git:pull": "pull",
"git:push": "push",
"start": "concurrently \"npm run pretty:code\" \"npm run pretty:test\" \"npm run test:coverage\"",
"ebook:dev": "vuepress dev ebook",
"ebook:build": "vuepress build ebook"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ataola/coding-ts.git"
},
"keywords": [],
"author": "ataola (Zheng JiangTao)",
"license": "ISC",
"bugs": {
"url": "https://github.com/ataola/coding-ts/issues"
},
"homepage": "https://github.com/ataola/coding-ts#readme",
"devDependencies": {
"@babel/preset-env": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/jest": "^27.4.0",
"@types/node": "^17.0.8",
"@typescript-eslint/eslint-plugin": "5.28.0",
"@typescript-eslint/parser": "5.28.0",
"@vuepress/plugin-back-to-top": "^1.9.7",
"concurrently": "^7.0.0",
"eslint": "8.17.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-plugin-header": "3.1.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"jest": "^27.4.7",
"lint-staged": "^13.0.3",
"onchange": "^7.1.0",
"prettier": "^2.5.1",
"ts-jest": "^27.1.2",
"ts-node": "^10.4.0",
"typescript": "^4.5.4",
"vuepress": "^1.9.7"
},
"lint-staged": {
"*.{md,json}": [
"prettier --config .prettierrc --write"
],
"*.{js,ts,css}": [
"prettier --config .prettierrc --write",
"eslint"
]
}
}