-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
127 lines (127 loc) · 3.85 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
{
"name": "frontend-blog-dogrod-com",
"version": "0.2.2",
"private": true,
"description": "> My own blog project. > > [> Dokodemo Door](http://blog.dogrod.com)",
"scripts": {
"start": "cross-env NODE_ENV=development node scripts/start-dev.js",
"start:server": "cross-env NODE_ENV=development nodemon server/index.js",
"start:server:prod": "cross-env NODE_ENV=production pm2 start pm2.json",
"build": "cross-env NODE_ENV=production rm -rf dist && ./node_modules/.bin/webpack --config ./config/webpack.config.prod.js",
"analyze": "cross-env ANALYZE=true yarn run build",
"upload-bundle": "node scripts/upload-bundle.js",
"deploy": "cross-env NODE_ENV=production yarn run build && yarn run upload-bundle",
"lint": "tslint -c tslint.json 'client/**/*.ts?(x)'",
"lint-server": "tslint -c tslint.json 'server/**/*.ts'",
"test": "jest"
},
"main": "server/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/dogrod/frontend-blog-dogrod-com.git"
},
"keywords": [
"blog"
],
"author": "dogrod <rodrickjue@hotmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dogrod/frontend-blog-dogrod-com/issues"
},
"homepage": "https://github.com/dogrod/frontend-blog-dogrod-com#readme",
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"globals": {
"ts-jest": {
"tsConfigFile": "client/tsconfig.json",
"useBabelrc": true
},
"__TRANSFORM_HTML__": true
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleNameMapper": {
"@/(.*)": "<rootDir>/client/$1"
}
},
"dependencies": {
"axios": "^0.18.0",
"babel-polyfill": "^6.26.0",
"classnames": "^2.2.6",
"highlightjs": "^9.10.0",
"immutable": "^4.0.0-rc.9",
"ip": "^1.1.5",
"koa": "^2.5.1",
"koa-better-http-proxy": "^0.2.4",
"koa-logger": "^3.2.0",
"marked": "^0.4.0",
"nodemon": "^1.17.4",
"normalize.css": "^8.0.0",
"omit.js": "^1.0.0",
"query-string": "^6.1.0",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"react-loadable": "^5.4.0",
"react-motion": "^0.5.2",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.2",
"ts-node": "^7.0.1",
"upyun": "^3.3.4",
"winston": "^2.4.2"
},
"devDependencies": {
"@types/classnames": "^2.2.6",
"@types/ip": "^0.0.31",
"@types/jest": "^23.3.2",
"@types/koa": "^2.0.45",
"@types/koa-logger": "^3.1.0",
"@types/marked": "^0.4.0",
"@types/query-string": "^6.1.0",
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.5",
"@types/react-loadable": "^5.4.1",
"@types/react-motion": "^0.0.27",
"@types/react-router-dom": "^4.2.6",
"@types/winston": "^2.3.9",
"autoprefixer": "^8.6.2",
"awesome-typescript-loader": "^5.2.0",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"connect-history-api-fallback": "^1.5.0",
"cross-env": "^5.2.0",
"css-loader": "^0.28.11",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.6.0",
"koa-connect": "^2.0.1",
"mini-css-extract-plugin": "^0.4.0",
"node-sass-chokidar": "^1.3.0",
"postcss-loader": "^2.1.5",
"react-dev-utils": "^5.0.1",
"sass-loader": "^7.0.3",
"source-map-loader": "^0.2.3",
"style-loader": "^0.21.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-react": "^3.6.0",
"typescript": "^3.0.1",
"uglifyjs-webpack-plugin": "^1.2.5",
"url-loader": "^1.0.1",
"webpack": "^4.8.2",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^2.1.3",
"webpack-serve": "^0.3.2"
}
}