-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "@cs125/gatsby-theme-cs125-docs",
"description": "Gatsby theme for CS 125 docs.",
"license": "MIT",
"version": "2020.5.16",
"main": "index.js",
"scripts": {
"backend": "docker-compose --env-file .env.development -p $npm_package_name up",
"backend:stop": "docker-compose --env-file .env.development -p $npm_package_name down",
"build": "gatsby build",
"check": "npm run eslint && npm run tsc && npm run prettier && npm run depcheck",
"clean": "gatsby clean",
"depcheck": "depcheck --ignore-dirs .cache,public --ignores=gatsby-*,@mdx-js/mdx,@typescript-eslint/*,eslint-plugin-*,gh-pages",
"eslint": "eslint --fix src/ --max-warnings=0 --ext .js,.ts,.tsx",
"ncu": "ncu",
"start": "concurrently -n example,backend \"gatsby develop -p 1234\" \"npm run backend\"",
"tsc": "tsc",
"prettier": "prettier \"**/*{.tsx,.ts,.js,.json,.md,.mdx}\" --write && prettier-package-json --write"
},
"dependencies": {
"@cs125/element-tracker": "^2020.5.9",
"@cs125/react-google-login": "^2020.5.5",
"@cs125/semantic-ui": "^2020.5.35",
"@mdx-js/mdx": "^1.6.4",
"@mdx-js/react": "^1.6.4",
"gatsby-plugin-env-variables": "^1.0.2",
"gatsby-plugin-manifest": "^2.4.9",
"gatsby-plugin-mdx": "^1.2.12",
"gatsby-plugin-preload-fonts": "^1.2.8",
"gatsby-plugin-react-helmet": "^3.3.2",
"gatsby-plugin-typescript": "^2.4.3",
"gatsby-source-filesystem": "^2.3.8",
"gh-pages": "^2.2.0",
"react-helmet": "^6.0.0",
"runtypes": "^4.2.0",
"semantic-ui-react": "^0.88.2"
},
"peerDependencies": {
"gatsby": "^2.22.9",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@types/mdx-js__react": "^1.5.2",
"@types/react-helmet": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"babel-eslint": "^10.1.0",
"concurrently": "^5.2.0",
"depcheck": "^0.9.2",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.2",
"gatsby": "^2.22.9",
"husky": "^4.2.5",
"lint-staged": "^10.2.6",
"npm-check-updates": "^6.0.1",
"prettier": "^2.0.5",
"prettier-package-json": "^2.1.3",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"typescript": "^3.9.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{json,js,md}": [
"prettier --write"
],
".*.js": [
"prettier --write"
],
"src/**/*.ts?(x)": [
"prettier --write",
"eslint --fix",
"bash -c \"tsc --noEmit --project .\"",
"bash -c \"npm run depcheck\""
]
},
"prettier": {
"semi": false,
"arrowParens": "avoid",
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 120,
"tabWidth": 2
}
}