forked from Codecademy/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.23 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
{
"name": "codecademy-docs",
"dependencies": {
"front-matter": "^4.0.2",
"glob": "^7.1.7"
},
"devDependencies": {
"@codecademy/eslint-config": "^3.1.0",
"@codecademy/prettier-config": "^0.1.10",
"@codecademy/tsconfig": "^0.2.0",
"@types/glob": "^7.1.4",
"@types/jest": "^26.0.24",
"@types/node": "^16.4.3",
"eslint": "^7.25.0",
"husky": "^7.0.4",
"jest": "^27.0.6",
"lint-staged": "^12.1.2",
"markdownlint-cli": "~0.28.1",
"prettier": "^2.2.1",
"ts-jest": "^27.0.4",
"typescript": "^4.2.4"
},
"lint-staged": {
"*.md": [
"npm run format",
"markdownlint"
]
},
"scripts": {
"compile": "tsc --noEmit",
"format": "prettier --ignore-path .prettierignore --write",
"format:md": "prettier --ignore-path .prettierignore --write \"./**/*.(md)\"",
"format:all": "prettier --ignore-path .prettierignore --write \"./**/*.(ts|md)\"",
"format:verify": "prettier \"./**/*.(ts|md)\" --list-different",
"lint:js": "eslint \"./**.ts\" --max-warnings 0 ",
"lint:md": "markdownlint \"./content/**/*.md\"",
"lint": "yarn lint:md && yarn lint:js",
"test": "jest",
"prepare": "husky install"
},
"license": "UNLICENSED",
"version": "1.0.0"
}