-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpackage.json
128 lines (128 loc) · 3.89 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
{
"name": "react-typescript-webpack2-cssmodules-postcss",
"version": "1.0.0",
"license": "MIT",
"author": {
"name": "Jose Quinto Zamora",
"email": "[email protected]",
"url": "https://blog.josequinto.com"
},
"description": "",
"keywords": [
"react",
"reactjs",
"boilerplate",
"hot",
"reload",
"hmr",
"live",
"typescript",
"tslint",
"cssModules",
"postCSS",
"webpack"
],
"repository": {
"type": "git",
"url": "git://github.com/jquintozamora/react-typescript-webpack2-cssModules-postCSS.git"
},
"engines": {
"npm": "6.14.11",
"node": "14.15.5"
},
"scripts": {
"start": "node --harmony ./scripts/start.js",
"poststart": "npm run dev",
"dev": "webpack-dev-server --mode development --open --config ./webpack/webpack.config.js --env.env=dev",
"build:prod:bundleVisualizer": "npm run build -- --progress --profile --env.addons=bundleVisualizer",
"build:prod:bundleAnalyzer": "npm run build -- --env.addons=bundleAnalizer",
"stats": "npm run build:prod:bundleAnalyzer",
"build:prod:stats": "npm run build -- --progress --profile --json > ./dist/stats/stats.json",
"build": "webpack --mode production --config ./webpack/webpack.config.js --env.env=prod",
"test": "jest --env=jsdom",
"lint": "tslint -c tslint.json 'app/**/*.ts' --exclude 'app/**/*.d.ts'",
"test:coverage": "npm run test && codecov --token=700afad4-77fd-4af9-83b4-dd59f4d87e26",
"debug:prod": "npm run debug -- --env.env=prod",
"debug": "node --inspect-brk ./node_modules/webpack/bin/webpack.js --config ./webpack/webpack.config.js"
},
"dependencies": {
"@types/react": "17.0.2",
"@types/react-dom": "17.0.1",
"moment": "2.29.1",
"react": "17.0.1",
"react-dom": "17.0.1"
},
"devDependencies": {
"@types/enzyme": "3.10.5",
"@types/jest": "25.1.3",
"@types/node": "13.7.7",
"@types/webpack-env": "1.15.0",
"acorn": "7.1.1",
"autoprefixer": "9.7.4",
"codecov": "3.7.1",
"compression-webpack-plugin": "3.1.0",
"copy-webpack-plugin": "5.1.1",
"css-loader": "3.4.2",
"css-modules-typescript-loader": "4.0.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.4",
"fork-ts-checker-webpack-plugin": "4.0.5",
"html-webpack-plugin": "4.0.0-beta.11",
"husky": "4.2.3",
"identity-obj-proxy": "3.0.0",
"jest": "25.1.0",
"lint-staged": "10.0.8",
"mini-css-extract-plugin": "0.9.0",
"postcss-custom-properties": "9.1.1",
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-nesting": "7.0.1",
"react-hot-loader": "4.12.19",
"react-test-renderer": "17.0.2",
"source-map-loader": "0.2.4",
"style-loader": "1.1.3",
"stylelint": "13.2.0",
"ts-jest": "25.2.1",
"ts-loader": "6.2.1",
"tslint": "5.20.1",
"tslint-config-prettier": "1.18.0",
"tslint-react": "4.2.0",
"typescript": "3.8.3",
"uglifyjs-webpack-plugin": "2.2.0",
"webpack": "4.41.5",
"webpack-bundle-analyzer": "3.6.0",
"webpack-cli": "3.3.10",
"webpack-dev-server": "3.10.3",
"webpack-merge": "4.2.2",
"webpack-visualizer-plugin": "0.1.11"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/unit/__mocks__/fileMock.js",
"\\.(css)$": "identity-obj-proxy"
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/test/setup/setupTests.ts"
],
"testURL": "http://localhost",
"testEnvironment": "node",
"coverageDirectory": "./coverage/",
"collectCoverage": true
}
}