forked from crazyfactory/ts-react-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
165 lines (165 loc) · 5.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
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
161
162
163
164
165
{
"name": "ts-react-boilerplate",
"description": "A universal boilerplate for building web applications w/ TypeScript, React, Redux and more.",
"main": "build/server.js",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run lint",
"pre-push": "npm run build && npm run build:prod && npm run test:no-cache"
}
},
"scripts": {
"type-check": "tsc",
"type-check:watch": "npm run type-check -- --watch",
"clean": "rimraf build && rimraf .jest/cache",
"prebuild": "npm run clean -s",
"build": "webpack --config config/webpack/index.js",
"build:prod": "cross-env NODE_ENV=production npm run build && node ./config/utils/replaceWithProdScripts",
"postbuild": "webpack --config config/webpack/server.js",
"prestart": "npm run build -s",
"start": "node build/server.js",
"start:prod": "npm run build:prod && cross-env NODE_ENV=production node build/server.js",
"test": "jest",
"test:no-cache": "jest --no-cache",
"test:watch": "jest --watch",
"lint": "eslint \"src/**/**.ts*\"",
"lint:fix": "npm run lint -s -- --fix",
"doc": "start-storybook -p 6060"
},
"author": "Crazy Factory <[email protected]>",
"homepage": "https://github.com/crazyfactory/ts-react-boilerplate.git",
"repository": {
"type": "git",
"url": "https://github.com/crazyfactory/ts-react-boilerplate.git"
},
"bugs": {
"url": "https://github.com/crazyfactory/ts-react-boilerplate/issues"
},
"keywords": [
"react",
"redux",
"typescript",
"webpack",
"universal",
"isomorphic",
"starter",
"kit",
"boilerplate",
"hot reload",
"react-hot-loader",
"enzyme",
"jest"
],
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@babel/preset-typescript": "^7.9.0",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@crazyfactory/tslint-rules": "^1.9.0",
"@storybook/addon-docs": "^5.3.18",
"@storybook/react": "^5.3.18",
"@types/enzyme": "^3.10.5",
"@types/express": "^4.17.6",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.4",
"@types/prop-types": "^15.7.3",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@types/react-helmet": "^5.0.15",
"@types/react-redux": "^7.1.8",
"@types/serialize-javascript": "^1.5.0",
"@types/storybook__react": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/eslint-plugin-tslint": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"babel-loader": "^8.1.0",
"cross-env": "^7.0.2",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^7.0.0",
"eslint-loader": "^4.0.2",
"file-loader": "^6.0.0",
"husky": "^4.2.5",
"jest": "^25.5.4",
"jest-enzyme": "^7.1.2",
"mini-css-extract-plugin": "^0.9.0",
"null-loader": "^4.0.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"react-docgen-typescript-loader": "^3.7.2",
"react-hot-loader": "^4.12.21",
"rimraf": "^3.0.2",
"style-loader": "^1.2.1",
"terser-webpack-plugin": "^3.0.1",
"ts-jest": "^26.1.0",
"tslint": "^6.1.2",
"tslint-microsoft-contrib": "^6.2.0",
"tslint-react": "^5.0.0",
"typescript": "^3.9.2",
"url-loader": "^4.1.0",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.7.0",
"webpack-cli": "^3.3.11",
"webpack-dev-middleware": "^3.7.2",
"webpack-hot-middleware": "^2.25.0",
"webpack-manifest-plugin": "^2.2.0"
},
"dependencies": {
"@sentry/browser": "^5.15.5",
"autobind-decorator": "^2.4.0",
"chalk": "^4.0.0",
"cross-fetch": "^3.0.4",
"es6-promise": "^4.2.8",
"express": "^4.17.1",
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^6.0.0",
"react-redux": "^7.2.0",
"react-router5": "^8.0.1",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-router5": "^8.0.1",
"redux-saga": "^1.1.3",
"reselect": "^4.0.0",
"router5": "^8.0.1",
"router5-plugin-browser": "^8.0.1",
"serialize-javascript": "^3.0.0",
"serve-favicon": "^2.5.0",
"typesafe-actions": "^5.1.0",
"typestyle": "^2.1.0"
},
"jest": {
"preset": "ts-jest",
"cacheDirectory": "<rootDir>/.jest/cache",
"collectCoverage": true,
"coverageDirectory": "<rootDir>/coverage",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"moduleDirectories": [
"node_modules",
"./"
],
"setupFilesAfterEnv": [
"./src/app/helpers/JestBootstrap.ts"
]
}
}