-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 2.72 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "codeact",
"version": "1.3.0",
"description": "code producer",
"keywords": [
"code",
"producer",
"maker",
"generate"
],
"author": "廖君 <767882503@qq.com>",
"homepage": "https://github.com/aisriver/codeact#readme",
"license": "ISC",
"main": "lib/index.js",
"unpkg": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"files": [
"es",
"lib"
],
"publishConfig": {
"registry": "http://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aisriver/codeact.git"
},
"bin": {
"codeact": "./lib/index.js"
},
"scripts": {
"build": "lotus-tools build",
"release": "git add . && node scripts/release.js && git push --follow-tags",
"tsc": "tsc -p ./tsconfig.json --noEmit",
"commit": "git-cz",
"eslint:fix": "eslint --fix --ext .ts,.tsx src/",
"lint:fix": "prettier --check src/**/*.ts --write",
"test": "jest --color --passWithNoTests",
"test:watch": "jest --watch --updateSnapshot",
"test:coverage": "jest --coverage"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"changelog": {
"emojis": true,
"authorName": true,
"authorEmail": true
},
"husky": {
"hooks": {
"pre-commit": "npm run tsc && npm run eslint:fix && npm run lint:fix && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"git add ."
]
},
"dependencies": {
"colors": "^1.4.0",
"commander": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@lotus-ui/tools": "^0.2.5",
"@types/jest": "^24.0.19",
"@typescript-eslint/eslint-plugin": "^2.8.0",
"@typescript-eslint/parser": "^2.8.0",
"commitizen": "^4.0.3",
"conventional-changelog-cli": "^2.0.25",
"conventional-changelog-custom-config": "^0.2.0",
"cz-customizable": "^6.2.0",
"eslint": "^6.7.0",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jest-date-mock": "^1.0.7",
"lint-staged": "^9.4.2",
"prettier": "^1.19.1",
"standard-version": "^7.0.0",
"ts-jest": "^24.1.0",
"typescript": "^3.7.2"
},
"jest": {
"verbose": false,
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"setupFiles": [
"jest-date-mock"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"<rootDir>/**/*.(spec|test).ts?(x)"
],
"transformIgnorePatterns": [
"node_modules",
"example"
]
}
}