-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.88 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
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@lpezet/mkay-diary",
"version": "1.0.2",
"description": "Simple diary for development.",
"main": "index.js",
"bin": {
"mkay-diary": "src/bin/mkay-diary.js"
},
"scripts": {
"copy-templates.old": "[ ! -d lib/src/main/templates ] && mkdir lib/src/main/templates; cp -r src/main/templates/ lib/src/main/templates/; [ ! -d lib/src/main/core/templates ] && mkdir lib/src/main/core/templates; cp -r src/main/core/templates/ lib/src/main/core/templates/",
"copy-templates": "echo 'No templates to copy for now.'",
"dist": "npm run clean && npm run tsc -- --build tsconfig.publish.json && npm run copy-templates && chmod +x dist/src/bin/mkay-diary.js",
"tsc": "tsc",
"clean": "rimraf dist",
"build": "rimraf ./build && tsc",
"start": "npm run build && node build/index.js",
"lint": "eslint src/main/ --ext .ts",
"format": "prettier --write \"src/main/**/*.+(ts|tsx|js|jsx|json|yml|yaml|css|md|vue)\"",
"test.old": "npm run lint -- --quiet && npm run mocha",
"test": "nyc --reporter=html --reporter=text-summary mocha --check-leaks --reporter spec \"./src/test/**/*.spec.ts\"",
"mocha-single.old": "nyc mocha --require ts-node/register --require source-map-support/register --require src/test/helpers/mocha-bootstrap.js --timeout=1000",
"mocha-single": "nyc --reporter=html mocha",
"docs-gen": "doctoc Readme.md --github --no-title",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"engines": {
"node": ">= 14.0.0"
},
"author": "",
"license": "ISC",
"dependencies": {
"@technote-space/anchor-markdown-header": "^1.1.20",
"@textlint/markdown-to-ast": "^12.0.0",
"cli-color": "^2.0.0",
"cli-spinner": "^0.2.10",
"commander": "^7.2.0",
"configstore": "5.0.1",
"didyoumean": "^1.2.1",
"exit-code": "^1.0.2",
"htmlparser2": "^6.1.0",
"inquirer": "^8.1.1",
"javascript-time-ago": "^2.3.6",
"lodash": "^4.17.21",
"log4js": "^6.3.0",
"open": "^8.2.0",
"underscore": "^1.13.1",
"universal-analytics": "^0.4.23",
"update-notifier": "^5.1.0",
"uuid": "^7.0.3"
},
"devDependencies": {
"@js-joda/core": "^3.2.0",
"@types/chai": "^4.2.18",
"@types/cli-color": "^2.0.0",
"@types/configstore": "^5.0.0",
"@types/inquirer": "^6.0.3",
"@types/jest": "^26.0.23",
"@types/lodash": "^4.14.149",
"@types/mocha": "^8.2.2",
"@types/node": "^14.14.31",
"@types/rimraf": "^3.0.0",
"@types/semver": "^7.3.6",
"@types/sinon": "^10.0.2",
"@types/underscore": "^1.11.2",
"@types/universal-analytics": "^0.4.4",
"@types/update-notifier": "^5.0.0",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"doctoc": "^2.0.1",
"eslint": "^7.21.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-jsdoc": "^35.2.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.1.2",
"mocha": "^9.0.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"ts-node": "^10.0.0",
"tslint": "^5.12.1",
"typescript": "^3.3.3"
},
"husky": {
"hooks": {
"pre-commit_old": "npm run lint && npm run format",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.+(ts|js|jsx)": [
"eslint --fix src/main/ --ext .ts",
"git add"
],
"*.+(json|css|md)": [
"prettier --write",
"git add"
]
},
"nyc": {
"include": "src/main",
"check-coverage": true,
"lines": 90,
"statements": 90,
"functions": 90,
"branches": 80,
"reporter": [
"lcov",
"text-summary"
],
"require": [
"ts-node/register"
],
"extension": [
".js",
".ts"
],
"exclude": [
"src/test/**/*"
]
}
}