-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 2.96 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
{
"name": "gatsby-typescript-scss-docker",
"description": "gatsby with typescript, scss typed modules, eslint, prettier & husky, docker",
"version": "1.0.0",
"author": "Oliver Franke ( [email protected] )",
"keywords": [
"gatsby, typescript, sass, docker, eslint, responsive"
],
"license": "MIT",
"scripts": {
"build": "gatsby build",
"devLocal": "concurrently --kill-others \"gatsby develop\" \"npm run watch\"",
"devDocker": "concurrently --kill-others \"gatsby develop -H 0.0.0.0\" \"SHELL=/bin/bash npm run watch\"",
"watch": "chokidar \"**/*.scss\" -c \"npm run buildScssTypings\"",
"fix": "prettier --write 'src/**/*.{ts,tsx,scss,md}' && eslint --fix 'src/**/*.{ts,tsx}' && stylelint --fix 'src/**/*.scss' ",
"buildScssTypings": "node scripts/generateTypings.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint src/**/*.{ts,tsx} --max-warnings 0 --ignore-pattern '!.eslintrc.js'",
"eslint --fix src/**/*.{ts,tsx}",
"git add"
],
"*.scss": [
"prettier --write",
"stylelint --fix",
"git add"
],
"{*.{json,md}}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@types/react-helmet": "^5.0.8",
"@typescript-eslint/eslint-plugin": "1.12.0",
"@typescript-eslint/parser": "1.12.0",
"chokidar-cli": "1.2.2",
"concurrently": "4.1.1",
"eslint": "6.0.1",
"eslint-config-airbnb": "17.1.1",
"eslint-config-prettier": "6.0.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.14.2",
"gatsby-plugin-sass": "^2.1.3",
"gatsby-source-filesystem": "^2.1.5",
"gatsby-transformer-remark": "^2.6.7",
"husky": "3.0.1",
"lint-staged": "9.2.0",
"node-gyp": "5.0.3",
"node-sass": "^4.12.0",
"node-sass-glob-importer": "5.3.2",
"prettier": "1.18.2",
"prettier-tslint": "0.4.2",
"stylelint": "^10.1.0",
"stylelint-config-css-modules": "^1.4.0",
"stylelint-config-prettier": "^5.2.0",
"stylelint-config-recommended-scss": "^3.3.0",
"stylelint-order": "^3.0.1",
"stylelint-scss": "^3.9.2",
"ts-node": "8.3.0",
"tslint": "^5.18.0",
"tslint-config-blvd": "^1.2.1",
"tslint-config-prettier": "^1.18.0",
"tslint-loader": "3.5.4",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "4.0.0",
"typed-css-modules": "0.3.7",
"typescript": "^3.5.3"
},
"dependencies": {
"gatsby": "^2.13.31",
"gatsby-plugin-react-helmet": "^3.1.2",
"gatsby-plugin-root-import": "2.0.5",
"gatsby-plugin-sharp": "2.2.8",
"gatsby-plugin-typescript": "2.1.2",
"gatsby-remark-images": "3.1.6",
"gatsby-transformer-sharp": "2.2.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-helmet": "^5.2.1",
"react-icons": "3.7.0"
}
}