This repository was archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
160 lines (160 loc) · 5.74 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "gatsby-typescript-app-starter",
"private": true,
"description": "A simple typescript application starter to get up and developing quickly with Gatsby",
"version": "0.5.0",
"author": "Erko Bridee <[email protected]>",
"dependencies": {
"abortcontroller-polyfill": "^1.7.1",
"clsx": "^1.1.1",
"css-vars-ponyfill": "^2.4.3",
"qs": "^6.10.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-helmet": "^6.1.0",
"react-intl": "^5.13.4",
"react-redux": "^7.2.2",
"redux": "^4.0.5",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"whatwg-fetch": "^3.6.2"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/preset-react": "^7.12.13",
"@formatjs/intl-relativetimeformat": "^8.1.3",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@types/jest": "^26.0.21",
"@types/node": "^14.14.35",
"@types/qs": "^6.9.6",
"@types/reach__router": "^1.3.7",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"@types/react-helmet": "^6.1.0",
"@types/react-redux": "^7.1.16",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"babel-jest": "^26.6.3",
"babel-plugin-react-intl": "^5.1.2",
"babel-preset-gatsby": "^1.1.0",
"browserslist": "^4.16.3",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-loader": "^4.0.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"express": "^4.17.1",
"fs-extra": "^9.0.0",
"gatsby": "^3.1.1",
"gatsby-plugin-create-client-paths": "^3.1.0",
"gatsby-plugin-image": "^1.1.1",
"gatsby-plugin-manifest": "^3.1.0",
"gatsby-plugin-offline": "^4.1.0",
"gatsby-plugin-react-helmet": "^4.1.0",
"gatsby-plugin-sass": "^4.1.0",
"gatsby-plugin-sharp": "^3.1.1",
"gatsby-source-filesystem": "^3.1.0",
"gatsby-transformer-sharp": "^3.1.0",
"gh-pages": "^3.1.0",
"husky": "^5.1.3",
"identity-obj-proxy": "^3.0.0",
"intl-pluralrules": "^1.2.2",
"is-ci": "^3.0.0",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"lint-staged": "^10.5.4",
"npm-check": "^5.9.2",
"npm-run-all": "^4.1.5",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.2.1",
"react-intl-translations-manager": "^5.0.3",
"request": "^2.88.0",
"sass": "^1.32.8",
"svgo": "^1.3.2",
"ts-jest": "^26.5.4",
"typescript": "^4.2.3",
"undefined": "^0.1.0",
"webfonts-generator": "^0.4.0",
"yargs": "^15.3.1"
},
"keywords": [
"gatsby",
"starter",
"sass",
"typescript",
"dotenv",
"proxy support",
"jest",
"unit tests",
"unit tests coverage"
],
"license": "MIT",
"scripts": {
"postinstall": "is-ci || npx husky install",
"fonticons:clean-scss": "node scripts/fs/rm src/assets/styles/generated/",
"fonticons:clean-generated": "node scripts/fs/rm .build/icons/",
"fonticons:clean-static": "node scripts/fs/rm static/generated/",
"fonticons:clean": "run-p fonticons:clean-generated fonticons:clean-static fonticons:clean-scss",
"fonticons:compress-mkdir": "node scripts/fs/mkdir .build/icons/compressed",
"fonticons:compress-run": "svgo --config=svgo-config.json --enable=removeStyleElement --enable=removeScriptElement --enable=sortAttrs src/assets/icons/*.svg -o .build/icons/compressed > /dev/null",
"fonticons:compress": "run-s fonticons:compress-mkdir fonticons:compress-run",
"fonticons:generate": "node scripts/font-generator static/generated/fonticons/ -f fonticons",
"fonticons:move-scss": "node scripts/fs/mv static/generated/fonticons/fonticons.scss src/assets/styles/generated/fonticons.scss",
"fonticons": "run-s fonticons:clean fonticons:compress fonticons:generate fonticons:move-scss",
"translations:extract": "TRANSLATIONS=true babel src --extensions '.ts,.tsx' --out-file .build/i18nExtractedMessages/compiled.js",
"translations:runner": "node scripts/translation-runner.js",
"translations": "run-s translations:extract translations:runner",
"generate": "run-p fonticons translations",
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json,md}'",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"type-check": "tsc",
"gatsby-clean": "gatsby clean",
"gatsby-develop": "gatsby develop -H 0.0.0.0",
"gatsby-build": "gatsby build --prefix-paths",
"gatsby-serve": "node scripts/proxied-http-server.js",
"clean:build": "node scripts/fs/rm .build/",
"clean:coverage": "node scripts/fs/rm coverage/",
"clean": "run-p clean:coverage clean:build fonticons:clean gatsby-clean",
"unit-tests": "jest --passWithNoTests",
"check": "run-s type-check lint",
"base": "run-s generate check",
"develop": "run-s base gatsby-develop",
"start": "npm run develop",
"build": "run-s clean base unit-tests gatsby-build",
"serve": "ACTIVE_ENV=development run-s build gatsby-serve",
"gh-deploy": "gh-pages -d public",
"deploy": "PREFIX_PATH=true run-s build gh-deploy",
"upgrade-interactive": "npm-check --update"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,md,html,css,scss}": "prettier --write",
"src/**/*.{js,jsx,ts,tsx}": "eslint --fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"browserslist": [
">1%",
"ie>=11",
"iOS >= 9",
"Android >= 4.4",
"not op_mini all"
],
"gatsby": {
"pathPrefix": "gatsby-typescript-app-starter"
},
"jest-junit": {
"suiteName": "jest tests",
"outputDirectory": "coverage",
"outputName": "junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "{classname}",
"titleTemplate": "{title}",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
}
}