-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
50 lines (50 loc) · 1.41 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
{
"name": "knowledge-base-content",
"version": "1.0.0",
"description": "Content for the knowledge base to separate the code / logic from the content",
"author": "MyCrypto",
"repository": "https://github.com/MyCryptoHQ/knowledge-base-content.git",
"license": "MIT",
"dependencies": {
"gray-matter": "^4.0.1",
"moment": "^2.22.2",
"remark-cli": "^5.0.0",
"remark-frontmatter": "^1.3.0",
"remark-lint": "^6.0.2",
"remark-preset-lint-markdown-style-guide": "^2.1.2",
"remark-preset-lint-recommended": "^3.0.2",
"slash": "^2.0.0"
},
"devDependencies": {
"@types/node": "^14.10.2",
"@types/node-fetch": "^2.5.7",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"node-fetch": "^2.6.1",
"prettier": "^2.2.1",
"ts-node": "^9.0.0",
"typescript": "^4.0.2"
},
"scripts": {
"deploy": "ts-node deploy",
"format": "prettier --write \"**/*.{ts,tsx,js,json,yml,md}\" --ignore-path .gitignore",
"lint": "yarn lint:markdown && yarn lint:format",
"lint:markdown": "remark -q -f .",
"lint:format": "prettier --check \"**/*.{ts,tsx,js,json,yml,md}\" --ignore-path .gitignore"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,yml}": [
"prettier --write"
],
"*.md": [
"node update-modified-date.js",
"remark -qf --no-stdout",
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}