-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
79 lines (79 loc) · 1.92 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
{
"name": "chivy",
"version": "3.0.1",
"description": "可配置的前端日志打印工具.",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "types/index.d.ts",
"type": "module",
"exports": {
".": "./esm/index.js"
},
"scripts": {
"lint": "eslint --fix ./src && prettier --write ./src",
"test": "cross-env TS_NODE_PROJECT='./tsconfig.test.json' nyc mocha",
"coverage": "nyc report --reporter=lcov",
"esm": "rm -rf ./esm && rm -rf types && tsc -p tsconfig.esm.json",
"cjs": "rm -rf ./cjs && tsc -p tsconfig.cjs.json",
"build": "npm run esm && npm run cjs",
"prepublishOnly": "npm run test && npm run build",
"ci": "npm run lint && npm run build && npm run test && npm run coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/yusangeng/chivy.git"
},
"keywords": [
"log",
"console",
"console-log"
],
"author": {
"name": "yusangeng",
"email": "yusangeng@outlook.com"
},
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.2.22",
"@types/dateformat": "^5.0.0",
"@types/lodash": "^4.14.177",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.10",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"chai": "^4.3.4",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^9.1.4",
"nyc": "^15.1.0",
"prettier": "^2.5.0",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"dependencies": {
"dateformat": "^5.0.0",
"konph": "^4.0.3",
"lodash": "^4.17.21",
"tslib": "^2.3.1"
},
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src"
],
"exclude": [
"**/*.d.ts"
],
"reporter": [
"html"
],
"all": true
}
}